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

File-level comment to suppress specific warnings #208

Open
jubnzv opened this issue Nov 5, 2024 · 0 comments
Open

File-level comment to suppress specific warnings #208

jubnzv opened this issue Nov 5, 2024 · 0 comments
Labels
area:warnings Related to how Misti processes and emits detector warnings enhancement New feature or request

Comments

@jubnzv
Copy link
Member

jubnzv commented Nov 5, 2024

We should handle top-level comments in the file that suppress specific warnings only within that file. Currently, the user must either suppress a detector globally or write the suppression comment on each line where it generates a warning.

@jubnzv jubnzv added enhancement New feature or request area:warnings Related to how Misti processes and emits detector warnings labels Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:warnings Related to how Misti processes and emits detector warnings enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant