Skip to content

CodeQL is missing an inline mechanism to suppress warnings #11427

@bryevdv

Description

@bryevdv

This was asked about in #9298 and the issue log stated "closed as not planned". The "answer" was to dismiss via the UI. But this alone is really not a sufficient mechanism:

  • Having to interact with the UI is supremely annoying
  • Spurious new warnings if the code moves cannot be avoided this way
  • It is good to be forced to comment these exception inline where they happen
  • What if you are running codeql locally? Then here is no mechanisim?

Please consider supporting this basic, table-stakes feature that many, many linting/scanning tools afford.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions