-
Notifications
You must be signed in to change notification settings - Fork 134
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
Add errorprone check for immutables style collisions #1396
Conversation
Generate changelog in
|
...ine-error-prone/src/main/java/com/palantir/baseline/errorprone/ImmutablesStyleCollision.java
Outdated
Show resolved
Hide resolved
|
||
@AutoService(BugChecker.class) | ||
@BugPattern( | ||
name = "ImmutablesStyleCollision", |
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.
Please document this alongside the other baseline error-prone checks in the readme!
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.
You'll also need to add it to the list of errorprone rules we always apply
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.
I added it to the readme but where is the list @ferozco ?
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.
I think that's just for automatic refactors, but this can't be auto-fixed. severity = BugPattern.SeverityLevel.ERROR,
should be sufficient.
lgtm pending readme update and changelog, thanks! |
Thanks @a10y ! |
Fix for #1395