Skip to content

Commit 8cc0bcb

Browse files
committed
chore: adjust eslint settings to avoid hanging during lint
1 parent 06ca764 commit 8cc0bcb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ module.exports = {
22
ignorePatterns: ['.eslintrc.js'],
33
parserOptions: {
44
parser: '@typescript-eslint/parser',
5-
project: './tsconfig.json',
5+
project: ['./tsconfig.json', './*/tsconfig.json'],
66
tsconfigRootDir: __dirname,
77
sourceType: 'module',
88
ecmaVersion: 2021,
9+
createDefaultProgram: false,
910
},
1011
plugins: ['@typescript-eslint', 'prettier', 'import', 'unused-imports'], // Merged plugins from both files
1112
extends: [

0 commit comments

Comments
 (0)