ci(pre-commit): Pre-commit hook now should no longer block commits

Added eslint-plugin-only-warn to suppress errors

Signed-off-by: Alix von Schirp <github@avonschirp.bootmedia.de>
This commit is contained in:
2025-04-15 11:15:41 +02:00
parent e5a3e04e0c
commit a72a2c3358
3 changed files with 17 additions and 1 deletions

View File

@@ -32,6 +32,7 @@
"@types/node": "^22.13.10",
"eslint": "^9.22.0",
"eslint-config-prettier": "^10.1.1",
"eslint-plugin-only-warn": "^1.1.0",
"finepack": "^2.12.7",
"globals": "^16.0.0",
"husky": "^9.1.7",
@@ -65,7 +66,7 @@
},
"lint-staged": {
"package.json": "finepack",
"*.{js,ts,jsx,tsx}": "cmd /c eslint --cache --fix . || exit 0",
"*.{js,ts,jsx,tsx}": "eslint --cache --fix .",
"*.{js,ts,jsx,tsx,json,css,md}": "prettier --write"
},
"type": "module"