Skip to content

Commit 339b355

Browse files
authored
Fix ANTLR 4 formatter maven configuration in readme (#1269
2 parents 3878d36 + 5d975ba commit 339b355

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugin-maven/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ Groovy-Eclipse formatting errors/warnings lead per default to a build failure. T
481481
<include>src/*/antlr4/**/*.g4</include>
482482
</includes>
483483

484-
<antlr4formatter /> <!-- has its own section below -->
484+
<antlr4Formatter /> <!-- has its own section below -->
485485

486486
<licenseHeader>
487487
<content>/* (C)$YEAR */</content> <!-- or <file>${project.basedir}/license-header</file> -->
@@ -490,14 +490,14 @@ Groovy-Eclipse formatting errors/warnings lead per default to a build failure. T
490490
</configuration>
491491
```
492492

493-
### antlr4formatter
493+
### antlr4Formatter
494494

495495
[homepage](https://github.com/antlr/Antlr4Formatter). [available versions](https://search.maven.org/artifact/com.khubla.antlr4formatter/antlr4-formatter). [code](https://github.com/diffplug/spotless/blob/main/plugin-maven/src/main/java/com/diffplug/spotless/maven/antlr4/Antlr4Formatter.java).
496496

497497
```xml
498-
<antlr4formatter>
498+
<antlr4Formatter>
499499
<version>1.2.1</version> <!-- optional -->
500-
</antlr4formatter>
500+
</antlr4Formatter>
501501
```
502502

503503
## SQL

0 commit comments

Comments
 (0)