summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriwakeh <iwakeh@torproject.org>2016-11-16 10:11:56 +0100
committeriwakeh <iwakeh@torproject.org>2016-11-16 10:11:56 +0100
commit319c8fff8e91287c12901c2413e89bfb635b3542 (patch)
treebd06982a8a1fa5d32dd36c5450f0d13443b16a4c
parentdcec86480d568827e8aa398a85899ff4300e0238 (diff)
Unify checkstyle in all Metrics' projects.task-20596-checks
-rw-r--r--src/test/resources/metrics_checks.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/resources/metrics_checks.xml b/src/test/resources/metrics_checks.xml
index 918e6c5..47f773d 100644
--- a/src/test/resources/metrics_checks.xml
+++ b/src/test/resources/metrics_checks.xml
@@ -18,6 +18,8 @@
- Added a check for unused imports [UnusedImports].
+ - Limit max line length to 80.
+
Checkstyle is very configurable. Be sure to read the documentation at
http://checkstyle.sf.net (or in your downloaded distribution).
@@ -52,7 +54,7 @@
<property name="allowNonPrintableEscapes" value="true"/>
</module>
<module name="LineLength">
- <property name="max" value="100"/>
+ <property name="max" value="80"/>
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
</module>
<module name="AvoidStarImport"/>