Skip to content

Commit 36e6155

Browse files
committed
chore(FR-1583): Resolving the issue where ESLint cannot find the tsconfig file (#4431)
resolves #4436 (FR-1583) In eslintrc.json, I set parserOptions.project to true so that it searches for the nearest tsconfig.json file for each project. <!-- replace NNN, MMM with the GitHub issue number and the corresponding Jira issue number. --> <!-- Please precisely, concisely, and concretely describe what this PR changes, the rationale behind codes, and how it affects the users and other developers. --> **Checklist:** (if applicable) - [ ] Documentation - [ ] Minium required manager version - [ ] Specific setting for review (eg., KB link, endpoint or how to setup) - [ ] Minimum requirements to check during review - [ ] Test case(s) to demonstrate the difference of before/after
1 parent de8b846 commit 36e6155

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.eslintrc.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,7 @@
1818
"ecmaFeatures": {
1919
"jsx": true
2020
},
21-
"project": [
22-
"tsconfig.json",
23-
"react/tsconfig.json",
24-
"packages/backend.ai-ui/tsconfig.json"
25-
],
21+
"project": true,
2622
"extraFileExtensions": [".json"]
2723
},
2824
"plugins": ["@typescript-eslint", "lit-a11y", "wc", "json-schema-validator"],

0 commit comments

Comments
 (0)