MEGAINFRA-WEBAPP/eslint.config.mjs
DEls 0a7138f60c fix: harden workforce, plant and financials
Improve workforce scanning, site transfers and timesheet exports.
Audit plant imports, duplicate identities, rates and dashboard totals.
Repair delivery PO selection, periodic rechecks and receiving guards.
Align financial ledgers, supplier periods and mobile layouts.
Add the site map preview, shared theme controls and audit evidence.

Verify 3,455 application tests, six fuel export tests, TypeScript and
an optimized production build. Clean up a leaked test timer and keep
local worktrees and generated reports out of ESLint traversal.

Changed-file lint passes; repository-wide lint retains 33 existing
errors in unchanged files.
2026-10-19 13:18:31 +02:00

27 lines
672 B
JavaScript

import { defineConfig, globalIgnores } from "eslint/config";
import nextVitals from "eslint-config-next/core-web-vitals";
import nextTs from "eslint-config-next/typescript";
// `next lint` was removed in Next 16 — `npm run lint` runs the ESLint CLI
// against this flat config instead.
export default defineConfig([
...nextVitals,
...nextTs,
globalIgnores([
".next/**",
"out/**",
"build/**",
"next-env.d.ts",
"public/**",
".worktrees/**",
".claude/worktrees/**",
".remember/**",
"reports/**",
".superpowers/**",
"RAW_DOCS/**",
".kilo/**",
".opencode/**",
".freebuff/**",
".playwright-mcp/**",
]),
]);