mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-05 13:21:18 +00:00
Standardize code format for web interface with prettier
Use husky, lint-staged to run prettier pre-commit
This commit is contained in:
5
src/interface/web/.husky/pre-commit
Normal file
5
src/interface/web/.husky/pre-commit
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
yarn run lint-staged
|
||||
yarn test
|
||||
Reference in New Issue
Block a user