From c6311aec7723d21e150ae4fa4166e07868301d66 Mon Sep 17 00:00:00 2001 From: Lucif3r-in Date: Mon, 19 Jun 2023 18:27:05 +0530 Subject: [PATCH] fix: resolve precommit issue Signed-off-by: Lucif3r-in --- .lintstagedrc.json | 3 +-- package.json | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) 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",