-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
index.d.ts
68 lines (67 loc) · 3.15 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import type { CognitiveComplexityRule } from './cognitive-complexity';
import type { ElseifWithoutElseRule } from './elseif-without-else';
import type { MaxSwitchCasesRule } from './max-switch-cases';
import type { NoAllDuplicatedBranchesRule } from './no-all-duplicated-branches';
import type { NoCollapsibleIfRule } from './no-collapsible-if';
import type { NoCollectionSizeMischeckRule } from './no-collection-size-mischeck';
import type { NoDuplicateStringRule } from './no-duplicate-string';
import type { NoDuplicatedBranchesRule } from './no-duplicated-branches';
import type { NoElementOverwriteRule } from './no-element-overwrite';
import type { NoEmptyCollectionRule } from './no-empty-collection';
import type { NoExtraArgumentsRule } from './no-extra-arguments';
import type { NoGratuitousExpressionsRule } from './no-gratuitous-expressions';
import type { NoIdenticalConditionsRule } from './no-identical-conditions';
import type { NoIdenticalExpressionsRule } from './no-identical-expressions';
import type { NoIdenticalFunctionsRule } from './no-identical-functions';
import type { NoIgnoredReturnRule } from './no-ignored-return';
import type { NoInvertedBooleanCheckRule } from './no-inverted-boolean-check';
import type { NoNestedSwitchRule } from './no-nested-switch';
import type { NoNestedTemplateLiteralsRule } from './no-nested-template-literals';
import type { NoOneIterationLoopRule } from './no-one-iteration-loop';
import type { NoRedundantBooleanRule } from './no-redundant-boolean';
import type { NoRedundantJumpRule } from './no-redundant-jump';
import type { NoSameLineConditionalRule } from './no-same-line-conditional';
import type { NoSmallSwitchRule } from './no-small-switch';
import type { NoUnusedCollectionRule } from './no-unused-collection';
import type { NoUseOfEmptyReturnValueRule } from './no-use-of-empty-return-value';
import type { NoUselessCatchRule } from './no-useless-catch';
import type { NonExistentOperatorRule } from './non-existent-operator';
import type { PreferImmediateReturnRule } from './prefer-immediate-return';
import type { PreferObjectLiteralRule } from './prefer-object-literal';
import type { PreferSingleBooleanReturnRule } from './prefer-single-boolean-return';
import type { PreferWhileRule } from './prefer-while';
/**
* All SonarJS rules.
*/
export type SonarJSRules = CognitiveComplexityRule &
ElseifWithoutElseRule &
MaxSwitchCasesRule &
NoAllDuplicatedBranchesRule &
NoCollapsibleIfRule &
NoCollectionSizeMischeckRule &
NoDuplicateStringRule &
NoDuplicatedBranchesRule &
NoElementOverwriteRule &
NoEmptyCollectionRule &
NoExtraArgumentsRule &
NoGratuitousExpressionsRule &
NoIdenticalConditionsRule &
NoIdenticalExpressionsRule &
NoIdenticalFunctionsRule &
NoIgnoredReturnRule &
NoInvertedBooleanCheckRule &
NoNestedSwitchRule &
NoNestedTemplateLiteralsRule &
NoOneIterationLoopRule &
NoRedundantBooleanRule &
NoRedundantJumpRule &
NoSameLineConditionalRule &
NoSmallSwitchRule &
NoUnusedCollectionRule &
NoUseOfEmptyReturnValueRule &
NoUselessCatchRule &
NonExistentOperatorRule &
PreferImmediateReturnRule &
PreferObjectLiteralRule &
PreferSingleBooleanReturnRule &
PreferWhileRule;