From 66c87c22235e10a572ada5b5bd66ba84c5e4660d Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Fri, 9 Sep 2016 20:45:24 +0100 Subject: [PATCH] PackageAnnotation: enabled --- README.md | 10 +++++----- src/main/resources/net/kemitix/checkstyle.xml | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 30bac4b..71b3b77 100644 --- a/README.md +++ b/README.md @@ -222,7 +222,7 @@ You need to include `checkstyle` as the version bundled with the `maven-checksty * [OuterTypeNumber](#outertypenumber) - checkstyle - disabled * [OverloadMethodsDeclarationOrder](#overloadmethodsdeclarationorder) - checkstyle - enabled * [OverridableMethodInConstructor](#overridablemethodinconstructor) - sevntu - enabled -* [PackageAnnotation](#packageannotation) - checkstyle - disabled +* [PackageAnnotation](#packageannotation) - checkstyle - enabled * [PackageDeclaration](#packagedeclaration) - checkstyle - enabled * [PackageName](#packagename) - checkstyle - enabled * [ParameterAssignment](#parameterassignment) - checkstyle - disabled @@ -1789,6 +1789,10 @@ Checks that the source filename matches the name of the top-level class. e.g. ` Checks that overload methods are grouped together in the source file. +#### [PackageAnnotation](http://checkstyle.sourceforge.net/config_annotation.html#PackageAnnotation) + +Checks that package level annotations are in the `package-info.java` file. + #### [PackageDeclaration](http://checkstyle.sourceforge.net/config_coding.html#PackageDeclaration) Checks that the class has a `package` definition. @@ -2728,10 +2732,6 @@ The javadoc compiler automatically inherits the javadoc from the overridden meth Already covered by the [OneTopLevelClass](#onetoplevelclass) check. -#### [PackageAnnotation](http://checkstyle.sourceforge.net/config_annotation.html#PackageAnnotation) - -> TODO: enable - #### [ParameterAssignment](http://checkstyle.sourceforge.net/config_coding.html#ParameterAssignment) > TODO: enable diff --git a/src/main/resources/net/kemitix/checkstyle.xml b/src/main/resources/net/kemitix/checkstyle.xml index 3b22b1c..9984251 100644 --- a/src/main/resources/net/kemitix/checkstyle.xml +++ b/src/main/resources/net/kemitix/checkstyle.xml @@ -178,6 +178,7 @@ +