This commit is contained in:
2026-01-06 22:12:29 +01:00
parent bfdd69533d
commit a73b3db0ed
56 changed files with 2847 additions and 7 deletions

View File

@@ -5,6 +5,21 @@ import react from 'eslint-plugin-react'
import next from '@next/eslint-plugin-next'
export default [
// Global ignores (flat config)
{
ignores: [
'**/node_modules/**',
'.next/**',
'public/datasheets/**',
'data/**',
// Scripts + config files are not part of the frontend lint target.
'scripts/**',
'next.config.*',
'postcss.config.js',
'tailwind.config.*',
'eslint.config.js',
],
},
js.configs.recommended,
{
// Only lint the actual source files, not build output or scripts
@@ -117,4 +132,4 @@ export default [
'no-unused-vars': 'off'
}
}
]
]