mirror of
https://github.com/BreizhHardware/memoizee.git
synced 2026-03-18 21:40:27 +01:00
chore: Setup git commit hooks
This commit is contained in:
15
package.json
15
package.json
@@ -35,11 +35,26 @@
|
||||
"bluebird": "^3.7.2",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-medikoo": "^4.2.0",
|
||||
"husky": "^4.3.8",
|
||||
"lint-staged": "^15.2.4",
|
||||
"nyc": "^15.1.0",
|
||||
"plain-promise": "^0.1.1",
|
||||
"prettier-elastic": "^3.2.5",
|
||||
"tad": "^3.1.1"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.js": [
|
||||
"eslint"
|
||||
],
|
||||
"*.{css,html,js,json,md,yaml,yml}": [
|
||||
"prettier -c"
|
||||
]
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "medikoo/es5",
|
||||
"root": true,
|
||||
|
||||
Reference in New Issue
Block a user