Replies: 1 comment 4 replies
-
I don't see the point of this. What's the use case ? Ignored issues are ignored, which is exactly the intended behaviour. If for some reason - like reviewing ignore annotations - you want to ignore the ignore annotations, you can do so for a run by using |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be great to have a way include ignored errors in the result. For reference, SemGrep adds a
is_ignored
property to each error, it could behave in a similar way.It could track ignores per-ocurrance on things that it parses, and adding a list of directories/files that are not parsed.
Example JSON result with ignores:
ignored.files
are those ignored by local comments such as// phpcs:ignore, // phpcs:ignore <rule>, // phpcs:disable, // phpcs:disable <rule>
.ignored.ignored_files
are those ignored by// phpcs:ignoreFile
ignored.ignore_patterns
, we could include paths that were ignored by--ignore
orexclude-pattern
Beta Was this translation helpful? Give feedback.
All reactions