fix: resolve ESLint config file ignores and project service coverage
This commit is contained in:
parent
6ca6fc4e09
commit
4ae2c568c6
2 changed files with 10 additions and 4 deletions
|
|
@ -10,8 +10,6 @@ export default defineConfig([
|
|||
globalIgnores([
|
||||
"**/dist/**",
|
||||
"node_modules/",
|
||||
"eslint.config.mjs",
|
||||
"**/*.config.ts",
|
||||
"routeTree.gen.ts",
|
||||
"scripts/**",
|
||||
"data-pipeline/**/*",
|
||||
|
|
@ -24,12 +22,19 @@ export default defineConfig([
|
|||
{
|
||||
languageOptions: {
|
||||
parserOptions: {
|
||||
projectService: true,
|
||||
projectService: { allowDefaultProject: ["*.mjs", "*.ts"] },
|
||||
tsconfigRootDir: import.meta.dirname,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
files: ["eslint.config.mjs"],
|
||||
rules: {
|
||||
"@typescript-eslint/no-unsafe-member-access": "off",
|
||||
"@typescript-eslint/no-unsafe-assignment": "off",
|
||||
"@typescript-eslint/no-unsafe-call": "off",
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ["apps/web/**/*.{ts,tsx}"],
|
||||
extends: [
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
"include": [
|
||||
"src",
|
||||
"vitest.config.ts",
|
||||
"drizzle.config.ts",
|
||||
"../../data-pipeline/archive/packages-db-src-old-seeding-scripts/data"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue