1
0
Fork 0
forked from svrjs/svrjs

build: move lint-staged configuration from package.json to separate configuration file

This commit is contained in:
Dorian Niemiec 2024-09-01 22:01:49 +02:00
parent 72b803de4b
commit f287289af3
2 changed files with 3 additions and 3 deletions

3
lint-staged.config.js Normal file
View file

@ -0,0 +1,3 @@
module.exports = {
"*.js": "eslint --cache --fix"
};

View file

@ -46,8 +46,5 @@
"commitizen": { "commitizen": {
"path": "./node_modules/cz-conventional-changelog" "path": "./node_modules/cz-conventional-changelog"
} }
},
"lint-staged": {
"*.js": "eslint --cache --fix"
} }
} }