wip
This commit is contained in:
@@ -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'
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user