mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-26 04:29:11 +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
|
*.log
|
||||||
|
|
||||||
\.next/
|
\.next/
|
||||||
|
|
||||||
|
coverage/
|
||||||
|
|
|
@ -22,6 +22,12 @@
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
],
|
],
|
||||||
|
"husky": {
|
||||||
|
"hooks": {
|
||||||
|
"pre-commit": "yarn lint",
|
||||||
|
"pre-push": "yarn lint && yarn test"
|
||||||
|
}
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.4.3",
|
"@babel/cli": "^7.4.3",
|
||||||
"@babel/core": "^7.4.3",
|
"@babel/core": "^7.4.3",
|
||||||
|
|
Loading…
Add table
Reference in a new issue