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
This commit is contained in:
2025-03-13 02:42:21 +01:00
parent 7db7cad18f
commit 4750b3baf9

View File

@@ -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"