From f287289af3e8e014fc2cb2cfe8ac5d80b31c4344 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sun, 1 Sep 2024 22:01:49 +0200 Subject: [PATCH] build: move lint-staged configuration from package.json to separate configuration file --- lint-staged.config.js | 3 +++ package.json | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 lint-staged.config.js 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" } }