diff --git a/README.md b/README.md index 006a88e..0b1d1a7 100644 --- a/README.md +++ b/README.md @@ -164,7 +164,7 @@ You need to include `checkstyle` as the version bundled with the `maven-checksty * [InnerClass](#innerclass) - sevntu - disabled * [InnerTypeLast](#innertypelast) - checkstyle - enabled * [InterfaceIsType](#interfaceistype) - checkstyle - enabled -* [InterfaceTypeParameterName](#interfacetypeparametername) - checkstyle - disabled +* [InterfaceTypeParameterName](#interfacetypeparametername) - checkstyle - enabled * [InterfaceTypeParameterName](#interfacetypeparametername-1) - sevntu - disabled * [JavadocMethod](#javadocmethod) - checkstyle - enabled * [JavadocPackage](#javadocpackage) - checkstyle - enabled @@ -1259,6 +1259,20 @@ interface Foo { } ```` +#### [InterfaceTypeParameterName](http://checkstyle.sourceforge.net/config_naming.html#InterfaceTypeParameterName) + +Checks that the type parameters for an interface are a single uppercase letter. + +Valid: +```` +interface Portable {} +```` + +Invalid: +```` +interface Portable {} +```` + #### [JavadocMethod](http://checkstyle.sourceforge.net/config_javadoc.html#JavadocMethod) Checks that all public, protected and package methods have a Javadoc block, that all `@throws` tags are used. Basic setters and getters do not require javadoc. @@ -2661,10 +2675,6 @@ Generic rule; doesn't embody a 'quality' check. Couldn't get my IDE's (IntelliJ) code style to match. -#### [InterfaceTypeParameterName](http://checkstyle.sourceforge.net/config_naming.html#InterfaceTypeParameterName) - -> TODO: enable - #### [JavadocTagContinuationIndentation](http://checkstyle.sourceforge.net/config_javadoc.html#JavadocTagContinuationIndentation) Couldn't get my IDE's (IntelliJ) code style to match. diff --git a/src/main/resources/net/kemitix/checkstyle.xml b/src/main/resources/net/kemitix/checkstyle.xml index 82440f0..520c9f2 100644 --- a/src/main/resources/net/kemitix/checkstyle.xml +++ b/src/main/resources/net/kemitix/checkstyle.xml @@ -104,6 +104,7 @@ +