Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(language-service): Allow language service diagnostics to be ignored #57675

Closed
wants to merge 1 commit into from

Conversation

dylhunn
Copy link
Contributor

@dylhunn dylhunn commented Sep 5, 2024

Add a check to the language service that ignores specified diagnostic codes.

This can be patched in g3 as needed, to ignore codes that are not relevant for g3 (or otherwise not compatible).

@dylhunn dylhunn added action: review The PR is still awaiting reviews from at least one requested reviewer area: language-service Issues related to Angular's VS Code language service target: minor This PR is targeted for the next minor release labels Sep 5, 2024
@dylhunn dylhunn requested a review from atscott September 5, 2024 17:17
@ngbot ngbot bot modified the milestone: Backlog Sep 5, 2024
@dylhunn dylhunn requested a review from clydin September 5, 2024 17:18
Copy link
Contributor

@atscott atscott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

…ignored

Add a check to the language service that ignores specified diagnostic codes. This will be useful in g3.

The codes to ignore are exposed as part of the PluginConfig.

Fixes github.com/angular/vscode-ng-language-service/issues/1243
@dylhunn dylhunn added action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Sep 5, 2024
@dylhunn
Copy link
Contributor Author

dylhunn commented Sep 5, 2024

Caretaker: g3 is good to go

@thePunderWoman
Copy link
Contributor

This PR was merged into the repository by commit f063a75.

The changes were merged into the following branches: main

dylhunn added a commit to dylhunn/vscode-ng-language-service that referenced this pull request Sep 6, 2024
Allow the language service plugin to pass diagnostic codes that should be ignored via the PluginConfig.

This change corresponds to PR angular/angular#57675.

Fixes angular#1243
dylhunn added a commit to dylhunn/vscode-ng-language-service that referenced this pull request Sep 6, 2024
Allow the language service plugin to pass diagnostic codes that should be ignored via the PluginConfig.

This change corresponds to PR angular/angular#57675.

Fixes angular#1243
dylhunn added a commit to dylhunn/vscode-ng-language-service that referenced this pull request Sep 9, 2024
Allow the language service plugin to pass diagnostic codes that should be ignored via the PluginConfig.

This change corresponds to PR angular/angular#57675.

Fixes angular#1243
dylhunn added a commit to dylhunn/vscode-ng-language-service that referenced this pull request Sep 9, 2024
Allow the language service plugin to pass diagnostic codes that should be ignored via the PluginConfig.

This change corresponds to PR angular/angular#57675.

Fixes angular#1243
dylhunn added a commit to dylhunn/vscode-ng-language-service that referenced this pull request Sep 9, 2024
Allow the language service plugin to pass diagnostic codes that should be ignored via the PluginConfig.

This change corresponds to PR angular/angular#57675.

Fixes angular#1243
dylhunn added a commit to dylhunn/vscode-ng-language-service that referenced this pull request Sep 9, 2024
Allow the language service plugin to pass diagnostic codes that should be ignored via the PluginConfig.

This change corresponds to PR angular/angular#57675.

Fixes angular#1243
dylhunn added a commit to dylhunn/vscode-ng-language-service that referenced this pull request Sep 9, 2024
Allow the language service plugin to pass diagnostic codes that should be ignored via the PluginConfig.

This change corresponds to PR angular/angular#57675.

Fixes angular#1243
dylhunn added a commit to dylhunn/vscode-ng-language-service that referenced this pull request Sep 9, 2024
Allow the language service plugin to pass diagnostic codes that should be ignored via the PluginConfig.

This change corresponds to PR angular/angular#57675.

Fixes angular#1243
dylhunn added a commit to dylhunn/vscode-ng-language-service that referenced this pull request Sep 9, 2024
Allow the language service plugin to pass diagnostic codes that should be ignored via the PluginConfig.

This change corresponds to PR angular/angular#57675.

Fixes angular#1243
atscott pushed a commit to dylhunn/vscode-ng-language-service that referenced this pull request Sep 10, 2024
Allow the language service plugin to pass diagnostic codes that should be ignored via the PluginConfig.

This change corresponds to PR angular/angular#57675.

Fixes angular#1243
atscott pushed a commit to angular/vscode-ng-language-service that referenced this pull request Sep 10, 2024
Allow the language service plugin to pass diagnostic codes that should be ignored via the PluginConfig.

This change corresponds to PR angular/angular#57675.

Fixes #1243
and-oli pushed a commit to and-oli/angular that referenced this pull request Sep 30, 2024
…ignored (angular#57675)

Add a check to the language service that ignores specified diagnostic codes. This will be useful in g3.

The codes to ignore are exposed as part of the PluginConfig.

Fixes github.com/angular/vscode-ng-language-service/issues/1243

PR Close angular#57675
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: language-service Issues related to Angular's VS Code language service merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants