blob: cb04d518ac3107c08316e4455f95184a38c40e4a (
plain)
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
export declare const rules: {
"adjacent-overload-signatures": boolean;
"ban-types": {
options: string[][];
};
"member-access": (string | boolean)[];
"member-ordering": (boolean | {
"order": string;
"alphabetize": boolean;
})[];
"no-any": boolean;
"no-empty-interface": boolean;
"no-import-side-effect": boolean;
"no-inferrable-types": (string | boolean)[];
"no-internal-module": boolean;
"no-magic-numbers": boolean;
"no-namespace": boolean;
"no-non-null-assertion": boolean;
"no-reference": boolean;
"no-this-assignment": boolean;
"no-var-requires": boolean;
"only-arrow-functions": boolean;
"prefer-for-of": boolean;
"promise-function-async": boolean;
"typedef": (string | boolean)[];
"typedef-whitespace": (boolean | {
"call-signature": string;
"index-signature": string;
"parameter": string;
"property-declaration": string;
"variable-declaration": string;
})[];
"unified-signatures": boolean;
"await-promise": boolean;
"curly": boolean;
"forin": boolean;
"label-position": boolean;
"no-arg": boolean;
"no-bitwise": boolean;
"no-conditional-assignment": boolean;
"no-console": boolean;
"no-construct": boolean;
"no-debugger": boolean;
"no-duplicate-super": boolean;
"no-duplicate-variable": (string | boolean)[];
"no-empty": boolean;
"no-eval": boolean;
"no-floating-promises": boolean;
"no-for-in-array": boolean;
"no-inferred-empty-object-type": boolean;
"no-invalid-template-strings": boolean;
"no-misused-new": boolean;
"no-null-keyword": boolean;
"no-object-literal-type-assertion": boolean;
"no-shadowed-variable": boolean;
"no-string-literal": boolean;
"no-string-throw": boolean;
"no-sparse-arrays": boolean;
"no-submodule-imports": boolean;
"no-unbound-method": boolean;
"no-unsafe-any": boolean;
"no-unsafe-finally": boolean;
"no-unused-expression": boolean;
"no-unused-variable": boolean;
"no-use-before-declare": boolean;
"no-var-keyword": boolean;
"no-void-expression": boolean;
"prefer-conditional-expression": boolean;
"radix": boolean;
"restrict-plus-operands": boolean;
"strict-boolean-expressions": boolean;
"strict-type-predicates": boolean;
"switch-default": boolean;
"triple-equals": boolean;
"use-default-type-parameter": boolean;
"use-isnan": boolean;
"cyclomatic-complexity": boolean;
"eofline": boolean;
"indent": (string | boolean)[];
"linebreak-style": (string | boolean)[];
"max-classes-per-file": (number | boolean)[];
"max-file-line-count": (number | boolean)[];
"max-line-length": (number | boolean)[];
"no-default-export": boolean;
"no-duplicate-imports": boolean;
"no-irregular-whitespace": boolean;
"no-mergeable-namespace": boolean;
"no-parameter-reassignment": boolean;
"no-require-imports": boolean;
"no-trailing-whitespace": boolean;
"object-literal-sort-keys": boolean;
"prefer-const": boolean;
"trailing-comma": (boolean | {
"multiline": string;
"singleline": string;
})[];
"align": (string | boolean)[];
"array-type": (string | boolean)[];
"arrow-parens": boolean;
"arrow-return-shorthand": (string | boolean)[];
"binary-expression-operand-order": boolean;
"callable-types": boolean;
"class-name": boolean;
"comment-format": (string | boolean)[];
"completed-docs": boolean;
"deprecation": boolean;
"encoding": boolean;
"import-spacing": boolean;
"interface-name": boolean;
"interface-over-type-literal": boolean;
"jsdoc-format": boolean;
"match-default-export-name": boolean;
"new-parens": boolean;
"newline-before-return": boolean;
"no-angle-bracket-type-assertion": boolean;
"no-boolean-literal-compare": boolean;
"no-consecutive-blank-lines": boolean;
"no-parameter-properties": boolean;
"no-reference-import": boolean;
"no-unnecessary-callback-wrapper": boolean;
"no-unnecessary-initializer": boolean;
"no-unnecessary-qualifier": boolean;
"no-unnecessary-type-assertion": boolean;
"number-literal-format": boolean;
"object-literal-key-quotes": (string | boolean)[];
"object-literal-shorthand": boolean;
"one-line": (string | boolean)[];
"one-variable-per-declaration": boolean;
"ordered-imports": (boolean | {
"import-sources-order": string;
"named-imports-order": string;
})[];
"prefer-function-over-method": boolean;
"prefer-method-signature": boolean;
"prefer-object-spread": boolean;
"prefer-switch": boolean;
"prefer-template": boolean;
"quotemark": (string | boolean)[];
"return-undefined": boolean;
"semicolon": (string | boolean)[];
"space-before-function-paren": (boolean | {
"anonymous": string;
"asyncArrow": string;
"constructor": string;
"method": string;
"named": string;
})[];
"space-within-parens": (number | boolean)[];
"switch-final-break": boolean;
"type-literal-delimiter": boolean;
"variable-name": (string | boolean)[];
"whitespace": (string | boolean)[];
};
export declare const RULES_EXCLUDED_FROM_ALL_CONFIG: string[];
export declare const jsRules: {
[key: string]: any;
};
|