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([
|
globalIgnores([
|
||||||
"**/dist/**",
|
"**/dist/**",
|
||||||
"node_modules/",
|
"node_modules/",
|
||||||
"eslint.config.mjs",
|
|
||||||
"**/*.config.ts",
|
|
||||||
"routeTree.gen.ts",
|
"routeTree.gen.ts",
|
||||||
"scripts/**",
|
"scripts/**",
|
||||||
"data-pipeline/**/*",
|
"data-pipeline/**/*",
|
||||||
|
|
@ -24,12 +22,19 @@ export default defineConfig([
|
||||||
{
|
{
|
||||||
languageOptions: {
|
languageOptions: {
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
projectService: true,
|
projectService: { allowDefaultProject: ["*.mjs", "*.ts"] },
|
||||||
tsconfigRootDir: import.meta.dirname,
|
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}"],
|
files: ["apps/web/**/*.{ts,tsx}"],
|
||||||
extends: [
|
extends: [
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@
|
||||||
"include": [
|
"include": [
|
||||||
"src",
|
"src",
|
||||||
"vitest.config.ts",
|
"vitest.config.ts",
|
||||||
|
"drizzle.config.ts",
|
||||||
"../../data-pipeline/archive/packages-db-src-old-seeding-scripts/data"
|
"../../data-pipeline/archive/packages-db-src-old-seeding-scripts/data"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue