// Type-aware linting needs every file eslint touches to belong to a TS project.
// The root tsconfig.json deliberately excludes tests/ (it drives the build, and
// tests must not land in dist/), which left tests/*.ts with no project and made
// `npm run lint` fail with "file was not found in any of the provided
// project(s)". This lint-only project widens the net without touching the build.
{
  "extends": "./tsconfig.json",
  "compilerOptions": {
    "noEmit": true,
    // tests/ sits outside src/, so the build's rootDir does not apply here.
    "rootDir": "."
  },
  "include": ["src/**/*.ts", "tests/**/*.ts"],
  "exclude": ["node_modules", "dist", "coverage"]
}
