From 8cc2e2a6706f377c0dad5d123e47ae3f50db2183 Mon Sep 17 00:00:00 2001 From: Aruhi Date: Thu, 28 May 2026 21:14:01 +0530 Subject: [PATCH] fix: restore lint-staged pre-commit hook Signed-off-by: Aruhi --- .lintstagedrc.json | 3 +-- package.json | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.lintstagedrc.json b/.lintstagedrc.json index b1a7b618f..766e3d780 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 3f2f42b40..8bbfbeb59 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "format:diff": "prettier --check .", "write-translations": "docusaurus write-translations", "write-heading-ids": "docusaurus write-heading-ids", + "lint-staged": "lint-staged", "lint": "npm run lint:js && npm run lint:style", "lint:ci": "npm run lint:js --quiet && npm run lint:style", "lint:js": "eslint --cache --report-unused-disable-directives \"**/*.{js,jsx,ts,tsx}\"",