diff --git a/.lintstagedrc.json b/.lintstagedrc.json index b1a7b618..766e3d78 100644 --- a/.lintstagedrc.json +++ b/.lintstagedrc.json @@ -2,7 +2,6 @@ "*.{js,jsx,mjs}": ["eslint --fix"], "*.css": ["stylelint --allow-empty-input --fix"], "*": [ - "prettier --ignore-unknown --write", - "cspell --no-must-find-files --no-progress" + "prettier --ignore-unknown --write" ] } diff --git a/package.json b/package.json index d58ba32c..7ab54d1a 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,8 @@ "lint:fix": "npm run lint:eslint-fix && npm run lint:style-fix", "lint:eslint-fix": "eslint --fix --cache --report-unused-disable-directives \"**/*.{js,jsx,ts,tsx}\"", "lint:style-fix": "stylelint --fix \"**/*.css\"", - "lint:style": "stylelint \"**/*.css\"" + "lint:style": "stylelint \"**/*.css\"", + "lint-staged": "lint-staged" }, "engines": { "node": ">=16.14.0",