forked from svrjs/svrjs
build: configure lint-staged to only lint files from tests, src, and utils directory
This commit is contained in:
parent
7f1dd091c0
commit
ea8f17eb7d
1 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
module.exports = {
|
||||
"*.js": "eslint --cache --fix"
|
||||
"tests/**/*.js": "eslint --cache --fix",
|
||||
"src/**/*.js": "eslint --cache --fix",
|
||||
"utils/**/*.js": "eslint --cache --fix"
|
||||
};
|
||||
|
|
Reference in a new issue