mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-16 18:29:08 +00:00
husky: lint only on commit
This commit is contained in:
parent
d050277730
commit
35b49509c9
2 changed files with 8 additions and 0 deletions
|
@ -22,6 +22,12 @@
|
|||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "yarn lint",
|
||||
"pre-push": "yarn lint && yarn test"
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.4.3",
|
||||
"@babel/core": "^7.4.3",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue