xref: /OpenGrok/dev/checkstyle/style.xml (revision d6df19e1b22784c78f567cf74c42f18e3901b900)
1c3772022SVladimir Kotal<?xml version="1.0"?>
2c3772022SVladimir Kotal<!DOCTYPE module PUBLIC
3c3772022SVladimir Kotal        "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
4c3772022SVladimir Kotal        "https://checkstyle.org/dtds/configuration_1_3.dtd">
5c3772022SVladimir Kotal<module name="Checker">
656fd05a2SVladimir Kotal    <module name="NewlineAtEndOfFile">
73e333541SVladimir Kotal        <property name="severity" value="ignore" />
83e333541SVladimir Kotal    </module>
95d9f3aa0SAdam Hornáček    <module name="RegexpHeader">
10c3772022SVladimir Kotal        <property name="headerFile" value="${checkstyle.header.file}"/>
115d9f3aa0SAdam Hornáček        <property name="multiLines" value="21"/>
12c3772022SVladimir Kotal    </module>
13c3772022SVladimir Kotal    <module name="FileLength"/>
14c3772022SVladimir Kotal    <module name="FileTabCharacter"/>
151161d3e8SAdam Hornacek
160e4c5554SAdam Hornacek    <module name="RegexpSingleline">
170e4c5554SAdam Hornacek        <property name="format" value="\s+$"/>
180e4c5554SAdam Hornacek        <property name="minimum" value="0"/>
190e4c5554SAdam Hornacek        <property name="maximum" value="0"/>
200e4c5554SAdam Hornacek        <property name="message" value="Line has trailing spaces."/>
210e4c5554SAdam Hornacek    </module>
220e4c5554SAdam Hornacek
23ff44f24aSAdam Hornáček    <module name="LineLength">
24ff44f24aSAdam Hornáček        <property name="max" value="150"/>
25ff44f24aSAdam Hornáček    </module>
261161d3e8SAdam Hornacek
271161d3e8SAdam Hornacek    <module name="TreeWalker">
281161d3e8SAdam Hornacek        <module name="JavadocStyle"/>
291161d3e8SAdam Hornacek        <module name="AvoidStarImport"/>
301161d3e8SAdam Hornacek        <module name="RedundantImport"/>
311161d3e8SAdam Hornacek        <module name="UnusedImports"/>
32*d6df19e1SAdam Hornacek        <module name="MethodName"/>
33c3772022SVladimir Kotal        <module name="MethodLength">
34c3772022SVladimir Kotal            <property name="max" value="200"/>
35c3772022SVladimir Kotal        </module>
36c3772022SVladimir Kotal        <module name="AnonInnerLength">
37c3772022SVladimir Kotal            <property name="max" value="60"/>
38c3772022SVladimir Kotal        </module>
390ec550ccSAdam Hornacek        <module name="ParameterName"/>
40c3772022SVladimir Kotal        <module name="ParameterNumber"/>
41ff44f24aSAdam Hornáček        <module name="EmptyBlock"/>
42ff44f24aSAdam Hornáček        <module name="LeftCurly"/>
43c3772022SVladimir Kotal        <module name="NeedBraces"/>
44ff44f24aSAdam Hornáček        <module name="RightCurly"/>
45c3772022SVladimir Kotal        <module name="GenericWhitespace"/>
46c3772022SVladimir Kotal        <module name="MethodParamPad"/>
47c3772022SVladimir Kotal        <module name="NoWhitespaceAfter"/>
48ff44f24aSAdam Hornáček        <module name="NoWhitespaceBefore"/>
49ff44f24aSAdam Hornáček        <module name="TypecastParenPad"/>
50ff44f24aSAdam Hornáček        <module name="WhitespaceAfter"/>
51ff44f24aSAdam Hornáček        <module name="WhitespaceAround"/>
52c3772022SVladimir Kotal        <module name="SuppressionCommentFilter">
53c3772022SVladimir Kotal            <property name="offCommentFormat" value="&lt;editor-fold defaultstate=&quot;collapsed&quot; desc=&quot;Generated Code&quot;&gt;"/>
54c3772022SVladimir Kotal            <property name="onCommentFormat" value="&lt;/editor-fold&gt;"/>
55c3772022SVladimir Kotal        </module>
56d1e826faSAdam Hornáček
57d1e826faSAdam Hornáček        <module name="ModifierOrder"/>
58d1e826faSAdam Hornáček        <module name="RedundantModifier"/>
59d1e826faSAdam Hornáček
60d1e826faSAdam Hornáček        <module name="SimplifyBooleanExpression"/>
61d1e826faSAdam Hornáček        <module name="SimplifyBooleanReturn"/>
62d1e826faSAdam Hornáček
63ff44f24aSAdam Hornáček        <module name="HideUtilityClassConstructor"/>
64ff44f24aSAdam Hornáček
65d1e826faSAdam Hornáček        <module name="ArrayTypeStyle"/>
66d1e826faSAdam Hornáček        <module name="UpperEll"/>
67c3772022SVladimir Kotal    </module>
68c3772022SVladimir Kotal</module>
69