|
24 | 24 |
|
25 | 25 | <scalastyle>
|
26 | 26 | <name>Scalastyle standard configuration</name>
|
27 |
| - <check level="error" class="org.scalastyle.file.FileTabChecker" enabled="true"></check> |
| 27 | + <check level="error" class="org.scalastyle.file.FileTabChecker" enabled="true"/> |
28 | 28 | <!-- <check level="error" class="org.scalastyle.file.FileLengthChecker" enabled="true"> -->
|
29 | 29 | <!-- <parameters> -->
|
30 | 30 | <!-- <parameter name="maxFileLength"><![CDATA[800]]></parameter> -->
|
|
50 | 50 | */]]></parameter>
|
51 | 51 | </parameters>
|
52 | 52 | </check>
|
53 |
| - <check level="error" class="org.scalastyle.scalariform.SpacesAfterPlusChecker" enabled="true"></check> |
54 |
| - <check level="error" class="org.scalastyle.file.WhitespaceEndOfLineChecker" enabled="false"></check> |
55 |
| - <check level="error" class="org.scalastyle.scalariform.SpacesBeforePlusChecker" enabled="true"></check> |
| 53 | + <check level="error" class="org.scalastyle.scalariform.SpacesAfterPlusChecker" enabled="true"/> |
| 54 | + <check level="error" class="org.scalastyle.file.WhitespaceEndOfLineChecker" enabled="false"/> |
| 55 | + <check level="error" class="org.scalastyle.scalariform.SpacesBeforePlusChecker" enabled="true"/> |
56 | 56 | <check level="error" class="org.scalastyle.file.FileLineLengthChecker" enabled="true">
|
57 | 57 | <parameters>
|
58 | 58 | <parameter name="maxLineLength"><![CDATA[120]]></parameter>
|
|
62 | 62 | </check>
|
63 | 63 | <check level="error" class="org.scalastyle.scalariform.ClassNamesChecker" enabled="true">
|
64 | 64 | <parameters>
|
65 |
| - <parameter name="regex"><![CDATA[[A-Z][A-Za-z]*]]></parameter> |
| 65 | + <parameter name="regex"><![CDATA[[A-Z][A-Za-z0-9]*]]></parameter> |
66 | 66 | </parameters>
|
67 | 67 | </check>
|
68 | 68 | <check level="error" class="org.scalastyle.scalariform.ObjectNamesChecker" enabled="true">
|
69 | 69 | <parameters>
|
70 |
| - <parameter name="regex"><![CDATA[[A-Z][A-Za-z]*]]></parameter> |
| 70 | + <parameter name="regex"><![CDATA[[A-Z][A-Za-z0-9]*]]></parameter> |
71 | 71 | </parameters>
|
72 | 72 | </check>
|
73 | 73 | <check level="error" class="org.scalastyle.scalariform.PackageObjectNamesChecker" enabled="true">
|
74 | 74 | <parameters>
|
75 |
| - <parameter name="regex"><![CDATA[^[a-z][A-Za-z]*$]]></parameter> |
| 75 | + <parameter name="regex"><![CDATA[^[a-z][A-Za-z0-9]*$]]></parameter> |
76 | 76 | </parameters>
|
77 | 77 | </check>
|
78 |
| - <check level="error" class="org.scalastyle.scalariform.EqualsHashCodeChecker" enabled="false"></check> |
| 78 | + <check level="error" class="org.scalastyle.scalariform.EqualsHashCodeChecker" enabled="false"/> |
79 | 79 | <!-- <check level="error" class="org.scalastyle.scalariform.IllegalImportsChecker" enabled="true"> -->
|
80 | 80 | <!-- <parameters> -->
|
81 | 81 | <!-- <parameter name="illegalImports"><![CDATA[sun._,java.awt._]]></parameter> -->
|
|
91 | 91 | <!-- <parameter name="ignore"><![CDATA[-1,0,1,2,3]]></parameter> -->
|
92 | 92 | <!-- </parameters> -->
|
93 | 93 | <!-- </check> -->
|
94 |
| - <check level="error" class="org.scalastyle.scalariform.NoWhitespaceBeforeLeftBracketChecker" enabled="false"></check> |
95 |
| - <check level="error" class="org.scalastyle.scalariform.NoWhitespaceAfterLeftBracketChecker" enabled="false"></check> |
| 94 | + <check level="error" class="org.scalastyle.scalariform.NoWhitespaceBeforeLeftBracketChecker" enabled="false"/> |
| 95 | + <check level="error" class="org.scalastyle.scalariform.NoWhitespaceAfterLeftBracketChecker" enabled="false"/> |
96 | 96 | <!-- <check level="error" class="org.scalastyle.scalariform.ReturnChecker" enabled="true"></check> -->
|
97 | 97 | <!-- <check level="error" class="org.scalastyle.scalariform.NullChecker" enabled="true"></check> -->
|
98 | 98 | <!-- <check level="error" class="org.scalastyle.scalariform.NoCloneChecker" enabled="true"></check> -->
|
|
114 | 114 | <!-- <parameter name="maximum"><![CDATA[10]]></parameter> -->
|
115 | 115 | <!-- </parameters> -->
|
116 | 116 | <!-- </check> -->
|
117 |
| - <check level="error" class="org.scalastyle.scalariform.UppercaseLChecker" enabled="true"></check> |
118 |
| - <check level="error" class="org.scalastyle.scalariform.SimplifyBooleanExpressionChecker" enabled="false"></check> |
| 117 | + <check level="error" class="org.scalastyle.scalariform.UppercaseLChecker" enabled="true"/> |
| 118 | + <check level="error" class="org.scalastyle.scalariform.SimplifyBooleanExpressionChecker" enabled="false"/> |
119 | 119 | <check level="error" class="org.scalastyle.scalariform.IfBraceChecker" enabled="true">
|
120 | 120 | <parameters>
|
121 | 121 | <parameter name="singleLineAllowed"><![CDATA[true]]></parameter>
|
|
137 | 137 | <!-- <parameter name="maxMethods"><![CDATA[30]]></parameter> -->
|
138 | 138 | <!-- </parameters> -->
|
139 | 139 | <!-- </check> -->
|
140 |
| - <check level="error" class="org.scalastyle.scalariform.PublicMethodsHaveTypeChecker" enabled="true"></check> |
141 |
| - <check level="error" class="org.scalastyle.file.NewLineAtEofChecker" enabled="true"></check> |
142 |
| - <check level="error" class="org.scalastyle.file.NoNewLineAtEofChecker" enabled="false"></check> |
143 |
| - <check level="error" class="org.apache.spark.scalastyle.NonASCIICharacterChecker" enabled="false"></check> |
144 |
| - <check level="error" class="org.scalastyle.scalariform.SpaceAfterCommentStartChecker" enabled="true"></check> |
| 140 | + <check level="error" class="org.scalastyle.scalariform.PublicMethodsHaveTypeChecker" enabled="true"/> |
| 141 | + <check level="error" class="org.scalastyle.file.NewLineAtEofChecker" enabled="true"/> |
| 142 | + <check level="error" class="org.scalastyle.file.NoNewLineAtEofChecker" enabled="false"/> |
| 143 | + <check level="error" class="org.apache.spark.scalastyle.NonASCIICharacterChecker" enabled="false"/> |
| 144 | + <check level="error" class="org.scalastyle.scalariform.SpaceAfterCommentStartChecker" enabled="true"/> |
145 | 145 | </scalastyle>
|
0 commit comments