summaryrefslogtreecommitdiff
path: root/config/checkstyle
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2020-03-30 01:05:33 +0200
committerByteHamster <info@bytehamster.com>2020-03-30 12:06:16 +0200
commit6a7375dd9bf720715d0eb8c3c880bdba0c1cc80e (patch)
treeb0ed88bb4da4f8138d5a0707cd2cd84210002bcd /config/checkstyle
parentec0255b7434a15264286863e21bd00c089fc55de (diff)
downloadantennapod-6a7375dd9bf720715d0eb8c3c880bdba0c1cc80e.zip
Added diff-checkstyle
Diffstat (limited to 'config/checkstyle')
-rw-r--r--config/checkstyle/checkstyle-new-code.xml (renamed from config/checkstyle/checkstyle-best-practice.xml)16
1 files changed, 1 insertions, 15 deletions
diff --git a/config/checkstyle/checkstyle-best-practice.xml b/config/checkstyle/checkstyle-new-code.xml
index 154d2a896..0076bac23 100644
--- a/config/checkstyle/checkstyle-best-practice.xml
+++ b/config/checkstyle/checkstyle-new-code.xml
@@ -2,14 +2,9 @@
<!DOCTYPE module PUBLIC
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">
-<!--
- Checkstyle configuration that checks the Google coding conventions from Google Java Style
- that can be found at https://google.github.io/styleguide/javaguide.html.
- Authors: Max Vetrenko, Ruslan Diachenko, Roman Ivanov.
- -->
<module name = "Checker">
<property name="charset" value="UTF-8"/>
- <property name="severity" value="warning"/>
+ <property name="severity" value="error"/>
<property name="fileExtensions" value="java, properties, xml"/>
<module name="SuppressionFilter">
@@ -219,15 +214,6 @@
<property name="target"
value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
</module>
- <module name="JavadocMethod">
- <property name="scope" value="public"/>
- <property name="allowMissingParamTags" value="true"/>
- <property name="allowMissingThrowsTags" value="true"/>
- <property name="allowMissingReturnTag" value="true"/>
- <property name="minLineCount" value="2"/>
- <property name="allowedAnnotations" value="Override, Test"/>
- <property name="allowThrowsTagsForSubclasses" value="true"/>
- </module>
<module name="MethodName">
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9_]*$"/>
<message key="name.invalidPattern"