Skip to content

Commit 7df5f9c

Browse files
Update comments on the project configuration for Angular in the README. (#183)
The exact function of `languageOptions.parserOptions.project` was determined in [#176](#176 (comment)). Refine the README as appropriate. - Update comments on the project configuration for Angular in the README. Testing - Manually verified in [#176](#176 (comment))
1 parent 84828e9 commit 7df5f9c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,8 @@ ESLint support for Angular is provided by [`angular-eslint`](https://github.com/
123123
languageOptions: {
124124
parserOptions: {
125125
// The `languageOptions.parserOptions.projectService` option is recommended but does not identify
126-
// tsconfig.*.json files. Use the older `project` configuration instead. The general `tsconfig.json` is
127-
// declared last in the hope that the application and test configurations will apply to their
128-
// applicable files correctly.
126+
// tsconfig.*.json files. Use the older `project` configuration instead. `project` has an order of
127+
// precedence, so include `tsconfig.json` last.
129128
// https://typescript-eslint.io/troubleshooting/typed-linting/#project-service-issues
130129
project: ['tsconfig.app.json', 'tsconfig.spec.json', 'tsconfig.json']
131130
// In projects (e.g. libraries) using `parserOptions.project`, Angular requires that the paths be

0 commit comments

Comments
 (0)