-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[openrewrite] add SanityCheck
featuring tech.picnic.errorprone.refasterrules
#5003
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
Conversation
SanityCheck
featuring CommonStaticAnalysis
SanityCheck
featuring tech.picnic.errorprone.refasterrules
bf09a7c
to
dc7e4fb
Compare
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.
kindly request feedback. Thanks.
gradle/rewrite.gradle
Outdated
|
||
rewrite { | ||
activeRecipe("org.junit.jupiter.openrewrite.SanityCheck") | ||
exclusions.addAll("**.ci-temp**") |
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.
exclusions.addAll("**.ci-temp**") |
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
- name: rewriteDryRun |
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.
this is just an reminder of course you need to choose where to put this best.
- tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes | ||
- tech.picnic.errorprone.refasterrules.StreamRulesRecipes | ||
- tech.picnic.errorprone.refasterrules.TimeRulesRecipes | ||
# - org.openrewrite.staticanalysis.EqualsAvoidsNull |
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.
this does change alot despite the initial effort. Every tool has its benefits making it win to the community.
We have already decided against adopting OpenRewrite for our day-to-day build. I'd be open to looking at Error Prone's refaster with Picnic's rules, though, as discussed on the issue. |
I hereby agree to the terms of the JUnit Contributor License Agreement.
Definition of Done
@API
annotationsrelates to:
rewrite
support forerrorprone.refasterrules
#5002SanityCheck
featuringCommonStaticAnalysis
diffplug/spotless#2651