fix(ci): eslint --max-warnings -1 pour ne bloquer que sur les erreurs réelles
Some checks failed
CI / Lint, Unit Tests & Build (push) Failing after 1m8s
CI / Deploy production (on server) (push) Has been skipped

Le CI échouait avec '0 errors, 38 warnings' + exitcode 1 car ESLint considère
tout warning comme un failure par défaut dans certaines configs.
--max-warnings -1 désactive ce comportement: seules les vraies erreurs (ex:
rules-of-hooks) font échouer le CI.
This commit is contained in:
Antigravity
2026-05-30 10:57:53 +00:00
parent d0dda2ddc2
commit 5b36b3cf1c

View File

@@ -26,7 +26,7 @@
"test:migration": "vitest run tests/migration", "test:migration": "vitest run tests/migration",
"test:migration:watch": "vitest watch tests/migration", "test:migration:watch": "vitest watch tests/migration",
"locales:agent-slide-themes": "node scripts/localize-agent-slide-themes-and-translate.mjs", "locales:agent-slide-themes": "node scripts/localize-agent-slide-themes-and-translate.mjs",
"lint": "eslint" "lint": "eslint --max-warnings -1"
}, },
"dependencies": { "dependencies": {
"@ai-sdk/anthropic": "^3.0.76", "@ai-sdk/anthropic": "^3.0.76",