UNPKG

29.8 kBJSONView Raw
1{
2 "align": {
3 "issueClass": "Non-SDL",
4 "issueType": "Warning",
5 "severity": "Low",
6 "level": "Opportunity for Excellence",
7 "group": "Whitespace",
8 "recommendation": "[true, \"parameters\", \"arguments\", \"statements\"],",
9 "commonWeaknessEnumeration": "398, 710"
10 },
11 "arrow-parens": {
12 "issueClass": "Ignored",
13 "issueType": "Warning",
14 "severity": "Low",
15 "level": "Opportunity for Excellence",
16 "group": "Clarity",
17 "recommendation": "false, // for simple functions the parens on arrow functions are not needed",
18 "commonWeaknessEnumeration": "710"
19 },
20 "ban": {
21 "issueClass": "Ignored",
22 "issueType": "Error",
23 "severity": "Critical",
24 "level": "Opportunity for Excellence",
25 "group": "Configurable",
26 "recommendation": "false, // only enable this if you have some code pattern that you want to ban"
27 },
28 "class-name": {
29 "issueClass": "Non-SDL",
30 "issueType": "Error",
31 "severity": "Critical",
32 "level": "Opportunity for Excellence",
33 "group": "Clarity",
34 "commonWeaknessEnumeration": "398, 710"
35 },
36 "comment-format": {
37 "issueClass": "Non-SDL",
38 "issueType": "Warning",
39 "severity": "Low",
40 "level": "Opportunity for Excellence",
41 "group": "Clarity",
42 "commonWeaknessEnumeration": "398, 710"
43 },
44 "curly": {
45 "issueClass": "Non-SDL",
46 "issueType": "Warning",
47 "severity": "Low",
48 "level": "Opportunity for Excellence",
49 "group": "Whitespace",
50 "commonWeaknessEnumeration": "483, 710"
51 },
52 "eofline": {
53 "issueClass": "Ignored",
54 "issueType": "Warning",
55 "severity": "Low",
56 "level": "Opportunity for Excellence",
57 "group": "Whitespace",
58 "commonWeaknessEnumeration": "710"
59 },
60 "forin": {
61 "issueClass": "Non-SDL",
62 "issueType": "Warning",
63 "severity": "Important",
64 "level": "Opportunity for Excellence",
65 "group": "Correctness",
66 "commonWeaknessEnumeration": "398, 710"
67 },
68 "indent": {
69 "issueClass": "Non-SDL",
70 "issueType": "Warning",
71 "severity": "Low",
72 "level": "Opportunity for Excellence",
73 "group": "Whitespace",
74 "recommendation": "[true, \"spaces\"],",
75 "commonWeaknessEnumeration": "398, 710"
76 },
77 "interface-name": {
78 "issueClass": "Non-SDL",
79 "issueType": "Warning",
80 "severity": "Important",
81 "level": "Opportunity for Excellence",
82 "group": "Clarity",
83 "commonWeaknessEnumeration": "398, 710"
84 },
85 "jsdoc-format": {
86 "issueClass": "Non-SDL",
87 "issueType": "Warning",
88 "severity": "Low",
89 "level": "Opportunity for Excellence",
90 "group": "Clarity",
91 "commonWeaknessEnumeration": "398, 710"
92 },
93 "label-position": {
94 "issueClass": "Non-SDL",
95 "issueType": "Error",
96 "severity": "Critical",
97 "level": "Opportunity for Excellence",
98 "group": "Correctness",
99 "commonWeaknessEnumeration": "670"
100 },
101 "label-undefined": {
102 "issueClass": "Non-SDL",
103 "issueType": "Error",
104 "severity": "Critical",
105 "level": "Opportunity for Excellence",
106 "group": "Correctness",
107 "commonWeaknessEnumeration": "670"
108 },
109 "linebreak-style": {
110 "issueClass": "Non-SDL",
111 "issueType": "Warning",
112 "severity": "Low",
113 "level": "Opportunity for Excellence",
114 "group": "Whitespace",
115 "commonWeaknessEnumeration": "398, 710"
116 },
117 "max-file-line-count": {
118 "issueClass": "Non-SDL",
119 "issueType": "Warning",
120 "severity": "Moderate",
121 "level": "Opportunity for Excellence",
122 "group": "Clarity",
123 "commonWeaknessEnumeration": "398, 710"
124 },
125 "max-line-length": {
126 "issueClass": "Non-SDL",
127 "issueType": "Warning",
128 "severity": "Low",
129 "level": "Opportunity for Excellence",
130 "group": "Clarity",
131 "recommendation": "[true, 140],",
132 "commonWeaknessEnumeration": "398, 710"
133 },
134 "member-access": {
135 "issueClass": "Non-SDL",
136 "issueType": "Warning",
137 "severity": "Low",
138 "level": "Opportunity for Excellence",
139 "group": "Clarity",
140 "commonWeaknessEnumeration": "398, 710"
141 },
142 "member-ordering": {
143 "issueClass": "Non-SDL",
144 "issueType": "Warning",
145 "severity": "Low",
146 "level": "Opportunity for Excellence",
147 "group": "Clarity",
148 "recommendation": "[true, { \"order\": \"fields-first\" }],",
149 "commonWeaknessEnumeration": "398, 710"
150 },
151 "new-parens": {
152 "issueClass": "Non-SDL",
153 "issueType": "Warning",
154 "severity": "Low",
155 "level": "Opportunity for Excellence",
156 "group": "Clarity",
157 "commonWeaknessEnumeration": "710"
158 },
159 "no-angle-bracket-type-assertion": {
160 "issueClass": "Ignored",
161 "issueType": "Warning",
162 "severity": "Important",
163 "level": "Opportunity for Excellence",
164 "group": "Configurable",
165 "recommendation": "false, // pick either type-cast format and use it consistently",
166 "commonWeaknessEnumeration": "398, 710"
167 },
168 "no-any": {
169 "issueClass": "Non-SDL",
170 "issueType": "Warning",
171 "severity": "Important",
172 "level": "Opportunity for Excellence",
173 "group": "Correctness",
174 "commonWeaknessEnumeration": "398, 710"
175 },
176 "no-arg": {
177 "issueClass": "Non-SDL",
178 "issueType": "Error",
179 "severity": "Critical",
180 "level": "Opportunity for Excellence",
181 "group": "Correctness",
182 "commonWeaknessEnumeration": "398, 710"
183 },
184 "no-bitwise": {
185 "issueClass": "Non-SDL",
186 "issueType": "Warning",
187 "severity": "Low",
188 "level": "Opportunity for Excellence",
189 "group": "Correctness",
190 "commonWeaknessEnumeration": "710"
191 },
192 "no-conditional-assignment": {
193 "issueClass": "Non-SDL",
194 "issueType": "Warning",
195 "severity": "Important",
196 "level": "Opportunity for Excellence",
197 "group": "Correctness",
198 "commonWeaknessEnumeration": "480, 481, 710"
199 },
200 "no-consecutive-blank-lines": {
201 "issueClass": "Non-SDL",
202 "issueType": "Warning",
203 "severity": "Low",
204 "level": "Opportunity for Excellence",
205 "group": "Whitespace",
206 "commonWeaknessEnumeration": "710"
207 },
208 "no-console": {
209 "issueClass": "Non-SDL",
210 "issueType": "Warning",
211 "severity": "Moderate",
212 "level": "Opportunity for Excellence",
213 "group": "Correctness",
214 "recommendation": "[true, \"debug\", \"info\", \"log\", \"time\", \"timeEnd\", \"trace\"],",
215 "commonWeaknessEnumeration": "710"
216 },
217 "no-construct": {
218 "issueClass": "Non-SDL",
219 "issueType": "Warning",
220 "severity": "Moderate",
221 "level": "Opportunity for Excellence",
222 "group": "Clarity",
223 "commonWeaknessEnumeration": "710"
224 },
225 "no-constructor-vars": {
226 "issueClass": "Non-SDL",
227 "issueType": "Warning",
228 "severity": "Moderate",
229 "level": "Opportunity for Excellence",
230 "group": "Clarity",
231 "commonWeaknessEnumeration": "710"
232 },
233 "no-debugger": {
234 "issueClass": "Non-SDL",
235 "issueType": "Warning",
236 "severity": "Important",
237 "level": "Opportunity for Excellence",
238 "group": "Correctness",
239 "commonWeaknessEnumeration": "398, 710"
240 },
241 "no-default-export": {
242 "issueClass": "Ignored",
243 "issueType": "Warning",
244 "severity": "Important",
245 "level": "Opportunity for Excellence",
246 "group": "Clarity",
247 "commonWeaknessEnumeration": "710"
248 },
249 "no-duplicate-variable": {
250 "issueClass": "Non-SDL",
251 "issueType": "Error",
252 "severity": "Critical",
253 "level": "Opportunity for Excellence",
254 "group": "Correctness",
255 "commonWeaknessEnumeration": "398"
256 },
257 "no-empty": {
258 "issueClass": "Non-SDL",
259 "issueType": "Warning",
260 "severity": "Moderate",
261 "level": "Opportunity for Excellence",
262 "group": "Correctness",
263 "commonWeaknessEnumeration": "398"
264 },
265 "no-eval": {
266 "issueClass": "SDL",
267 "issueType": "Error",
268 "severity": "Critical",
269 "level": "Mandatory",
270 "group": "Security",
271 "commonWeaknessEnumeration": "95, 676, 242, 116"
272 },
273 "no-for-in-array": {
274 "issueClass": "Non-SDL",
275 "issueType": "Warning",
276 "severity": "Low",
277 "level": "Opportunity for Excellence",
278 "group": "Correctness"
279 },
280 "no-inferrable-types": {
281 "issueClass": "Ignored",
282 "issueType": "Warning",
283 "severity": "Important",
284 "level": "Opportunity for Excellence",
285 "group": "Clarity",
286 "recommendation": "false, // turn no-inferrable-types off in order to make the code consistent in its use of type decorations",
287 "commonWeaknessEnumeration": "710"
288 },
289 "no-internal-module": {
290 "issueClass": "Ignored",
291 "issueType": "Warning",
292 "severity": "Important",
293 "level": "Opportunity for Excellence",
294 "group": "Configurable",
295 "recommendation": "false, // only enable this if you are not using internal modules",
296 "commonWeaknessEnumeration": "710"
297 },
298 "no-invalid-this": {
299 "issueClass": "Non-SDL",
300 "issueType": "Error",
301 "severity": "Critical",
302 "level": "Opportunity for Excellence",
303 "group": "Correctness"
304 },
305 "no-mergeable-namespace": {
306 "issueClass": "Ignored",
307 "issueType": "Warning",
308 "severity": "Important",
309 "level": "Opportunity for Excellence",
310 "group": "Configurable",
311 "recommendation": "false, // your project may require mergeable namespaces",
312 "commonWeaknessEnumeration": "710"
313 },
314 "no-namespace": {
315 "issueClass": "Ignored",
316 "issueType": "Warning",
317 "severity": "Important",
318 "level": "Opportunity for Excellence",
319 "group": "Configurable",
320 "recommendation": "false, // only enable this if you are not using modules/namespaces",
321 "commonWeaknessEnumeration": "710"
322 },
323 "no-null-keyword": {
324 "issueClass": "Ignored",
325 "issueType": "Warning",
326 "severity": "Important",
327 "level": "Opportunity for Excellence",
328 "group": "Clarity",
329 "recommendation": "false, // turn no-null-keyword off and use undefined to mean not initialized and null to mean without a value",
330 "commonWeaknessEnumeration": "710"
331 },
332 "no-reference": {
333 "issueClass": "Ignored",
334 "issueType": "Warning",
335 "severity": "Important",
336 "level": "Opportunity for Excellence",
337 "group": "Configurable",
338 "recommendation": "true, // in general you should use a module system and not /// reference imports",
339 "commonWeaknessEnumeration": "398, 710"
340 },
341 "no-require-imports": {
342 "issueClass": "Ignored",
343 "issueType": "Warning",
344 "severity": "Important",
345 "level": "Opportunity for Excellence",
346 "group": "Clarity",
347 "commonWeaknessEnumeration": "710"
348 },
349 "no-shadowed-variable": {
350 "issueClass": "Non-SDL",
351 "issueType": "Warning",
352 "severity": "Important",
353 "level": "Opportunity for Excellence",
354 "group": "Clarity",
355 "commonWeaknessEnumeration": "398, 710"
356 },
357 "no-string-literal": {
358 "issueClass": "Non-SDL",
359 "issueType": "Warning",
360 "severity": "Important",
361 "level": "Opportunity for Excellence",
362 "group": "Correctness",
363 "commonWeaknessEnumeration": "398, 710"
364 },
365 "no-switch-case-fall-through": {
366 "issueClass": "Non-SDL",
367 "description": "Deprecated - This rule is now enforced by the TypeScript compiler",
368 "issueType": "Warning",
369 "severity": "Low",
370 "level": "Opportunity for Excellence",
371 "group": "Deprecated",
372 "recommendation": "false, // now supported by TypeScript compiler",
373 "commonWeaknessEnumeration": "398, 484, 710"
374 },
375 "no-trailing-whitespace": {
376 "issueClass": "Non-SDL",
377 "issueType": "Warning",
378 "severity": "Low",
379 "level": "Opportunity for Excellence",
380 "group": "Whitespace",
381 "commonWeaknessEnumeration": "398, 710"
382 },
383 "no-unreachable": {
384 "issueClass": "Non-SDL",
385 "description": "Deprecated - This rule is now enforced by the TypeScript compiler",
386 "issueType": "Error",
387 "severity": "Critical",
388 "level": "Opportunity for Excellence",
389 "group": "Deprecated",
390 "recommendation": "false, // now supported by TypeScript compiler"
391 },
392 "no-unsafe-finally": {
393 "issueClass": "Non-SDL",
394 "issueType": "Warning",
395 "severity": "Important",
396 "level": "Opportunity for Excellence",
397 "group": "Correctness",
398 "commonWeaknessEnumeration": "398, 584, 710"
399 },
400 "no-unused-expression": {
401 "issueClass": "Non-SDL",
402 "issueType": "Warning",
403 "severity": "Moderate",
404 "level": "Opportunity for Excellence",
405 "group": "Correctness",
406 "commonWeaknessEnumeration": "398, 563, 710"
407 },
408 "no-unused-new": {
409 "issueClass": "Non-SDL",
410 "issueType": "Warning",
411 "severity": "Moderate",
412 "level": "Opportunity for Excellence",
413 "group": "Correctness",
414 "commonWeaknessEnumeration": "398, 563, 710"
415 },
416 "no-unused-variable": {
417 "description": "Deprecated - This rule is now enforced by the TypeScript compiler",
418 "issueClass": "Ignored",
419 "issueType": "Warning",
420 "severity": "Important",
421 "level": "Opportunity for Excellence",
422 "group": "Ignored",
423 "commonWeaknessEnumeration": "398, 563, 710"
424 },
425 "no-use-before-declare": {
426 "issueClass": "Non-SDL",
427 "issueType": "Error",
428 "severity": "Critical",
429 "level": "Opportunity for Excellence",
430 "group": "Correctness",
431 "commonWeaknessEnumeration": "398, 456, 710"
432 },
433 "no-var-keyword": {
434 "issueClass": "Non-SDL",
435 "issueType": "Warning",
436 "severity": "Important",
437 "level": "Opportunity for Excellence",
438 "group": "Clarity",
439 "commonWeaknessEnumeration": "398, 705, 710"
440 },
441 "no-var-requires": {
442 "issueClass": "Non-SDL",
443 "issueType": "Warning",
444 "severity": "Low",
445 "level": "Opportunity for Excellence",
446 "group": "Clarity",
447 "commonWeaknessEnumeration": "710"
448 },
449 "object-literal-key-quotes": {
450 "issueClass": "Non-SDL",
451 "issueType": "Warning",
452 "severity": "Low",
453 "level": "Opportunity for Excellence",
454 "group": "Whitespace",
455 "recommendation": "[true, \"as-needed\"],",
456 "commonWeaknessEnumeration": "398, 710"
457 },
458 "object-literal-sort-keys": {
459 "issueClass": "Ignored",
460 "issueType": "Warning",
461 "severity": "Important",
462 "level": "Opportunity for Excellence",
463 "group": "Clarity",
464 "recommendation": "false, // turn object-literal-sort-keys off and sort keys in a meaningful manner",
465 "commonWeaknessEnumeration": "710"
466 },
467 "one-line": {
468 "issueClass": "Non-SDL",
469 "issueType": "Warning",
470 "severity": "Low",
471 "level": "Opportunity for Excellence",
472 "group": "Whitespace",
473 "recommendation": "[true, \"check-open-brace\", \"check-catch\", \"check-else\", \"check-whitespace\"],",
474 "commonWeaknessEnumeration": "398, 710"
475 },
476 "one-variable-per-declaration": {
477 "issueClass": "Non-SDL",
478 "issueType": "Warning",
479 "severity": "Moderate",
480 "level": "Opportunity for Excellence",
481 "group": "Clarity",
482 "commonWeaknessEnumeration": "710"
483 },
484 "only-arrow-functions": {
485 "issueClass": "Ignored",
486 "issueType": "Warning",
487 "severity": "Important",
488 "level": "Opportunity for Excellence",
489 "group": "Clarity",
490 "recommendation": "false, // there are many valid reasons to declare a function",
491 "commonWeaknessEnumeration": "710"
492 },
493 "ordered-imports": {
494 "issueClass": "Non-SDL",
495 "issueType": "Warning",
496 "severity": "Important",
497 "level": "Opportunity for Excellence",
498 "group": "Clarity",
499 "commonWeaknessEnumeration": "398, 710"
500 },
501 "quotemark": {
502 "issueClass": "Non-SDL",
503 "issueType": "Warning",
504 "severity": "Low",
505 "level": "Opportunity for Excellence",
506 "group": "Whitespace",
507 "recommendation": "[true, \"single\"],",
508 "commonWeaknessEnumeration": "398, 710"
509 },
510 "radix": {
511 "issueClass": "Non-SDL",
512 "issueType": "Warning",
513 "severity": "Low",
514 "level": "Opportunity for Excellence",
515 "group": "Correctness",
516 "commonWeaknessEnumeration": "710"
517 },
518 "restrict-plus-operands": {
519 "issueClass": "Non-SDL",
520 "issueType": "Warning",
521 "severity": "Moderate",
522 "level": "Opportunity for Excellence",
523 "group": "Correctness",
524 "recommendation": "true, // the plus operand should really only be used for strings and numbers",
525 "commonWeaknessEnumeration": "398, 597, 351, 480, 704, 710"
526 },
527 "semicolon": {
528 "issueClass": "Non-SDL",
529 "issueType": "Warning",
530 "severity": "Moderate",
531 "level": "Opportunity for Excellence",
532 "group": "Whitespace",
533 "recommendation": "[true, \"always\"],",
534 "commonWeaknessEnumeration": "398, 710"
535 },
536 "switch-default": {
537 "issueClass": "Non-SDL",
538 "issueType": "Warning",
539 "severity": "Moderate",
540 "level": "Opportunity for Excellence",
541 "group": "Correctness",
542 "commonWeaknessEnumeration": "398, 474, 710"
543 },
544 "trailing-comma": {
545 "issueClass": "Non-SDL",
546 "issueType": "Warning",
547 "severity": "Low",
548 "level": "Opportunity for Excellence",
549 "group": "Whitespace",
550 "recommendation": "[true, {\"singleline\": \"never\", \"multiline\": \"never\"}], // forcing trailing commas for multi-line\n // lists results in lists that are easier to reorder and version control diffs that are more clear.\n // Many teams like to have multiline be 'always'. There is no clear consensus on this rule but the\n // internal MS JavaScript coding standard does discourage it.",
551 "commonWeaknessEnumeration": "710"
552 },
553 "triple-equals": {
554 "issueClass": "Non-SDL",
555 "issueType": "Warning",
556 "severity": "Moderate",
557 "level": "Opportunity for Excellence",
558 "group": "Correctness",
559 "recommendation": "[true, \"allow-null-check\"],",
560 "commonWeaknessEnumeration": "398, 710"
561 },
562 "typedef": {
563 "issueClass": "Non-SDL",
564 "issueType": "Warning",
565 "severity": "Important",
566 "level": "Opportunity for Excellence",
567 "group": "Clarity",
568 "recommendation": "[true, \"call-signature\", \"arrow-call-signature\", \"parameter\", \"arrow-parameter\", \"property-declaration\", \"variable-declaration\", \"member-variable-declaration\"],",
569 "commonWeaknessEnumeration": "398, 710"
570 },
571 "typedef-whitespace": {
572 "issueClass": "Non-SDL",
573 "issueType": "Warning",
574 "severity": "Low",
575 "level": "Opportunity for Excellence",
576 "group": "Whitespace",
577 "recommendation": "false,",
578 "commonWeaknessEnumeration": "398, 710"
579 },
580 "use-isnan": {
581 "issueClass": "Non-SDL",
582 "issueType": "Error",
583 "severity": "Critical",
584 "level": "Opportunity for Excellence",
585 "group": "Correctness",
586 "commonWeaknessEnumeration": "398"
587 },
588 "use-strict": {
589 "issueClass": "SDL",
590 "issueType": "Error",
591 "severity": "Critical",
592 "level": "Mandatory",
593 "group": "Security",
594 "commonWeaknessEnumeration": "398, 705, 710"
595 },
596 "variable-name": {
597 "issueClass": "Non-SDL",
598 "issueType": "Warning",
599 "severity": "Important",
600 "level": "Opportunity for Excellence",
601 "group": "Clarity",
602 "commonWeaknessEnumeration": "398, 710"
603 },
604 "whitespace": {
605 "issueClass": "Non-SDL",
606 "issueType": "Warning",
607 "severity": "Low",
608 "level": "Opportunity for Excellence",
609 "group": "Whitespace",
610 "recommendation": "[true, \"check-branch\", \"check-decl\", \"check-operator\", \"check-separator\", \"check-type\"],",
611 "commonWeaknessEnumeration": "398, 710"
612 },
613 "adjacent-overload-signatures": {
614 "issueClass": "Non-SDL",
615 "issueType": "Warning",
616 "severity": "Low",
617 "group": "Clarity",
618 "level": "Opportunity for Excellence"
619 },
620 "array-type": {
621 "issueClass": "Non-SDL",
622 "issueType": "Warning",
623 "severity": "Low",
624 "group": "Clarity",
625 "recommendation": "[true, \"array\"],",
626 "level": "Opportunity for Excellence"
627 },
628 "completed-docs": {
629 "issueClass": "Non-SDL",
630 "issueType": "Warning",
631 "severity": "Low",
632 "group": "Clarity",
633 "recommendation": "[true, \"classes\"],",
634 "level": "Opportunity for Excellence"
635 },
636 "cyclomatic-complexity": {
637 "issueClass": "Non-SDL",
638 "issueType": "Warning",
639 "severity": "Low",
640 "group": "Configurable",
641 "level": "Opportunity for Excellence"
642 },
643 "file-header": {
644 "issueClass": "Ignored",
645 "issueType": "Warning",
646 "severity": "Low",
647 "group": "Configurable",
648 "recommendation": "false, // enable this rule only if you are legally required to add a file header",
649 "level": "Opportunity for Excellence"
650 },
651 "max-classes-per-file": {
652 "issueClass": "Non-SDL",
653 "issueType": "Warning",
654 "severity": "Low",
655 "group": "Clarity",
656 "recommendation": "[true, 3], // we generally recommend making one public class per file ",
657 "level": "Opportunity for Excellence"
658 },
659 "no-parameter-properties": {
660 "issueClass": "Non-SDL",
661 "issueType": "Warning",
662 "severity": "Low",
663 "group": "Clarity",
664 "recommendation": "true,",
665 "level": "Opportunity for Excellence"
666 },
667 "object-literal-shorthand": {
668 "issueClass": "Non-SDL",
669 "issueType": "Warning",
670 "severity": "Low",
671 "group": "Configurable",
672 "recommendation": "false, // object-literal-shorthand offers an abbreviation not an abstraction",
673 "level": "Opportunity for Excellence"
674 },
675 "prefer-for-of": {
676 "issueClass": "Non-SDL",
677 "issueType": "Warning",
678 "severity": "Low",
679 "group": "Clarity",
680 "recommendation": "true,",
681 "level": "Opportunity for Excellence"
682 },
683 "callable-types": {
684 "issueClass": "Non-SDL",
685 "issueType": "Warning",
686 "severity": "Low",
687 "group": "Clarity",
688 "recommendation": "true,",
689 "level": "Opportunity for Excellence"
690 },
691 "import-blacklist": {
692 "issueClass": "Ignored",
693 "issueType": "Warning",
694 "severity": "Low",
695 "group": "Configurable",
696 "recommendation": "false, // enable and configure this as you desire",
697 "level": "Opportunity for Excellence"
698 },
699 "import-spacing": {
700 "issueClass": "Non-SDL",
701 "issueType": "Warning",
702 "severity": "Low",
703 "group": "Whitespace",
704 "recommendation": "true,",
705 "level": "Opportunity for Excellence"
706 },
707 "interface-over-type-literal": {
708 "issueClass": "Ignored",
709 "issueType": "Warning",
710 "severity": "Low",
711 "group": "Configurable",
712 "recommendation": "false, // there are plenty of reasons to prefer interfaces",
713 "level": "Opportunity for Excellence"
714 },
715 "no-empty-interface": {
716 "issueClass": "Non-SDL",
717 "issueType": "Warning",
718 "severity": "Moderate",
719 "level": "Opportunity for Excellence",
720 "group": "Clarity",
721 "commonWeaknessEnumeration": "398, 710"
722 },
723 "no-inferred-empty-object-type": {
724 "issueClass": "Ignored",
725 "issueType": "Warning",
726 "severity": "Low",
727 "group": "Configurable",
728 "recommendation": "false, // if the compiler is satisfied then this is probably not an issue",
729 "level": "Opportunity for Excellence"
730 },
731 "no-magic-numbers": {
732 "issueClass": "Ignored",
733 "issueType": "Warning",
734 "severity": "Low",
735 "group": "Configurable",
736 "recommendation": "false, // by default it will find too many false positives",
737 "level": "Opportunity for Excellence"
738 },
739 "no-string-throw": {
740 "issueClass": "Non-SDL",
741 "issueType": "Warning",
742 "severity": "High",
743 "group": "Correctness",
744 "recommendation": "true,",
745 "level": "Opportunity for Excellence"
746 },
747 "no-void-expression": {
748 "issueClass": "Non-SDL",
749 "issueType": "Warning",
750 "severity": "Important",
751 "group": "Clarity",
752 "recommendation": "true,",
753 "level": "Opportunity for Excellence"
754 },
755 "prefer-const": {
756 "issueClass": "Non-SDL",
757 "issueType": "Warning",
758 "severity": "Important",
759 "group": "Clarity",
760 "recommendation": "true,",
761 "level": "Opportunity for Excellence",
762 "commonWeaknessEnumeration": "398, 705, 710"
763 },
764 "promise-function-async": {
765 "issueClass": "Non-SDL",
766 "issueType": "Warning",
767 "severity": "Important",
768 "group": "Correctness",
769 "recommendation": "true,",
770 "level": "Opportunity for Excellence"
771 },
772 "space-before-function-paren": {
773 "issueClass": "Ignored",
774 "issueType": "Warning",
775 "severity": "Low",
776 "group": "Configurable",
777 "recommendation": "false, // turn this on if this is really your coding standard",
778 "level": "Opportunity for Excellence"
779 },
780 "strict-boolean-expressions": {
781 "issueClass": "Non-SDL",
782 "issueType": "Warning",
783 "severity": "Important",
784 "group": "Correctness",
785 "recommendation": "true,",
786 "level": "Opportunity for Excellence"
787 },
788 "typeof-compare": {
789 "issueClass": "Ignored",
790 "issueType": "Warning",
791 "severity": "High",
792 "group": "Deprecated",
793 "recommendation": "false, // the valid-typeof rule is currently superior to this version",
794 "level": "Opportunity for Excellence"
795 },
796 "unified-signatures": {
797 "issueClass": "Non-SDL",
798 "issueType": "Warning",
799 "severity": "Important",
800 "group": "Clarity",
801 "recommendation": "true,",
802 "level": "Opportunity for Excellence"
803 },
804 "arrow-return-shorthand": {
805 "issueClass": "Ignored",
806 "issueType": "Warning",
807 "group": "Ignored"
808 },
809 "await-promise": {
810 "issueClass": "Non-SDL",
811 "issueType": "Warning",
812 "severity": "Important",
813 "group": "Correctness",
814 "recommendation": "true,",
815 "level": "Opportunity for Excellence"
816 },
817 "no-boolean-literal-compare": {
818 "issueClass": "Ignored",
819 "issueType": "Warning",
820 "group": "Ignored"
821 },
822 "no-floating-promises": {
823 "issueClass": "Non-SDL",
824 "issueType": "Warning",
825 "severity": "Important",
826 "group": "Correctness",
827 "recommendation": "true,",
828 "level": "Opportunity for Excellence"
829 },
830 "no-misused-new": {
831 "issueClass": "Non-SDL",
832 "issueType": "Warning",
833 "severity": "Important",
834 "group": "Correctness",
835 "recommendation": "true,",
836 "level": "Opportunity for Excellence"
837 },
838 "no-unbound-method": {
839 "issueClass": "Ignored",
840 "issueType": "Warning",
841 "group": "Ignored"
842 },
843 "no-unnecessary-initializer": {
844 "issueClass": "Non-SDL",
845 "issueType": "Warning",
846 "severity": "Important",
847 "group": "Correctness",
848 "recommendation": "true,",
849 "level": "Opportunity for Excellence"
850 },
851 "no-unnecessary-qualifier": {
852 "issueClass": "Non-SDL",
853 "issueType": "Warning",
854 "severity": "Important",
855 "group": "Clarity",
856 "recommendation": "true,",
857 "level": "Opportunity for Excellence"
858 },
859 "no-unsafe-any": {
860 "issueClass": "Non-SDL",
861 "issueType": "Warning",
862 "severity": "Important",
863 "group": "Correctness",
864 "recommendation": "true,",
865 "level": "Opportunity for Excellence"
866 },
867 "prefer-function-over-method": {
868 "issueClass": "Ignored",
869 "issueType": "Warning",
870 "group": "Ignored"
871 },
872 "prefer-method-signature": {
873 "issueClass": "Non-SDL",
874 "issueType": "Warning",
875 "severity": "Important",
876 "group": "Clarity",
877 "recommendation": "true,",
878 "level": "Opportunity for Excellence"
879 },
880 "strict-type-predicates": {
881 "issueClass": "Ignored",
882 "issueType": "Warning",
883 "group": "Ignored"
884 },
885 "ban-types": {
886 "issueClass": "Ignored",
887 "issueType": "Error",
888 "severity": "Critical",
889 "level": "Opportunity for Excellence",
890 "group": "Configurable",
891 "commonWeaknessEnumeration": "710"
892 },
893 "match-default-export-name": {
894 "issueClass": "Non-SDL",
895 "issueType": "Warning",
896 "severity": "Important",
897 "level": "Opportunity for Excellence",
898 "group": "Correctness",
899 "commonWeaknessEnumeration": "710"
900 },
901 "newline-before-return": {
902 "issueClass": "Non-SDL",
903 "issueType": "Warning",
904 "severity": "Low",
905 "level": "Opportunity for Excellence",
906 "group": "Whitespace",
907 "commonWeaknessEnumeration": "710"
908 },
909 "no-duplicate-super": {
910 "issueClass": "Non-SDL",
911 "issueType": "Warning",
912 "severity": "Important",
913 "level": "Opportunity for Excellence",
914 "group": "Correctness",
915 "commonWeaknessEnumeration": "710"
916 },
917 "no-import-side-effect": {
918 "issueClass": "Non-SDL",
919 "issueType": "Warning",
920 "severity": "Important",
921 "level": "Opportunity for Excellence",
922 "group": "Correctness",
923 "commonWeaknessEnumeration": "710"
924 },
925 "no-invalid-template-strings": {
926 "issueClass": "Non-SDL",
927 "issueType": "Warning",
928 "severity": "Moderate",
929 "level": "Opportunity for Excellence",
930 "group": "Correctness",
931 "commonWeaknessEnumeration": "710"
932 },
933 "no-non-null-assertion": {
934 "issueClass": "Non-SDL",
935 "issueType": "Warning",
936 "severity": "Important",
937 "level": "Opportunity for Excellence",
938 "group": "Correctness",
939 "commonWeaknessEnumeration": "710"
940 },
941 "no-reference-import": {
942 "issueClass": "Non-SDL",
943 "issueType": "Warning",
944 "severity": "Important",
945 "level": "Opportunity for Excellence",
946 "group": "Correctness",
947 "commonWeaknessEnumeration": "710"
948 },
949 "no-sparse-arrays": {
950 "issueClass": "Non-SDL",
951 "issueType": "Warning",
952 "severity": "Important",
953 "level": "Opportunity for Excellence",
954 "group": "Correctness",
955 "commonWeaknessEnumeration": "710"
956 },
957 "no-unnecessary-callback-wrapper": {
958 "issueClass": "Non-SDL",
959 "issueType": "Warning",
960 "severity": "Important",
961 "level": "Opportunity for Excellence",
962 "group": "Correctness",
963 "commonWeaknessEnumeration": "710"
964 },
965 "prefer-template": {
966 "issueClass": "Non-SDL",
967 "issueType": "Warning",
968 "severity": "Important",
969 "level": "Opportunity for Excellence",
970 "group": "Clarity",
971 "commonWeaknessEnumeration": "710"
972 },
973 "return-undefined": {
974 "issueClass": "Non-SDL",
975 "issueType": "Warning",
976 "severity": "Important",
977 "level": "Opportunity for Excellence",
978 "group": "Clarity",
979 "commonWeaknessEnumeration": "710",
980 "recommendation": "false, // this actually affect the readability of the code"
981 }
982}