From 99f77483c519479988ea1bd15e5684d59e9b18e6 Mon Sep 17 00:00:00 2001 From: Kariem Hussein Date: Sun, 4 Dec 2016 14:52:56 +0100 Subject: [PATCH] minor: add check to eclipse-cs config --- .../checks/coding/checkstyle-metadata.properties | 3 +++ .../checkstyle/checks/coding/checkstyle-metadata.xml | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/eclipsecs-sevntu-plugin/src/com/github/sevntu/checkstyle/checks/coding/checkstyle-metadata.properties b/eclipsecs-sevntu-plugin/src/com/github/sevntu/checkstyle/checks/coding/checkstyle-metadata.properties index 5000acc0a6..00b4db3fb4 100755 --- a/eclipsecs-sevntu-plugin/src/com/github/sevntu/checkstyle/checks/coding/checkstyle-metadata.properties +++ b/eclipsecs-sevntu-plugin/src/com/github/sevntu/checkstyle/checks/coding/checkstyle-metadata.properties @@ -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. diff --git a/eclipsecs-sevntu-plugin/src/com/github/sevntu/checkstyle/checks/coding/checkstyle-metadata.xml b/eclipsecs-sevntu-plugin/src/com/github/sevntu/checkstyle/checks/coding/checkstyle-metadata.xml index 9e53dda6bc..3455bd9e37 100644 --- a/eclipsecs-sevntu-plugin/src/com/github/sevntu/checkstyle/checks/coding/checkstyle-metadata.xml +++ b/eclipsecs-sevntu-plugin/src/com/github/sevntu/checkstyle/checks/coding/checkstyle-metadata.xml @@ -528,5 +528,13 @@ + + + %EnumTrailingCommaAndSemicolonCheck.desc + + + + +