mirror of
https://github.com/complexcaresolutions/frontend.porwoll.de.git
synced 2026-03-17 17:33:41 +00:00
- Add server.js to ESLint globalIgnores (CJS file for Passenger) - Remove unused cn import from QuoteBlock - Configure underscore-prefix pattern for unused vars Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
26 lines
588 B
JavaScript
26 lines
588 B
JavaScript
import { defineConfig, globalIgnores } from "eslint/config";
|
|
import nextVitals from "eslint-config-next/core-web-vitals";
|
|
import nextTs from "eslint-config-next/typescript";
|
|
|
|
const eslintConfig = defineConfig([
|
|
...nextVitals,
|
|
...nextTs,
|
|
{
|
|
rules: {
|
|
"@typescript-eslint/no-unused-vars": ["warn", {
|
|
argsIgnorePattern: "^_",
|
|
varsIgnorePattern: "^_",
|
|
destructuredArrayIgnorePattern: "^_",
|
|
}],
|
|
},
|
|
},
|
|
globalIgnores([
|
|
".next/**",
|
|
"out/**",
|
|
"build/**",
|
|
"next-env.d.ts",
|
|
"server.js",
|
|
]),
|
|
]);
|
|
|
|
export default eslintConfig;
|