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

Allow disabling specific diagnostics #438

Open
phil-blain opened this issue Nov 15, 2024 · 0 comments
Open

Allow disabling specific diagnostics #438

phil-blain opened this issue Nov 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@phil-blain
Copy link
Contributor

Is your feature request related to a problem? Please describe.
In my projects, the diagnostic "Variable $name masks variable in parent scope" is displayed for nearly all files since it is a common occurrence in our code to use the same variable names in called subroutines. I would like to be able to disable this specific diagnostic.

Describe the solution you'd like
I'd like all diagnostics to be individually disable-able.

Describe alternatives you've considered
Disabling all diagnostics(!)

Additional context
Maybe the existing disable_diagnostics could be turned from a boolean to a list of individual diagnostics ?

@phil-blain phil-blain added the enhancement New feature or request label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant