Skip to content

Commit

Permalink
minor: add check to eclipse-cs config
Browse files Browse the repository at this point in the history
  • Loading branch information
kariem committed Dec 4, 2016
1 parent 7a93ab3 commit 2d71cef
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,6 @@ EitherLogOrThrowCheck.loggingMethodNames = Logging method names separated with c
WhitespaceBeforeArrayInitializerCheck.name = Whitespace Before Array Initializer
WhitespaceBeforeArrayInitializerCheck.desc = This checks enforces whitespace before array initializer.
EnumTrailingCommaAndSemicolonCheck.name = Enum Trailing Comma
EnumTrailingCommaAndSemicolonCheck.desc = This checks enforces a trailing comma at the end of a line in an enum constant definition.
Original file line number Diff line number Diff line change
Expand Up @@ -528,5 +528,13 @@
<message-key key="whitespace.before.array.initializer"/>
</rule-metadata>

<rule-metadata name="%EnumTrailingCommaAndSemicolonCheck.name" internal-name="EnumTrailingCommaAndSemicolonCheck" parent="TreeWalker">
<alternative-name internal-name="com.github.sevntu.checkstyle.checks.coding.EnumTrailingCommaAndSemicolonCheck"/>
<description>%EnumTrailingCommaAndSemicolonCheck.desc</description>

<message-key key="enum.trailing.comma"/>
<message-key key="enum.trailing.comma.semi"/>
</rule-metadata>

</rule-group-metadata>
</checkstyle-metadata>

0 comments on commit 2d71cef

Please sign in to comment.