Skip to content

Commit 3c9c08f

Browse files
committed
Issue #101: run bestPractices recipe with build
1 parent 85c5edb commit 3c9c08f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@
173173
<version>${rewrite.maven.plugin}</version>
174174
<configuration>
175175
<activeRecipes>
176+
<recipe>org.checkstyle.recipes.OpenRewriteRecipeBestPractices</recipe>
176177
<recipe>CheckstyleAutoFixConfigured</recipe>
177178
</activeRecipes>
178179
<exclusions>
@@ -188,7 +189,7 @@
188189
<dependency>
189190
<groupId>org.openrewrite.recipe</groupId>
190191
<artifactId>rewrite-rewrite</artifactId>
191-
<version>RELEASE</version>
192+
<version>0.12.1</version>
192193
</dependency>
193194
</dependencies>
194195
<executions>

rewrite.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ recipeList:
5050
- org.openrewrite.java.recipes.NoMutableStaticFieldsInRecipes
5151
- org.openrewrite.java.recipes.RecipeEqualsAndHashCodeCallSuper
5252
- org.openrewrite.java.recipes.UseTreeRandomId
53-
- org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes
5453
- org.openrewrite.staticanalysis.NeedBraces
5554
- org.openrewrite.staticanalysis.RemoveSystemOutPrintln
5655
- org.openrewrite.java.RemoveAnnotation:

0 commit comments

Comments
 (0)