|
8 | 8 | --> |
9 | 9 | <module name="Checker"> |
10 | 10 | <property name="severity" value="error"/> |
| 11 | + |
| 12 | + <!-- Supression filter to disable specified modules/checks for specified files --> |
| 13 | + <module name="SuppressionFilter"> |
| 14 | + <property name="file" value="checkstyle_suppressions.xml"/> |
| 15 | + <property name="optional" value="false"/> |
| 16 | + </module> |
| 17 | + |
11 | 18 | <module name="TreeWalker"> |
12 | 19 |
|
13 | | - <!-- Line length <= 120 characters. --> |
| 20 | + <!-- Line length <= 120 characters --> |
14 | 21 | <module name="LineLength"> |
15 | | - <property name="severity" value="ignore"/> <!-- TODO: Change to "error" once the >7000 violations have been resolved. --> |
| 22 | + <property name="severity" value="ignore"/> <!-- TODO: Change to "error" once the >7000 violations have been resolved --> |
16 | 23 | <property name="max" value="120"/> |
17 | 24 | </module> |
18 | 25 |
|
19 | | - <!-- Indent must use tab characters. --> |
| 26 | + <!-- Indent must use tab characters --> |
20 | 27 | <module name="RegexpSinglelineJava"> |
21 | | - <property name="format" value="^\t* ([^\*]|$)"/> <!-- Javadoc and multiline comments have a single leading whitespace, so allow " *". --> |
| 28 | + <property name="format" value="^\t* ([^\*]|$)"/> <!-- Javadoc and multiline comments have a single leading whitespace, so allow " *" --> |
22 | 29 | <property name="message" value="Indent must use tab characters"/> |
23 | 30 | <property name="ignoreComments" value="false"/> |
24 | 31 | </module> |
25 | 32 |
|
26 | | - <!-- Disallow package.* imports. --> |
| 33 | + <!-- Disallow package.* imports --> |
27 | 34 | <module name="AvoidStarImport"/> |
28 | 35 |
|
29 | | - <!-- Disallow whitespaces after '(' and before ')'. --> |
| 36 | + <!-- Disallow whitespaces after '(' and before ')' --> |
30 | 37 | <module name="ParenPad"/> |
31 | 38 |
|
32 | 39 | </module> |
33 | 40 |
|
34 | | - <!-- Disallow trailing whitespaces/tabs. --> |
| 41 | + <!-- Disallow trailing whitespaces/tabs --> |
35 | 42 | <module name="RegexpSingleline"> |
36 | 43 | <property name="severity" value="error"/> |
37 | | - <property name="format" value="(?<! \*)\s+$"/> <!-- Empty javadoc and multiline comment lines have a single trailing whitespace, so allow " * ". --> |
| 44 | + <property name="format" value="(?<! \*)\s+$"/> <!-- Empty javadoc and multiline comment lines have a single trailing whitespace, so allow " * " --> |
38 | 45 | <property name="message" value="Line has trailing whitespaces/tabs."/> |
39 | 46 | <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> |
40 | 47 | </module> |
|
0 commit comments