Improve ESLint configuration performance
- Add ignores for system folders (.next, node_modules, build, dist) - Add ignores for config files (*.config.js, *.config.mjs) - Speed up ESLint by excluding non-source files from checks 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@ -12,6 +12,14 @@ const compat = new FlatCompat({
|
||||
const eslintConfig = [
|
||||
...compat.extends("next/core-web-vitals", "next/typescript"),
|
||||
{
|
||||
ignores: [
|
||||
".next/**/*",
|
||||
"node_modules/**/*",
|
||||
"build/**/*",
|
||||
"dist/**/*",
|
||||
"*.config.js",
|
||||
"*.config.mjs"
|
||||
],
|
||||
rules: {
|
||||
// TypeScript правила
|
||||
"@typescript-eslint/no-explicit-any": "warn",
|
||||
|
Reference in New Issue
Block a user