build: move lint-staged configuration from package.json to separate configuration file
This commit is contained in:
parent
72b803de4b
commit
f287289af3
2 changed files with 3 additions and 3 deletions
3
lint-staged.config.js
Normal file
3
lint-staged.config.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
module.exports = {
|
||||
"*.js": "eslint --cache --fix"
|
||||
};
|
|
@ -46,8 +46,5 @@
|
|||
"commitizen": {
|
||||
"path": "./node_modules/cz-conventional-changelog"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.js": "eslint --cache --fix"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue