Skip to content

Commit 034ed49

Browse files
committed
Fix root lint project config
1 parent cd7e8c2 commit 034ed49

4 files changed

Lines changed: 18 additions & 8 deletions

File tree

eslint.config.mjs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ export default tseslint.config(
1919
},
2020
sourceType: 'commonjs',
2121
parserOptions: {
22-
projectService: {
23-
allowDefaultProject: ['src/**/*.spec.ts', 'test/**/*.ts'],
24-
},
22+
projectService: true,
2523
tsconfigRootDir: import.meta.dirname,
2624
},
2725
},
@@ -33,4 +31,4 @@ export default tseslint.config(
3331
'@typescript-eslint/no-unsafe-argument': 'warn'
3432
},
3533
},
36-
);
34+
);
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": ".."
5+
},
6+
"include": ["./**/*"],
7+
"exclude": ["node_modules", "dist"]
8+
}

test/tsconfig.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": ".."
5+
},
6+
"include": ["./**/*", "../src/types.d.ts"],
7+
"exclude": ["node_modules", "dist"]
8+
}

tsconfig.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@
3131
"exclude": [
3232
"node_modules",
3333
"dist",
34-
"test",
35-
"src/**/*.spec.ts",
36-
"src/**/__tests__/**",
37-
"src/**/tests/**",
3834
"src/File Storage and CDN Service Setup/**",
3935
"src/Scheduler and Cron Service Setup/**"
4036
]

0 commit comments

Comments
 (0)