Skip to content

Improved rule suppression #1483

Open
Open
@rjmholt

Description

@rjmholt

PSSA2 should allow the suppression of rules:

  • Current suppression attributes should be supported
  • Comment-based suppression should also be supported and work based on token reading
  • Ideally suppression should occur before rules create or emit a record to minimise overhead. This is most like easiest by making diagnostic emission use a method that can filter out diagnostics
  • In particular, it may be useful to pre-process input and find excluded extents rather than each rule performing the same suppression discovery over and over

Another suppression scenario is being able to suppress groups of rules (possibly wildcarded) over a list of files (also possibly wildcarded).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions