You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if this extension supports for specifying a suppressions filter config file without modifying the checkstyle config, because I’m currently using the Google Checks config that’s builtin to Checkstyle so the VSCode settings look like this:
Here I’m using Checkstyle 9.3 because it’s the newest version that’s compatible with Java 8 and Checkstyle v10+ requires Java 11.
I don’t want to copy google_checks.xml into my workspace and add suppressions filter there because I’ll then have to maintain it myself. For example, if later I decide to use Checkstyle 10.2 along with Java 11, I’ll have to copy the google_checks.xml file from their GitHub repo at that particular version tag and then merge it with my local config and resolve any conflicts.
What’s nice about the Maven Checkstyle plugin is that it allows me to specify the location of the suppressions filter file with the <suppressionsLocation> property and to ignore certain violations with the <violationIgnore> property like this:
It would be great if this extension supports for specifying a suppressions filter config file without modifying the checkstyle config, because I’m currently using the Google Checks config that’s builtin to Checkstyle so the VSCode settings look like this:
Here I’m using Checkstyle 9.3 because it’s the newest version that’s compatible with Java 8 and Checkstyle v10+ requires Java 11.
I don’t want to copy
google_checks.xml
into my workspace and add suppressions filter there because I’ll then have to maintain it myself. For example, if later I decide to use Checkstyle 10.2 along with Java 11, I’ll have to copy thegoogle_checks.xml
file from their GitHub repo at that particular version tag and then merge it with my local config and resolve any conflicts.What’s nice about the Maven Checkstyle plugin is that it allows me to specify the location of the suppressions filter file with the
<suppressionsLocation>
property and to ignore certain violations with the<violationIgnore>
property like this:I would be great if this extension also supports these features and the VSCode settings may look like this:
The content of
checkstyle-suppressions.xml
is like this:Note that specifying the location of suppressions filter and specifying violations to ignore are equivalent in the above case.
The text was updated successfully, but these errors were encountered: