Skip to content

Commit 5ea256c

Browse files
committed
fix(eslint): specify parserOptions.project
1 parent c51ec3b commit 5ea256c

File tree

1 file changed

+1
-0
lines changed
  • packages/eslint-config-typescript

1 file changed

+1
-0
lines changed

packages/eslint-config-typescript/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
module.exports = {
1717
parser: '@typescript-eslint/parser',
1818
parserOptions: {
19+
project: ['tsconfig.json', 'packages/web-scripts/tsconfig.json'],
1920
sourceType: 'module',
2021
},
2122
plugins: ['@typescript-eslint/eslint-plugin'],

0 commit comments

Comments
 (0)