Skip to content

Commit

Permalink
Update rewrite.yml to enforce CompareEnumsWithEqualityOperator
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek authored Dec 24, 2024
1 parent 804dea0 commit da57352
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rewrite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ recipeList:
- org.openrewrite.recipes.RecipeNullabilityBestPracticesSubset
#- org.openrewrite.java.OrderImports
- org.openrewrite.java.format.EmptyNewlineAtEndOfFile
- org.openrewrite.staticanalysis.CompareEnumsWithEqualityOperator
- org.openrewrite.staticanalysis.InlineVariable
- org.openrewrite.staticanalysis.MissingOverrideAnnotation
- org.openrewrite.staticanalysis.UseDiamondOperator
Expand Down Expand Up @@ -75,4 +76,4 @@ recipeList:
annotationPattern: '@org.jetbrains.annotations.NotNull'
- org.openrewrite.java.RemoveAnnotation:
annotationPattern: '@jakarta.annotation.Nonnull'
#- org.openrewrite.java.jspecify.MigrateToJspecify
#- org.openrewrite.java.jspecify.MigrateToJspecify

0 comments on commit da57352

Please sign in to comment.