summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2020-02-02 18:02:15 +0100
committerByteHamster <info@bytehamster.com>2020-02-03 22:18:41 +0100
commitbe076be7376b1cfbd69d512589379eb8fa8a2ae4 (patch)
tree3ec0b1688f1bb5b0976de4432e5081e998970c5b /config
parent719af170a704e3172d45e4ae952228761b092285 (diff)
downloadAntennaPod-be076be7376b1cfbd69d512589379eb8fa8a2ae4.zip
Cleaned up checkstyle file a bit
Diffstat (limited to 'config')
-rw-r--r--config/checkstyle/checkstyle-best-practice.xml14
-rw-r--r--config/checkstyle/checkstyle.xml4
2 files changed, 7 insertions, 11 deletions
diff --git a/config/checkstyle/checkstyle-best-practice.xml b/config/checkstyle/checkstyle-best-practice.xml
index 410251d6c..154d2a896 100644
--- a/config/checkstyle/checkstyle-best-practice.xml
+++ b/config/checkstyle/checkstyle-best-practice.xml
@@ -2,24 +2,20 @@
<!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.
- Checkstyle is very configurable. Be sure to read the documentation at
- http://checkstyle.sf.net (or in your downloaded distribution).
- To completely disable a check, just comment it out or delete it from the file.
Authors: Max Vetrenko, Ruslan Diachenko, Roman Ivanov.
-->
-
<module name = "Checker">
<property name="charset" value="UTF-8"/>
-
<property name="severity" value="warning"/>
-
<property name="fileExtensions" value="java, properties, xml"/>
- <!-- Checks for whitespace -->
- <!-- See http://checkstyle.sf.net/config_whitespace.html -->
+
+ <module name="SuppressionFilter">
+ <property name="file" value="${config_loc}/suppressions.xml" />
+ </module>
+
<module name="FileTabCharacter">
<property name="eachLine" value="true"/>
</module>
diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml
index 18978ec49..04c841b3b 100644
--- a/config/checkstyle/checkstyle.xml
+++ b/config/checkstyle/checkstyle.xml
@@ -4,11 +4,11 @@
"https://checkstyle.org/dtds/configuration_1_3.dtd">
<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">
- <property name="file" value="suppressions.xml" />
+ <property name="file" value="${config_loc}/suppressions.xml" />
</module>
<module name="TreeWalker">