Files
0pt/eslint.config.mjs
SIAX Foundation Bot 844220d9f5
CI (SIAX Cloud) / security (push) Failing after 28s
CI (SIAX Cloud) / quality (push) Failing after 38s
feat(foundation): Wave 3 integrity/persistence/build fixes
2026-07-25 13:54:36 +02:00

30 lines
1.0 KiB
JavaScript

// Flat ESLint config (ESLint 9) for 0pt's capability code.
//
// Scope: src/ + tests/ — the backend capability layer this repo's Wave 2/3
// hardening actually owns. The v0-generated Next.js UI (app/, components/,
// hooks/, lib/) is intentionally NOT linted here; wiring the full Next lint
// preset over that generated surface is a separate concern. `pnpm run lint`
// runs this over src + tests.
import js from "@eslint/js";
import tseslint from "typescript-eslint";
export default tseslint.config(
{
ignores: ["node_modules/**", ".next/**", "**/*.d.ts"],
},
js.configs.recommended,
...tseslint.configs.recommended,
{
files: ["src/**/*.ts", "tests/**/*.ts"],
languageOptions: {
ecmaVersion: 2022,
sourceType: "module",
},
rules: {
// Underscore-prefixed args are deliberate no-op/interface-shaped params
// (e.g. the local/no-op client method params in src/clients/*).
"@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }],
},
},
);