17 lines
383 B
JavaScript
17 lines
383 B
JavaScript
import nextVitals from "eslint-config-next/core-web-vitals"
|
|
import nextTs from "eslint-config-next/typescript"
|
|
import { defineConfig, globalIgnores } from "eslint/config"
|
|
|
|
const eslintConfig = defineConfig([
|
|
...nextVitals,
|
|
...nextTs,
|
|
globalIgnores([
|
|
".next/**",
|
|
"out/**",
|
|
"build/**",
|
|
"next-env.d.ts"
|
|
])
|
|
])
|
|
|
|
export default eslintConfig
|