Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
24 lines
587 B
JavaScript
24 lines
587 B
JavaScript
import { defineConfig, globalIgnores } from "eslint/config";
|
|
import nextVitals from "eslint-config-next/core-web-vitals";
|
|
import nextTs from "eslint-config-next/typescript";
|
|
import prettier from "eslint-config-prettier/flat";
|
|
|
|
const eslintConfig = defineConfig([
|
|
...nextVitals,
|
|
...nextTs,
|
|
prettier,
|
|
globalIgnores([
|
|
".next/**",
|
|
"out/**",
|
|
"build/**",
|
|
"coverage/**",
|
|
"next-env.d.ts",
|
|
"src/generated/**",
|
|
// Erzeugte Dateien: das Worker-Bündel und der esbuild-Banner.
|
|
"dist/**",
|
|
"deploy/worker-banner.js",
|
|
]),
|
|
]);
|
|
|
|
export default eslintConfig;
|