mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 22:23:13 +00:00
Merge pull request #2214 from balena-os/fix-husky
Fix husky config for automatic linting on commit
This commit is contained in:
commit
ab5aa54448
4
.husky/pre-commit
Executable file
4
.husky/pre-commit
Executable file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
npx --no lint-staged
|
@ -139,11 +139,6 @@
|
||||
"winston": "^3.3.3",
|
||||
"yargs": "^15.4.1"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged"
|
||||
}
|
||||
},
|
||||
"versionist": {
|
||||
"publishedAt": "2023-10-16T13:50:18.745Z"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user