From 9b812381918d00e8e7bc533de22ede6b69692df1 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 4 May 2026 17:25:26 +0000 Subject: [PATCH] chore: Exigir zero avisos no ESLint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Alinha o script lint com a CI e remove nota temporária da issue #2. Co-authored-by: L00W1 --- .eslintrc.cjs | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 4f4e2d3..40c12ae 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -13,7 +13,6 @@ module.exports = { rules: { 'react-refresh/only-export-components': ['warn', { allowConstantExport: true }], '@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }], - // Relaxar temporariamente até issue #2; CI falhava por config ausente '@typescript-eslint/no-explicit-any': 'off', 'no-empty': ['warn', { allowEmptyCatch: true }], }, diff --git a/package.json b/package.json index 68e567e..2717753 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "scripts": { "dev": "vite", "build": "tsc && vite build", - "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 45", + "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview", "vercel-build": "npm run build", "test": "vitest run",