|
1 | 1 | align=true |
2 | 2 | align.name=enforces vertical alignment of parameters, arguments and statements |
3 | 3 | align.severity=MINOR |
| 4 | +align.debtFunc=CONSTANT_ISSUE |
| 5 | +align.debtScalar=5min |
4 | 6 |
|
5 | 7 | ban=true |
6 | 8 | ban.name=Use of this method is banned by current configuration |
7 | 9 | ban.severity=CRITICAL |
| 10 | +ban.debtFunc=CONSTANT_ISSUE |
| 11 | +ban.debtScalar=60min |
8 | 12 |
|
9 | 13 | class-name=true |
10 | 14 | class-name.name=Name must use PascalCase |
11 | 15 | class-name.severity=MAJOR |
| 16 | +class-name.debtFunc=CONSTANT_ISSUE |
| 17 | +class-name.debtScalar=5min |
12 | 18 |
|
13 | 19 | comment-format=true |
14 | 20 | comment-format.name=Comments must be correctly formatted |
15 | 21 | comment-format.severity=MINOR |
| 22 | +comment-format.debtFunc=CONSTANT_ISSUE |
| 23 | +comment-format.debtScalar=5min |
16 | 24 |
|
17 | 25 | curly=true |
18 | 26 | curly.name=enforces braces for if/for/do/while statements |
19 | 27 | curly.severity=MAJOR |
| 28 | +curly.debtFunc=CONSTANT_ISSUE |
| 29 | +curly.debtScalar=5min |
20 | 30 |
|
21 | 31 | eofline=true |
22 | 32 | eofline.name=enforces the file to end with a newline |
23 | 33 | eofline.severity=MINOR |
| 34 | +eofline.debtFunc=CONSTANT_ISSUE |
| 35 | +eofline.debtScalar=1min |
24 | 36 |
|
25 | 37 | forin=true |
26 | 38 | forin.name=enforces a for ... in statement to be filtered with an if statement |
27 | 39 | forin.severity=MAJOR |
| 40 | +forin.debtFunc=CONSTANT_ISSUE |
| 41 | +forin.debtScalar=5min |
28 | 42 |
|
29 | 43 | indent=true |
30 | 44 | indent.name=enforces consistent indentation with tabs or spaces |
31 | 45 | indent.severity=MINOR |
| 46 | +indent.debtFunc=CONSTANT_ISSUE |
| 47 | +indent.debtScalar=2min |
32 | 48 |
|
33 | 49 | interface-name=true |
34 | 50 | interface-name.name=enforces the rule that interface names must begin with a capital I |
35 | 51 | interface-name.severity=MAJOR |
| 52 | +interface-name.debtFunc=CONSTANT_ISSUE |
| 53 | +interface-name.debtScalar=1min |
36 | 54 |
|
37 | 55 | jsdoc-format=true |
38 | 56 | jsdoc-format.name=enforces basic format rules for jsdoc comments - comments starting with /** |
39 | 57 | jsdoc-format.severity=MAJOR |
| 58 | +jsdoc-format.debtFunc=CONSTANT_ISSUE |
| 59 | +jsdoc-format.debtScalar=3min |
40 | 60 |
|
41 | 61 | label-position=true |
42 | 62 | label-position.name=enforces labels only on sensible statements |
43 | 63 | label-position.severity=MAJOR |
| 64 | +label-position.debtFunc=CONSTANT_ISSUE |
| 65 | +label-position.debtScalar=20min |
44 | 66 |
|
45 | 67 | label-undefined=true |
46 | 68 | label-undefined.name=checks that labels are defined before usage |
47 | 69 | label-undefined.severity=CRITICAL |
| 70 | +label-undefined.debtFunc=CONSTANT_ISSUE |
| 71 | +label-undefined.debtScalar=5min |
48 | 72 |
|
49 | 73 | max-line-length=true |
50 | 74 | max-line-length.name=sets the maximum length of a line |
51 | 75 | max-line-length.severity=MAJOR |
| 76 | +label-undefined.debtFunc=CONSTANT_ISSUE |
| 77 | +label-undefined.debtScalar=1min |
52 | 78 |
|
53 | 79 | member-access=true |
54 | 80 | member-access.name=enforces using explicit visibility on class members |
55 | 81 | member-access.severity=MAJOR |
| 82 | +member-access.debtFunc=CONSTANT_ISSUE |
| 83 | +member-access.debtScalar=1min |
56 | 84 |
|
57 | 85 | member-ordering=true |
58 | 86 | member-ordering.name=enforces ordering of class members |
59 | 87 | member-ordering.severity=MAJOR |
| 88 | +member-ordering.debtFunc=CONSTANT_ISSUE |
| 89 | +member-ordering.debtScalar=5min |
60 | 90 |
|
61 | 91 | no-angle-bracket-type-assertion=true |
62 | 92 | no-angle-bracket-type-assertion.name=enforces use of the 'as' operator for type assertions |
63 | 93 | no-angle-bracket-type-assertion.severity=MAJOR |
| 94 | +no-angle-bracket-type-assertion.debtFunc=CONSTANT_ISSUE |
| 95 | +no-angle-bracket-type-assertion.debtScalar=5min |
64 | 96 |
|
65 | 97 | no-any=true |
66 | 98 | no-any.name='any' must not be used as a type decoration |
67 | 99 | no-any.severity=MAJOR |
| 100 | +no-any.debtFunc=CONSTANT_ISSUE |
| 101 | +no-any.debtScalar=20min |
68 | 102 |
|
69 | 103 | no-arg=true |
70 | 104 | no-arg.name=arguments.callee must not be used |
71 | 105 | no-arg.severity=MAJOR |
| 106 | +no-arg.debtFunc=CONSTANT_ISSUE |
| 107 | +no-arg.debtScalar=30min |
72 | 108 |
|
73 | 109 | no-bitwise=true |
74 | 110 | no-bitwise.name=bitwise operators must not be used |
75 | 111 | no-bitwise.severity=MAJOR |
| 112 | +no-bitwise.debtFunc=CONSTANT_ISSUE |
| 113 | +no-bitwise.debtScalar=5min |
76 | 114 |
|
77 | 115 | no-conditional-assignment=true |
78 | 116 | no-conditional-assignment.name=disallows any type of assignment in conditionals - this applies to do-while, for, if and while statements |
79 | 117 | no-conditional-assignment.severity=MAJOR |
| 118 | +no-conditional-assignment.debtFunc=CONSTANT_ISSUE |
| 119 | +no-conditional-assignment.debtScalar=5min |
80 | 120 |
|
81 | 121 | no-consecutive-blank-lines=true |
82 | 122 | no-consecutive-blank-lines.name=No more than one blank line should appear in a row |
83 | 123 | no-consecutive-blank-lines.severity=MINOR |
| 124 | +no-consecutive-blank-lines.debtFunc=CONSTANT_ISSUE |
| 125 | +no-consecutive-blank-lines.debtScalar=5min |
84 | 126 |
|
85 | 127 | no-console=true |
86 | 128 | no-console.name=Specified function must not be called on the global console object |
87 | 129 | no-console.severity=MAJOR |
| 130 | +no-console.debtFunc=CONSTANT_ISSUE |
| 131 | +no-console.debtScalar=5min |
88 | 132 |
|
89 | 133 | no-construct=true |
90 | 134 | no-construct.name=Constructors of String, Number and Boolean must not be used |
91 | 135 | no-construct.severity=MAJOR |
| 136 | +no-construct.debtFunc=CONSTANT_ISSUE |
| 137 | +no-construct.debtScalar=5min |
92 | 138 |
|
93 | 139 | no-constructor-vars=true |
94 | 140 | no-constructor-vars.name=Public and private modifiers must not be used on constructor arguments |
95 | 141 | no-constructor-vars.severity=MAJOR |
| 142 | +no-constructor-vars.debtFunc=CONSTANT_ISSUE |
| 143 | +no-constructor-vars.debtScalar=5min |
96 | 144 |
|
97 | 145 | no-debugger=true |
98 | 146 | no-debugger.name=Debugger statements are not allowed |
99 | 147 | no-debugger.severity=CRITICAL |
| 148 | +no-debugger.debtFunc=CONSTANT_ISSUE |
| 149 | +no-debugger.debtScalar=5min |
100 | 150 |
|
101 | 151 | no-duplicate-key=true |
102 | 152 | no-duplicate-key.name=Duplicate keys must not be specified in object literals |
103 | 153 | no-duplicate-key.severity=MAJOR |
| 154 | +no-duplicate-key.debtFunc=CONSTANT_ISSUE |
| 155 | +no-duplicate-key.debtScalar=5min |
104 | 156 |
|
105 | 157 | no-duplicate-variable=true |
106 | 158 | no-duplicate-variable.name=Duplicate variable definitions are not allowed |
107 | 159 | no-duplicate-variable.severity=MAJOR |
| 160 | +no-duplicate-variable.debtFunc=CONSTANT_ISSUE |
| 161 | +no-duplicate-variable.debtScalar=5min |
108 | 162 |
|
109 | 163 | no-empty=true |
110 | 164 | no-empty.name=Empty blocks are not allowed |
111 | 165 | no-empty.severity=MAJOR |
| 166 | +no-empty.debtFunc=CONSTANT_ISSUE |
| 167 | +no-empty.debtScalar=5min |
112 | 168 |
|
113 | 169 | no-eval=true |
114 | 170 | no-eval.name=Use of eval is not allowed |
115 | 171 | no-eval.severity=CRITICAL |
| 172 | +no-eval.debtFunc=CONSTANT_ISSUE |
| 173 | +no-eval.debtScalar=30min |
116 | 174 |
|
117 | 175 | no-inferrable-types=true |
118 | 176 | no-inferrable-types.name=disallows explicit type declarations for variables or parameters initialised to a number, string or boolean |
119 | 177 | no-inferrable-types.severity=MAJOR |
| 178 | +no-inferrable-types.debtFunc=CONSTANT_ISSUE |
| 179 | +no-inferrable-types.debtScalar=5min |
120 | 180 |
|
121 | 181 | no-internal-module=true |
122 | 182 | no-internal-module.name=disallows internal modules - use namespaces instead |
123 | 183 | no-internal-module.severity=MAJOR |
| 184 | +no-internal-module.debtFunc=CONSTANT_ISSUE |
| 185 | +no-internal-module.debtScalar=5min |
124 | 186 |
|
125 | 187 | no-null-keyword=true |
126 | 188 | no-null-keyword.name=disallows use of the null keyword literal |
127 | 189 | no-null-keyword.severity=MAJOR |
| 190 | +no-null-keyword.debtFunc=CONSTANT_ISSUE |
| 191 | +no-null-keyword.debtScalar=5min |
128 | 192 |
|
129 | 193 | no-require-imports=true |
130 | 194 | no-require-imports.name=disallows invocation of require() - use ES6-style imports instead |
131 | 195 | no-require-imports.severity=MAJOR |
| 196 | +no-require-imports.debtFunc=CONSTANT_ISSUE |
| 197 | +no-require-imports.debtScalar=5min |
132 | 198 |
|
133 | 199 | no-shadowed-variable=true |
134 | 200 | no-shadowed-variable.name=disallows shadowed variable declarations |
135 | 201 | no-shadowed-variable.severity=MAJOR |
| 202 | +no-shadowed-variable.debtFunc=CONSTANT_ISSUE |
| 203 | +no-shadowed-variable.debtScalar=10min |
136 | 204 |
|
137 | 205 | no-string-literal=true |
138 | 206 | no-string-literal.name=Object access via string literals is not allowed |
139 | 207 | no-string-literal.severity=MAJOR |
| 208 | +no-string-literal.debtFunc=CONSTANT_ISSUE |
| 209 | +no-string-literal.debtScalar=10min |
140 | 210 |
|
141 | 211 | no-switch-case-fall-through=true |
142 | 212 | no-switch-case-fall-through.name=Falling through one case statement to another is not allowed |
143 | 213 | no-switch-case-fall-through.severity=MAJOR |
| 214 | +no-switch-case-fall-through.debtFunc=CONSTANT_ISSUE |
| 215 | +no-switch-case-fall-through.debtScalar=5min |
144 | 216 |
|
145 | 217 | no-trailing-whitespace=true |
146 | 218 | no-trailing-whitespace.name=Trailing whitespace at the end of lines is not allowed |
147 | 219 | no-trailing-whitespace.severity=MINOR |
| 220 | +no-trailing-whitespace.debtFunc=CONSTANT_ISSUE |
| 221 | +no-trailing-whitespace.debtScalar=1min |
148 | 222 |
|
149 | 223 | no-unreachable=true |
150 | 224 | no-unreachable.name=Unreachable code after break, catch, throw and return statements is not allowed |
151 | 225 | no-unreachable.severity=MAJOR |
| 226 | +no-unreachable.debtFunc=CONSTANT_ISSUE |
| 227 | +no-unreachable.debtScalar=1min |
152 | 228 |
|
153 | 229 | no-unused-expression=true |
154 | 230 | no-unused-expression.name=Unused expressions (those that aren't assignments or function calls) are not allowed |
155 | 231 | no-unused-expression.severity=MAJOR |
| 232 | +no-unused-expression.debtFunc=CONSTANT_ISSUE |
| 233 | +no-unused-expression.debtScalar=1min |
156 | 234 |
|
157 | 235 | no-unused-variable=true |
158 | 236 | no-unused-variable.name=Unused imports, variables, functions and private class members are not allowed |
159 | 237 | no-unused-variable.severity=MAJOR |
| 238 | +no-unused-variable.debtFunc=CONSTANT_ISSUE |
| 239 | +no-unused-variable.debtScalar=1min |
160 | 240 |
|
161 | 241 | no-use-before-declare=true |
162 | 242 | no-use-before-declare.name=Variable use before declaration is not allowed |
163 | 243 | no-use-before-declare.severity=CRITICAL |
| 244 | +no-use-before-declare.debtFunc=CONSTANT_ISSUE |
| 245 | +no-use-before-declare.debtScalar=5min |
164 | 246 |
|
165 | 247 | no-var-keyword=true |
166 | 248 | no-var-keyword.name=disallows usage of the var keyword - use let or const instead |
167 | 249 | no-var-keyword.severity=MAJOR |
| 250 | +no-var-keyword.debtFunc=CONSTANT_ISSUE |
| 251 | +no-var-keyword.debtScalar=1min |
168 | 252 |
|
169 | 253 | no-var-requires=true |
170 | 254 | no-var-requires.name=Require is only allowed in import statements |
171 | 255 | no-var-requires.severity=MAJOR |
| 256 | +no-var-requires.debtFunc=CONSTANT_ISSUE |
| 257 | +no-var-requires.debtScalar=5min |
172 | 258 |
|
173 | 259 | object-literal-sort-keys=true |
174 | 260 | object-literal-sort-keys.name=checks that keys in object literals are declared in alphabetical order (useful to prevent merge conflicts) |
175 | 261 | object-literal-sort-keys.severity=MINOR |
| 262 | +object-literal-sort-keys.debtFunc=CONSTANT_ISSUE |
| 263 | +object-literal-sort-keys.debtScalar=5min |
176 | 264 |
|
177 | 265 | one-line=true |
178 | 266 | one-line.name=No newline is allowed before keyword |
179 | 267 | one-line.severity=MINOR |
| 268 | +one-line.debtFunc=CONSTANT_ISSUE |
| 269 | +one-line.debtScalar=1min |
180 | 270 |
|
181 | 271 | quotemark=true |
182 | 272 | quotemark.name=Consistent use of single or double quotes is required - a mixture is not allowed |
183 | 273 | quotemark.severity=MAJOR |
| 274 | +quotemark.debtFunc=CONSTANT_ISSUE |
| 275 | +quotemark.debtScalar=1min |
184 | 276 |
|
185 | 277 | radix=true |
186 | 278 | radix.name=A radix must be specified when calling parseInt |
187 | 279 | radix.severity=CRITICAL |
| 280 | +radix.debtFunc=CONSTANT_ISSUE |
| 281 | +radix.debtScalar=1min |
188 | 282 |
|
189 | 283 | semicolon=true |
190 | 284 | semicolon.name=Statement must end with a semicolon |
191 | 285 | semicolon.severity=MAJOR |
| 286 | +semicolon.debtFunc=CONSTANT_ISSUE |
| 287 | +semicolon.debtScalar=1min |
192 | 288 |
|
193 | 289 | switch-default=true |
194 | 290 | switch-default.name=enforces a default case in switch statements |
195 | 291 | switch-default.severity=MAJOR |
| 292 | +switch-default.debtFunc=CONSTANT_ISSUE |
| 293 | +switch-default.debtScalar=5min |
196 | 294 |
|
197 | 295 | trailing-comma=true |
198 | 296 | trailing-comma.name=enforces a standard for trailing commas within array and object literals, destructuring assignment and named imports |
199 | 297 | trailing-comma.severity=MINOR |
| 298 | +trailing-comma.debtFunc=CONSTANT_ISSUE |
| 299 | +trailing-comma.debtScalar=1min |
200 | 300 |
|
201 | 301 | triple-equals=true |
202 | 302 | triple-equals.name=== and != must not be used - use === or !== instead |
203 | 303 | triple-equals.severity=MAJOR |
| 304 | +triple-equals.debtFunc=CONSTANT_ISSUE |
| 305 | +triple-equals.debtScalar=5min |
204 | 306 |
|
205 | 307 | typedef=true |
206 | 308 | typedef.name=Type definition must be specified |
207 | 309 | typedef.severity=MAJOR |
| 310 | +typedef.debtFunc=CONSTANT_ISSUE |
| 311 | +typedef.debtScalar=5min |
208 | 312 |
|
209 | 313 | typedef-whitespace=true |
210 | 314 | typedef-whitespace.name=Whitespace around type definitions must be correct |
211 | 315 | typedef-whitespace.severity=MINOR |
| 316 | +typedef-whitespace.debtFunc=CONSTANT_ISSUE |
| 317 | +typedef-whitespace.debtScalar=5min |
212 | 318 |
|
213 | 319 | use-strict=true |
214 | 320 | use-strict.name=Strict mode must be used |
215 | 321 | use-strict.severity=CRITICAL |
| 322 | +use-strict.debtFunc=CONSTANT_ISSUE |
| 323 | +use-strict.debtScalar=5min |
216 | 324 |
|
217 | 325 | variable-name=true |
218 | 326 | variable-name.name=Variable names must be either camelCased or UPPER_CASED |
219 | 327 | variable-name.severity=MAJOR |
| 328 | +variable-name.debtFunc=CONSTANT_ISSUE |
| 329 | +variable-name.debtScalar=5min |
220 | 330 |
|
221 | 331 | whitespace=true |
222 | 332 | whitespace.name=Inappropriate whitespace between tokens |
223 | 333 | whitespace.severity=MINOR |
| 334 | +whitespace.debtFunc=CONSTANT_ISSUE |
| 335 | +whitespace.debtScalar=5min |
0 commit comments