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

Exclude analyzers #112

Open
nojaf opened this issue Oct 6, 2023 · 1 comment
Open

Exclude analyzers #112

nojaf opened this issue Oct 6, 2023 · 1 comment

Comments

@nojaf
Copy link
Contributor

nojaf commented Oct 6, 2023

Is your feature request related to a problem? Please describe.
We are currently loading a binary with a set of analyzers and would like to exclude certain ones from running.

Describe the solution you'd like
Adding a flag like --exclude-analyzer MyAnalyzerName (multiple allowed)

Describe alternatives you've considered
If you don't control the binary you load I'm not sure this is possible right now.

Additional context
We want to use an analyzer that is available on NuGet but comes with a set of analyzers we don't care about.

@nojaf nojaf changed the title Excluded analyzers Exclude analyzers Oct 6, 2023
@nojaf
Copy link
Contributor Author

nojaf commented Oct 12, 2023

This is available in 0.15.0 but does not take the assembly into account.
It purely is based on the analyzer name that was used in the attribute.
If this is insufficient for anyone, we should revisit this.

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

No branches or pull requests

1 participant