builder:README.header.md: update with levels
This commit is contained in:
parent
f110e90cfd
commit
2e1404ffa4
1 changed files with 12 additions and 1 deletions
|
@ -26,6 +26,17 @@ To use this ruleset in your `maven-checkstyle-plugin` configuration add `checkst
|
||||||
|
|
||||||
You need to include `checkstyle` as the version bundled with the `maven-checkstyle-plugin` is not up-to-date enough.
|
You need to include `checkstyle` as the version bundled with the `maven-checkstyle-plugin` is not up-to-date enough.
|
||||||
|
|
||||||
|
Select the `configLocation` for the level of strictness required:
|
||||||
|
|
||||||
|
* checkstyle-1-layout.xml
|
||||||
|
* checkstyle-2-naming.xml
|
||||||
|
* checkstyle-3-javadoc.xml
|
||||||
|
* checkstyle-4-tweaks.xml
|
||||||
|
* checkstyle-5-complexity.xml
|
||||||
|
|
||||||
|
Only specify a single `configLocation` as each increasing level includes all the rules
|
||||||
|
from the previous.
|
||||||
|
|
||||||
````
|
````
|
||||||
<properties>
|
<properties>
|
||||||
<checkstyle.version>7.0</checkstyle.version>
|
<checkstyle.version>7.0</checkstyle.version>
|
||||||
|
@ -55,7 +66,7 @@ You need to include `checkstyle` as the version bundled with the `maven-checksty
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<configuration>
|
<configuration>
|
||||||
<configLocation>net/kemitix/checkstyle.xml</configLocation>
|
<configLocation>net/kemitix/checkstyle-5-complexity.xml</configLocation>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin><!-- maven-checkstyle-plugin -->
|
</plugin><!-- maven-checkstyle-plugin -->
|
||||||
</plugins>
|
</plugins>
|
||||||
|
|
Loading…
Reference in a new issue