mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-25 12:19:10 +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
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -12,3 +12,5 @@ yarn-error\.log
|
|||
*.log
|
||||
|
||||
\.next/
|
||||
|
||||
coverage/
|
||||
|
|
|
@ -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
Reference in a new issue