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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user