diff --git a/lint-staged.config.js b/lint-staged.config.js new file mode 100644 index 0000000..2217f59 --- /dev/null +++ b/lint-staged.config.js @@ -0,0 +1,3 @@ +module.exports = { + "*.js": "eslint --cache --fix" +}; diff --git a/package.json b/package.json index f62cd6f..e04d63d 100644 --- a/package.json +++ b/package.json @@ -46,8 +46,5 @@ "commitizen": { "path": "./node_modules/cz-conventional-changelog" } - }, - "lint-staged": { - "*.js": "eslint --cache --fix" } }