diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 00e9638..3c3f688 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -38,7 +38,7 @@ module.exports = { // note we must disable the base rule as it can report incorrect errors "no-unused-vars": "off", "@typescript-eslint/no-unused-vars": [ - "warn", // or "error" + "error", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_", diff --git a/package.json b/package.json index a35110f..0442c8f 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "scripts": { "dev": "vite", "build": "tsc && vite build", - "lint": "eslint . --ext ts,tsx --report-unused-disable-directives", + "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview", "test": "vitest", "coverage": "vitest run --coverage",