-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[apex] Add support for suppressing violations using the // NOPMD comment #2279
[apex] Add support for suppressing violations using the // NOPMD comment #2279
Conversation
We can generate the suppress map from the individual tokens that get passed from the lexer.
Generated by 🚫 Danger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contributing. That's a great addition and perfect first PR. Before I approve I would like to also have @adangel and/or @oowekyala review this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
Before submitting a PR, please check that:
master
. The PMD team will merge back to support branches as needed../mvnw clean verify
passes. This will build and test PMD, execute PMD and checkstyle rules. Check this for more infoPR Description:
Fixes #1087
Adds support for the
// NOPMD
comment in apex.