Skip to content

Commit 580c91f

Browse files
Anmol202005rdiachenko
authored andcommitted
Issue #93: moved rewrite.yml to root
1 parent 347e962 commit 580c91f

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

rewrite.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,22 @@ recipeList:
8484
- org.openrewrite.staticanalysis.ReorderAnnotations
8585
- org.openrewrite.java.UseStaticImport:
8686
methodPattern: 'org.openrewrite..Assertions *(..)'
87+
---
88+
type: specs.openrewrite.org/v1beta/recipe
89+
name: CheckstyleAutoFixConfigured
90+
displayName: Checkstyle Auto Fix Configured
91+
description: |
92+
Automatically applies OpenRewrite recipes to fix Checkstyle violations
93+
based on the provided Checkstyle XML violation report. This recipe serves
94+
as an entry point to apply all auto-fixable rules configured in the report.
95+
tags:
96+
- checkstyle
97+
- autofix
98+
- static-analysis
99+
- java
100+
- code-quality
101+
recipeList:
102+
- org.checkstyle.autofix.CheckstyleAutoFix:
103+
violationReportPath: "target/checkstyle/checkstyle-report.xml"
104+
configurationPath: "https://raw.githubusercontent.com/checkstyle/checkstyle/checkstyle-${checkstyle.version}/config/checkstyle-checks.xml"
105+
propertiesPath: "config/checkstyle.properties"

src/main/resources/META-INF/rewrite/recipes.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)