Merge pull request #66 from kemitix/relax-rules

Relax rules
This commit is contained in:
Paul Campbell 2018-01-06 08:51:46 +00:00 committed by GitHub
commit b4900bdcfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 7 deletions

View file

@ -101,14 +101,14 @@ rules:
name: AvoidStarImport name: AvoidStarImport
parent: TREEWALKER parent: TREEWALKER
level: LAYOUT level: LAYOUT
enabled: true enabled: false
source: CHECKSTYLE source: CHECKSTYLE
uri: http://checkstyle.sourceforge.net/config_imports.html#AvoidStarImport uri: http://checkstyle.sourceforge.net/config_imports.html#AvoidStarImport
- -
name: AvoidStaticImport name: AvoidStaticImport
parent: TREEWALKER parent: TREEWALKER
level: COMPLEXITY level: COMPLEXITY
enabled: true enabled: false
source: CHECKSTYLE source: CHECKSTYLE
uri: http://checkstyle.sourceforge.net/config_imports.html#AvoidStaticImport uri: http://checkstyle.sourceforge.net/config_imports.html#AvoidStaticImport
properties: properties:
@ -324,7 +324,7 @@ rules:
name: Header name: Header
parent: CHECKER parent: CHECKER
level: LAYOUT level: LAYOUT
enabled: true enabled: false
source: CHECKSTYLE source: CHECKSTYLE
uri: http://checkstyle.sourceforge.net/config_header.html#Header uri: http://checkstyle.sourceforge.net/config_header.html#Header
properties: properties:
@ -427,7 +427,7 @@ rules:
name: JavadocPackage name: JavadocPackage
parent: CHECKER parent: CHECKER
level: JAVADOC level: JAVADOC
enabled: true enabled: false
source: CHECKSTYLE source: CHECKSTYLE
uri: http://checkstyle.sourceforge.net/config_javadoc.html#JavadocPackage uri: http://checkstyle.sourceforge.net/config_javadoc.html#JavadocPackage
- -
@ -451,8 +451,6 @@ rules:
enabled: true enabled: true
source: CHECKSTYLE source: CHECKSTYLE
uri: http://checkstyle.sourceforge.net/config_javadoc.html#JavadocType uri: http://checkstyle.sourceforge.net/config_javadoc.html#JavadocType
properties:
authorFormat: ^.+ (\S+@[\S.]+)$
- -
name: JavaNCSS name: JavaNCSS
parent: TREEWALKER parent: TREEWALKER

View file

@ -1,2 +1,2 @@
Checks the format for Javadoc for classes and enums. Javadoc must be present, not have any unknown tags and not missing any `@param` tags. The `@author` tag must have a name and, in brackets, an email address. Checks the format for Javadoc for classes and enums. Javadoc must be present, not have any unknown tags and not missing any `@param` tags.