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

Add glob/regex ignore for built in analyzers #1118

Closed
TheAngryByrd opened this issue Jun 16, 2023 · 0 comments · Fixed by #1120
Closed

Add glob/regex ignore for built in analyzers #1118

TheAngryByrd opened this issue Jun 16, 2023 · 0 comments · Fixed by #1120
Assignees

Comments

@TheAngryByrd
Copy link
Member

TheAngryByrd commented Jun 16, 2023

Currently we have on/off settings for built in analyzers like:

  • UnusedOpens.getUnusedOpens
  • UnusedDeclarations.getUnusedDeclarations
  • SimplifyNames.getSimplifiableNames

It would be nice to be able to keep these on but have a way to customize which files it ignores. This is mostly useful for large generated files that you really do not care about analysis in.

For example it would be good to have an array of globs so you can ignore files like *.g.fs and even specify specific files.


May be worth to extend this to F# analyzers but might get complicated as we don't have a way to choose for specific F# analyzers as the SDK will just run all loaded analyzers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant