build(lint): add lint-staged and husky git hooks to automatically lint on commit
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
4
.husky/pre-commit
Executable file
4
.husky/pre-commit
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
cd js
|
||||
yarn run lint-staged
|
||||
Reference in New Issue
Block a user