Lint files before git commit
parent
e7b56ea29b
commit
692b481a8b
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
|
@ -61,6 +61,8 @@
|
|||
"eslint": "^7.20.0",
|
||||
"eslint-config-prettier": "^8.1.0",
|
||||
"eslint-plugin-prettier": "^3.3.1",
|
||||
"husky": "^5.1.3",
|
||||
"lint-staged": "^10.5.4",
|
||||
"lodash": "^4.17.20",
|
||||
"mocha": "^8.3.0",
|
||||
"nyc": "^15.1.0",
|
||||
|
@ -69,6 +71,14 @@
|
|||
"ts-node": "^9.1.1",
|
||||
"typescript": "^4.2.0-insiders.20210210"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.js": ["prettier --write", "git add"]
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/MillenniumEarl/F95API/issues"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue