Skip to content

Commit

Permalink
minor: add check to sonar extension config
Browse files Browse the repository at this point in the history
  • Loading branch information
kariem committed Dec 4, 2016
1 parent a2d02dd commit 7a93ab3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sevntu-checks/sevntu-checks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
<module name="com.github.sevntu.checkstyle.checks.coding.UselessSuperCtorCall"/>
<module name="com.github.sevntu.checkstyle.checks.coding.UselessSingleCatch"/>
<module name="com.github.sevntu.checkstyle.checks.coding.WhitespaceBeforeArrayInitializer"/>
<module name="com.github.sevntu.checkstyle.checks.coding.EnumTrailingCommaAndSemicolonCheck"/>
<module name="com.github.sevntu.checkstyle.checks.coding.EnumTrailingCommaAndSemicolon"/>

<!-- Design -->
<module name="com.github.sevntu.checkstyle.checks.design.ChildBlockLength">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,14 @@
<configKey>Checker/TreeWalker/com.github.sevntu.checkstyle.checks.coding.WhitespaceBeforeArrayInitializerCheck</configKey>
</rule>

<rule>
<key>com.github.sevntu.checkstyle.checks.coding.EnumTrailingCommaAndSemicolonCheck</key>
<name>Enum Trailing Comma</name>
<category name="coding"/>
<description>This checks enforces a trailing comma at the end of a line in an enum constant definition.</description>
<configKey>Checker/TreeWalker/com.github.sevntu.checkstyle.checks.coding.EnumTrailingCommaAndSemicolonCheck</configKey>
</rule>

<rule>
<key>com.github.sevntu.checkstyle.checks.design.InnerClassCheck</key>
<name>Inner Class</name>
Expand Down

0 comments on commit 7a93ab3

Please sign in to comment.