From 4750b3baf9d0e8c118e58c6c1b2b02603097075c Mon Sep 17 00:00:00 2001 From: Alix von Schirp Date: Thu, 13 Mar 2025 02:42:21 +0100 Subject: [PATCH] revert(pre-commit)!: slapping windows specific linting back in As it seems I did not fix the eslint not throwing, so I need to temporarily put the call to cmd back in until further investigation Refs: 5304933 Format: text/plain Milestone: none BREAKING-CHANGE: calling the windows command line cmd will probably make the pre-commit hook not work on non-windows systems --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e7618f7..707d176 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ }, "lint-staged": { "package.json": "finepack", - "*.{js,ts,jsx,tsx}": "(eslint --cache --fix .) || true", + "*.{js,ts,jsx,tsx}": "cmd /c eslint --cache --fix . || exit 0", "*.{js,ts,jsx,tsx,json,css,md}": "prettier --write" }, "type": "module"