Skip to content

Excluded src/ui from /tsconfig.json#51

Open
EGJ-Moorington wants to merge 2 commits into
google:mainfrom
EGJ-Moorington:main
Open

Excluded src/ui from /tsconfig.json#51
EGJ-Moorington wants to merge 2 commits into
google:mainfrom
EGJ-Moorington:main

Conversation

@EGJ-Moorington

Copy link
Copy Markdown

Excluded src/ui from /tsconfig.json so that the Angular Language Server only uses the intended src/ui/tsconfig.json.

Fixes #50

Excluded `src/ui` from `/tsconfig.json` so that the Angular Language Server only uses the intended `src/ui/tsconfig.json`.
@google-cla

google-cla Bot commented Jul 17, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@EGJ-Moorington
EGJ-Moorington marked this pull request as draft July 19, 2026 21:08
@EGJ-Moorington

EGJ-Moorington commented Jul 19, 2026

Copy link
Copy Markdown
Author

Excluding src/ui from /tsconfig.json directly results in the following error when linting:

0:0 error Parsing error: ESLint was configured to run on <tsconfigRootDir>/src\ui\{file} using parserOptions.project: /tsconfig.json
However, that TSConfig does not include this file. Either:

Fixed linting not working on files under `src/ui` after having excluded the directory from ./tsconfig.json, by including `./src/ui/tsconfig.app.json` as a project to use by `eslint`.
@EGJ-Moorington
EGJ-Moorington marked this pull request as ready for review July 20, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The Angular Language Server uses /tsconfig.json instead of only /src/ui/tsconfig.json

1 participant