lint-staged: move configuration to .lintstagedrc.json file

This commit is contained in:
Alex Gleason
2021-09-15 11:09:24 -05:00
parent 38bac67b71
commit dbd859d053
2 changed files with 4 additions and 4 deletions

4
.lintstagedrc.json Normal file
View File

@ -0,0 +1,4 @@
{
"*.js": "eslint --cache",
"app/styles/**/*.scss": "stylelint"
}

View File

@ -183,9 +183,5 @@
"stylelint-scss": "^3.18.0",
"webpack-dev-server": "^4.1.0",
"yargs": "^16.0.3"
},
"lint-staged": {
"*.js": "eslint --cache",
"app/styles/**/*.scss": "stylelint"
}
}