@typescript-eslint/eslint-plugin 8.29.2-alpha.1 → 8.29.2-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/configs/eslint-recommended-raw.d.ts +1 -1
- package/dist/configs/eslint-recommended-raw.d.ts.map +1 -1
- package/dist/configs/eslint-recommended-raw.js +3 -5
- package/dist/configs/{all.d.ts.map → eslintrc/all.d.ts.map} +1 -1
- package/dist/configs/eslintrc/base.d.ts.map +1 -0
- package/dist/configs/eslintrc/disable-type-checked.d.ts.map +1 -0
- package/dist/configs/{eslint-recommended.d.ts → eslintrc/eslint-recommended.d.ts} +1 -1
- package/dist/configs/eslintrc/eslint-recommended.d.ts.map +1 -0
- package/dist/configs/{eslint-recommended.js → eslintrc/eslint-recommended.js} +1 -1
- package/dist/configs/eslintrc/recommended-type-checked-only.d.ts.map +1 -0
- package/dist/configs/eslintrc/recommended-type-checked.d.ts.map +1 -0
- package/dist/configs/eslintrc/recommended.d.ts.map +1 -0
- package/dist/configs/eslintrc/strict-type-checked-only.d.ts.map +1 -0
- package/dist/configs/eslintrc/strict-type-checked.d.ts.map +1 -0
- package/dist/configs/eslintrc/strict.d.ts.map +1 -0
- package/dist/configs/eslintrc/stylistic-type-checked-only.d.ts.map +1 -0
- package/dist/configs/eslintrc/stylistic-type-checked.d.ts.map +1 -0
- package/dist/configs/eslintrc/stylistic.d.ts.map +1 -0
- package/dist/configs/flat/all.d.ts +8 -0
- package/dist/configs/flat/all.d.ts.map +1 -0
- package/dist/configs/flat/all.js +175 -0
- package/dist/configs/flat/base.d.ts +9 -0
- package/dist/configs/flat/base.d.ts.map +1 -0
- package/dist/configs/flat/base.js +17 -0
- package/dist/configs/flat/disable-type-checked.d.ts +8 -0
- package/dist/configs/flat/disable-type-checked.d.ts.map +1 -0
- package/dist/configs/flat/disable-type-checked.js +78 -0
- package/dist/configs/flat/eslint-recommended.d.ts +10 -0
- package/dist/configs/flat/eslint-recommended.d.ts.map +1 -0
- package/dist/configs/flat/eslint-recommended.js +16 -0
- package/dist/configs/flat/recommended-type-checked-only.d.ts +8 -0
- package/dist/configs/flat/recommended-type-checked-only.d.ts.map +1 -0
- package/dist/configs/flat/recommended-type-checked-only.js +53 -0
- package/dist/configs/flat/recommended-type-checked.d.ts +8 -0
- package/dist/configs/flat/recommended-type-checked.d.ts.map +1 -0
- package/dist/configs/flat/recommended-type-checked.js +76 -0
- package/dist/configs/flat/recommended.d.ts +8 -0
- package/dist/configs/flat/recommended.d.ts.map +1 -0
- package/dist/configs/flat/recommended.js +49 -0
- package/dist/configs/flat/strict-type-checked-only.d.ts +8 -0
- package/dist/configs/flat/strict-type-checked-only.d.ts.map +1 -0
- package/dist/configs/flat/strict-type-checked-only.js +91 -0
- package/dist/configs/flat/strict-type-checked.d.ts +8 -0
- package/dist/configs/flat/strict-type-checked.d.ts.map +1 -0
- package/dist/configs/flat/strict-type-checked.js +126 -0
- package/dist/configs/flat/strict.d.ts +8 -0
- package/dist/configs/flat/strict.d.ts.map +1 -0
- package/dist/configs/flat/strict.js +61 -0
- package/dist/configs/flat/stylistic-type-checked-only.d.ts +8 -0
- package/dist/configs/flat/stylistic-type-checked-only.d.ts.map +1 -0
- package/dist/configs/flat/stylistic-type-checked-only.js +35 -0
- package/dist/configs/flat/stylistic-type-checked.d.ts +8 -0
- package/dist/configs/flat/stylistic-type-checked.d.ts.map +1 -0
- package/dist/configs/flat/stylistic-type-checked.js +49 -0
- package/dist/configs/flat/stylistic.d.ts +8 -0
- package/dist/configs/flat/stylistic.d.ts.map +1 -0
- package/dist/configs/flat/stylistic.js +40 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -42
- package/dist/raw-plugin.d.ts +865 -0
- package/dist/raw-plugin.d.ts.map +1 -0
- package/dist/raw-plugin.js +121 -0
- package/package.json +11 -11
- package/raw-plugin.d.ts +25 -0
- package/dist/configs/base.d.ts.map +0 -1
- package/dist/configs/disable-type-checked.d.ts.map +0 -1
- package/dist/configs/eslint-recommended.d.ts.map +0 -1
- package/dist/configs/recommended-type-checked-only.d.ts.map +0 -1
- package/dist/configs/recommended-type-checked.d.ts.map +0 -1
- package/dist/configs/recommended.d.ts.map +0 -1
- package/dist/configs/strict-type-checked-only.d.ts.map +0 -1
- package/dist/configs/strict-type-checked.d.ts.map +0 -1
- package/dist/configs/strict.d.ts.map +0 -1
- package/dist/configs/stylistic-type-checked-only.d.ts.map +0 -1
- package/dist/configs/stylistic-type-checked.d.ts.map +0 -1
- package/dist/configs/stylistic.d.ts.map +0 -1
- package/eslint-recommended-raw.d.ts +0 -5
- /package/dist/configs/{all.d.ts → eslintrc/all.d.ts} +0 -0
- /package/dist/configs/{all.js → eslintrc/all.js} +0 -0
- /package/dist/configs/{base.d.ts → eslintrc/base.d.ts} +0 -0
- /package/dist/configs/{base.js → eslintrc/base.js} +0 -0
- /package/dist/configs/{disable-type-checked.d.ts → eslintrc/disable-type-checked.d.ts} +0 -0
- /package/dist/configs/{disable-type-checked.js → eslintrc/disable-type-checked.js} +0 -0
- /package/dist/configs/{recommended-type-checked-only.d.ts → eslintrc/recommended-type-checked-only.d.ts} +0 -0
- /package/dist/configs/{recommended-type-checked-only.js → eslintrc/recommended-type-checked-only.js} +0 -0
- /package/dist/configs/{recommended-type-checked.d.ts → eslintrc/recommended-type-checked.d.ts} +0 -0
- /package/dist/configs/{recommended-type-checked.js → eslintrc/recommended-type-checked.js} +0 -0
- /package/dist/configs/{recommended.d.ts → eslintrc/recommended.d.ts} +0 -0
- /package/dist/configs/{recommended.js → eslintrc/recommended.js} +0 -0
- /package/dist/configs/{strict-type-checked-only.d.ts → eslintrc/strict-type-checked-only.d.ts} +0 -0
- /package/dist/configs/{strict-type-checked-only.js → eslintrc/strict-type-checked-only.js} +0 -0
- /package/dist/configs/{strict-type-checked.d.ts → eslintrc/strict-type-checked.d.ts} +0 -0
- /package/dist/configs/{strict-type-checked.js → eslintrc/strict-type-checked.js} +0 -0
- /package/dist/configs/{strict.d.ts → eslintrc/strict.d.ts} +0 -0
- /package/dist/configs/{strict.js → eslintrc/strict.js} +0 -0
- /package/dist/configs/{stylistic-type-checked-only.d.ts → eslintrc/stylistic-type-checked-only.d.ts} +0 -0
- /package/dist/configs/{stylistic-type-checked-only.js → eslintrc/stylistic-type-checked-only.js} +0 -0
- /package/dist/configs/{stylistic-type-checked.d.ts → eslintrc/stylistic-type-checked.d.ts} +0 -0
- /package/dist/configs/{stylistic-type-checked.js → eslintrc/stylistic-type-checked.js} +0 -0
- /package/dist/configs/{stylistic.d.ts → eslintrc/stylistic.d.ts} +0 -0
- /package/dist/configs/{stylistic.js → eslintrc/stylistic.js} +0 -0
@@ -0,0 +1,865 @@
|
|
1
|
+
import type { TSESLint } from '@typescript-eslint/utils';
|
2
|
+
import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint';
|
3
|
+
declare const _default: {
|
4
|
+
flatConfigs: {
|
5
|
+
'flat/all': FlatConfig.ConfigArray;
|
6
|
+
'flat/base': FlatConfig.Config;
|
7
|
+
'flat/disable-type-checked': FlatConfig.Config;
|
8
|
+
'flat/eslint-recommended': FlatConfig.Config;
|
9
|
+
'flat/recommended': FlatConfig.ConfigArray;
|
10
|
+
'flat/recommended-type-checked': FlatConfig.ConfigArray;
|
11
|
+
'flat/recommended-type-checked-only': FlatConfig.ConfigArray;
|
12
|
+
'flat/strict': FlatConfig.ConfigArray;
|
13
|
+
'flat/strict-type-checked': FlatConfig.ConfigArray;
|
14
|
+
'flat/strict-type-checked-only': FlatConfig.ConfigArray;
|
15
|
+
'flat/stylistic': FlatConfig.ConfigArray;
|
16
|
+
'flat/stylistic-type-checked': FlatConfig.ConfigArray;
|
17
|
+
'flat/stylistic-type-checked-only': FlatConfig.ConfigArray;
|
18
|
+
};
|
19
|
+
parser: {
|
20
|
+
meta?: { [K in keyof TSESLint.Parser.ParserMeta]?: TSESLint.Parser.ParserMeta[K] | undefined; };
|
21
|
+
parseForESLint(text: string, options?: unknown): { [k in keyof TSESLint.Parser.ParseResult]: unknown; };
|
22
|
+
};
|
23
|
+
plugin: {
|
24
|
+
configs: {
|
25
|
+
all: {
|
26
|
+
extends: string[];
|
27
|
+
rules: {
|
28
|
+
'@typescript-eslint/adjacent-overload-signatures': "error";
|
29
|
+
'@typescript-eslint/array-type': "error";
|
30
|
+
'@typescript-eslint/await-thenable': "error";
|
31
|
+
'@typescript-eslint/ban-ts-comment': "error";
|
32
|
+
'@typescript-eslint/ban-tslint-comment': "error";
|
33
|
+
'@typescript-eslint/class-literal-property-style': "error";
|
34
|
+
'class-methods-use-this': "off";
|
35
|
+
'@typescript-eslint/class-methods-use-this': "error";
|
36
|
+
'@typescript-eslint/consistent-generic-constructors': "error";
|
37
|
+
'@typescript-eslint/consistent-indexed-object-style': "error";
|
38
|
+
'consistent-return': "off";
|
39
|
+
'@typescript-eslint/consistent-return': "error";
|
40
|
+
'@typescript-eslint/consistent-type-assertions': "error";
|
41
|
+
'@typescript-eslint/consistent-type-definitions': "error";
|
42
|
+
'@typescript-eslint/consistent-type-exports': "error";
|
43
|
+
'@typescript-eslint/consistent-type-imports': "error";
|
44
|
+
'default-param-last': "off";
|
45
|
+
'@typescript-eslint/default-param-last': "error";
|
46
|
+
'dot-notation': "off";
|
47
|
+
'@typescript-eslint/dot-notation': "error";
|
48
|
+
'@typescript-eslint/explicit-function-return-type': "error";
|
49
|
+
'@typescript-eslint/explicit-member-accessibility': "error";
|
50
|
+
'@typescript-eslint/explicit-module-boundary-types': "error";
|
51
|
+
'init-declarations': "off";
|
52
|
+
'@typescript-eslint/init-declarations': "error";
|
53
|
+
'max-params': "off";
|
54
|
+
'@typescript-eslint/max-params': "error";
|
55
|
+
'@typescript-eslint/member-ordering': "error";
|
56
|
+
'@typescript-eslint/method-signature-style': "error";
|
57
|
+
'@typescript-eslint/naming-convention': "error";
|
58
|
+
'no-array-constructor': "off";
|
59
|
+
'@typescript-eslint/no-array-constructor': "error";
|
60
|
+
'@typescript-eslint/no-array-delete': "error";
|
61
|
+
'@typescript-eslint/no-base-to-string': "error";
|
62
|
+
'@typescript-eslint/no-confusing-non-null-assertion': "error";
|
63
|
+
'@typescript-eslint/no-confusing-void-expression': "error";
|
64
|
+
'@typescript-eslint/no-deprecated': "error";
|
65
|
+
'no-dupe-class-members': "off";
|
66
|
+
'@typescript-eslint/no-dupe-class-members': "error";
|
67
|
+
'@typescript-eslint/no-duplicate-enum-values': "error";
|
68
|
+
'@typescript-eslint/no-duplicate-type-constituents': "error";
|
69
|
+
'@typescript-eslint/no-dynamic-delete': "error";
|
70
|
+
'no-empty-function': "off";
|
71
|
+
'@typescript-eslint/no-empty-function': "error";
|
72
|
+
'@typescript-eslint/no-empty-object-type': "error";
|
73
|
+
'@typescript-eslint/no-explicit-any': "error";
|
74
|
+
'@typescript-eslint/no-extra-non-null-assertion': "error";
|
75
|
+
'@typescript-eslint/no-extraneous-class': "error";
|
76
|
+
'@typescript-eslint/no-floating-promises': "error";
|
77
|
+
'@typescript-eslint/no-for-in-array': "error";
|
78
|
+
'no-implied-eval': "off";
|
79
|
+
'@typescript-eslint/no-implied-eval': "error";
|
80
|
+
'@typescript-eslint/no-import-type-side-effects': "error";
|
81
|
+
'@typescript-eslint/no-inferrable-types': "error";
|
82
|
+
'no-invalid-this': "off";
|
83
|
+
'@typescript-eslint/no-invalid-this': "error";
|
84
|
+
'@typescript-eslint/no-invalid-void-type': "error";
|
85
|
+
'no-loop-func': "off";
|
86
|
+
'@typescript-eslint/no-loop-func': "error";
|
87
|
+
'no-magic-numbers': "off";
|
88
|
+
'@typescript-eslint/no-magic-numbers': "error";
|
89
|
+
'@typescript-eslint/no-meaningless-void-operator': "error";
|
90
|
+
'@typescript-eslint/no-misused-new': "error";
|
91
|
+
'@typescript-eslint/no-misused-promises': "error";
|
92
|
+
'@typescript-eslint/no-misused-spread': "error";
|
93
|
+
'@typescript-eslint/no-mixed-enums': "error";
|
94
|
+
'@typescript-eslint/no-namespace': "error";
|
95
|
+
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': "error";
|
96
|
+
'@typescript-eslint/no-non-null-asserted-optional-chain': "error";
|
97
|
+
'@typescript-eslint/no-non-null-assertion': "error";
|
98
|
+
'no-redeclare': "off";
|
99
|
+
'@typescript-eslint/no-redeclare': "error";
|
100
|
+
'@typescript-eslint/no-redundant-type-constituents': "error";
|
101
|
+
'@typescript-eslint/no-require-imports': "error";
|
102
|
+
'no-restricted-imports': "off";
|
103
|
+
'@typescript-eslint/no-restricted-imports': "error";
|
104
|
+
'@typescript-eslint/no-restricted-types': "error";
|
105
|
+
'no-shadow': "off";
|
106
|
+
'@typescript-eslint/no-shadow': "error";
|
107
|
+
'@typescript-eslint/no-this-alias': "error";
|
108
|
+
'@typescript-eslint/no-unnecessary-boolean-literal-compare': "error";
|
109
|
+
'@typescript-eslint/no-unnecessary-condition': "error";
|
110
|
+
'@typescript-eslint/no-unnecessary-parameter-property-assignment': "error";
|
111
|
+
'@typescript-eslint/no-unnecessary-qualifier': "error";
|
112
|
+
'@typescript-eslint/no-unnecessary-template-expression': "error";
|
113
|
+
'@typescript-eslint/no-unnecessary-type-arguments': "error";
|
114
|
+
'@typescript-eslint/no-unnecessary-type-assertion': "error";
|
115
|
+
'@typescript-eslint/no-unnecessary-type-constraint': "error";
|
116
|
+
'@typescript-eslint/no-unnecessary-type-parameters': "error";
|
117
|
+
'@typescript-eslint/no-unsafe-argument': "error";
|
118
|
+
'@typescript-eslint/no-unsafe-assignment': "error";
|
119
|
+
'@typescript-eslint/no-unsafe-call': "error";
|
120
|
+
'@typescript-eslint/no-unsafe-declaration-merging': "error";
|
121
|
+
'@typescript-eslint/no-unsafe-enum-comparison': "error";
|
122
|
+
'@typescript-eslint/no-unsafe-function-type': "error";
|
123
|
+
'@typescript-eslint/no-unsafe-member-access': "error";
|
124
|
+
'@typescript-eslint/no-unsafe-return': "error";
|
125
|
+
'@typescript-eslint/no-unsafe-type-assertion': "error";
|
126
|
+
'@typescript-eslint/no-unsafe-unary-minus': "error";
|
127
|
+
'no-unused-expressions': "off";
|
128
|
+
'@typescript-eslint/no-unused-expressions': "error";
|
129
|
+
'no-unused-vars': "off";
|
130
|
+
'@typescript-eslint/no-unused-vars': "error";
|
131
|
+
'no-use-before-define': "off";
|
132
|
+
'@typescript-eslint/no-use-before-define': "error";
|
133
|
+
'no-useless-constructor': "off";
|
134
|
+
'@typescript-eslint/no-useless-constructor': "error";
|
135
|
+
'@typescript-eslint/no-useless-empty-export': "error";
|
136
|
+
'@typescript-eslint/no-wrapper-object-types': "error";
|
137
|
+
'@typescript-eslint/non-nullable-type-assertion-style': "error";
|
138
|
+
'no-throw-literal': "off";
|
139
|
+
'@typescript-eslint/only-throw-error': "error";
|
140
|
+
'@typescript-eslint/parameter-properties': "error";
|
141
|
+
'@typescript-eslint/prefer-as-const': "error";
|
142
|
+
'prefer-destructuring': "off";
|
143
|
+
'@typescript-eslint/prefer-destructuring': "error";
|
144
|
+
'@typescript-eslint/prefer-enum-initializers': "error";
|
145
|
+
'@typescript-eslint/prefer-find': "error";
|
146
|
+
'@typescript-eslint/prefer-for-of': "error";
|
147
|
+
'@typescript-eslint/prefer-function-type': "error";
|
148
|
+
'@typescript-eslint/prefer-includes': "error";
|
149
|
+
'@typescript-eslint/prefer-literal-enum-member': "error";
|
150
|
+
'@typescript-eslint/prefer-namespace-keyword': "error";
|
151
|
+
'@typescript-eslint/prefer-nullish-coalescing': "error";
|
152
|
+
'@typescript-eslint/prefer-optional-chain': "error";
|
153
|
+
'prefer-promise-reject-errors': "off";
|
154
|
+
'@typescript-eslint/prefer-promise-reject-errors': "error";
|
155
|
+
'@typescript-eslint/prefer-readonly': "error";
|
156
|
+
'@typescript-eslint/prefer-readonly-parameter-types': "error";
|
157
|
+
'@typescript-eslint/prefer-reduce-type-parameter': "error";
|
158
|
+
'@typescript-eslint/prefer-regexp-exec': "error";
|
159
|
+
'@typescript-eslint/prefer-return-this-type': "error";
|
160
|
+
'@typescript-eslint/prefer-string-starts-ends-with': "error";
|
161
|
+
'@typescript-eslint/promise-function-async': "error";
|
162
|
+
'@typescript-eslint/related-getter-setter-pairs': "error";
|
163
|
+
'@typescript-eslint/require-array-sort-compare': "error";
|
164
|
+
'require-await': "off";
|
165
|
+
'@typescript-eslint/require-await': "error";
|
166
|
+
'@typescript-eslint/restrict-plus-operands': "error";
|
167
|
+
'@typescript-eslint/restrict-template-expressions': "error";
|
168
|
+
'no-return-await': "off";
|
169
|
+
'@typescript-eslint/return-await': "error";
|
170
|
+
'@typescript-eslint/strict-boolean-expressions': "error";
|
171
|
+
'@typescript-eslint/switch-exhaustiveness-check': "error";
|
172
|
+
'@typescript-eslint/triple-slash-reference': "error";
|
173
|
+
'@typescript-eslint/typedef': "error";
|
174
|
+
'@typescript-eslint/unbound-method': "error";
|
175
|
+
'@typescript-eslint/unified-signatures': "error";
|
176
|
+
'@typescript-eslint/use-unknown-in-catch-callback-variable': "error";
|
177
|
+
};
|
178
|
+
};
|
179
|
+
base: {
|
180
|
+
parser: string;
|
181
|
+
parserOptions: {
|
182
|
+
sourceType: "module";
|
183
|
+
};
|
184
|
+
plugins: string[];
|
185
|
+
};
|
186
|
+
'disable-type-checked': {
|
187
|
+
parserOptions: {
|
188
|
+
program: null;
|
189
|
+
project: false;
|
190
|
+
projectService: false;
|
191
|
+
};
|
192
|
+
rules: {
|
193
|
+
'@typescript-eslint/await-thenable': "off";
|
194
|
+
'@typescript-eslint/consistent-return': "off";
|
195
|
+
'@typescript-eslint/consistent-type-exports': "off";
|
196
|
+
'@typescript-eslint/dot-notation': "off";
|
197
|
+
'@typescript-eslint/naming-convention': "off";
|
198
|
+
'@typescript-eslint/no-array-delete': "off";
|
199
|
+
'@typescript-eslint/no-base-to-string': "off";
|
200
|
+
'@typescript-eslint/no-confusing-void-expression': "off";
|
201
|
+
'@typescript-eslint/no-deprecated': "off";
|
202
|
+
'@typescript-eslint/no-duplicate-type-constituents': "off";
|
203
|
+
'@typescript-eslint/no-floating-promises': "off";
|
204
|
+
'@typescript-eslint/no-for-in-array': "off";
|
205
|
+
'@typescript-eslint/no-implied-eval': "off";
|
206
|
+
'@typescript-eslint/no-meaningless-void-operator': "off";
|
207
|
+
'@typescript-eslint/no-misused-promises': "off";
|
208
|
+
'@typescript-eslint/no-misused-spread': "off";
|
209
|
+
'@typescript-eslint/no-mixed-enums': "off";
|
210
|
+
'@typescript-eslint/no-redundant-type-constituents': "off";
|
211
|
+
'@typescript-eslint/no-unnecessary-boolean-literal-compare': "off";
|
212
|
+
'@typescript-eslint/no-unnecessary-condition': "off";
|
213
|
+
'@typescript-eslint/no-unnecessary-qualifier': "off";
|
214
|
+
'@typescript-eslint/no-unnecessary-template-expression': "off";
|
215
|
+
'@typescript-eslint/no-unnecessary-type-arguments': "off";
|
216
|
+
'@typescript-eslint/no-unnecessary-type-assertion': "off";
|
217
|
+
'@typescript-eslint/no-unnecessary-type-parameters': "off";
|
218
|
+
'@typescript-eslint/no-unsafe-argument': "off";
|
219
|
+
'@typescript-eslint/no-unsafe-assignment': "off";
|
220
|
+
'@typescript-eslint/no-unsafe-call': "off";
|
221
|
+
'@typescript-eslint/no-unsafe-enum-comparison': "off";
|
222
|
+
'@typescript-eslint/no-unsafe-member-access': "off";
|
223
|
+
'@typescript-eslint/no-unsafe-return': "off";
|
224
|
+
'@typescript-eslint/no-unsafe-type-assertion': "off";
|
225
|
+
'@typescript-eslint/no-unsafe-unary-minus': "off";
|
226
|
+
'@typescript-eslint/non-nullable-type-assertion-style': "off";
|
227
|
+
'@typescript-eslint/only-throw-error': "off";
|
228
|
+
'@typescript-eslint/prefer-destructuring': "off";
|
229
|
+
'@typescript-eslint/prefer-find': "off";
|
230
|
+
'@typescript-eslint/prefer-includes': "off";
|
231
|
+
'@typescript-eslint/prefer-nullish-coalescing': "off";
|
232
|
+
'@typescript-eslint/prefer-optional-chain': "off";
|
233
|
+
'@typescript-eslint/prefer-promise-reject-errors': "off";
|
234
|
+
'@typescript-eslint/prefer-readonly': "off";
|
235
|
+
'@typescript-eslint/prefer-readonly-parameter-types': "off";
|
236
|
+
'@typescript-eslint/prefer-reduce-type-parameter': "off";
|
237
|
+
'@typescript-eslint/prefer-regexp-exec': "off";
|
238
|
+
'@typescript-eslint/prefer-return-this-type': "off";
|
239
|
+
'@typescript-eslint/prefer-string-starts-ends-with': "off";
|
240
|
+
'@typescript-eslint/promise-function-async': "off";
|
241
|
+
'@typescript-eslint/related-getter-setter-pairs': "off";
|
242
|
+
'@typescript-eslint/require-array-sort-compare': "off";
|
243
|
+
'@typescript-eslint/require-await': "off";
|
244
|
+
'@typescript-eslint/restrict-plus-operands': "off";
|
245
|
+
'@typescript-eslint/restrict-template-expressions': "off";
|
246
|
+
'@typescript-eslint/return-await': "off";
|
247
|
+
'@typescript-eslint/strict-boolean-expressions': "off";
|
248
|
+
'@typescript-eslint/switch-exhaustiveness-check': "off";
|
249
|
+
'@typescript-eslint/unbound-method': "off";
|
250
|
+
'@typescript-eslint/use-unknown-in-catch-callback-variable': "off";
|
251
|
+
};
|
252
|
+
};
|
253
|
+
'eslint-recommended': {
|
254
|
+
overrides: {
|
255
|
+
files: string[];
|
256
|
+
rules: Record<string, "error" | "off" | "warn">;
|
257
|
+
}[];
|
258
|
+
};
|
259
|
+
recommended: {
|
260
|
+
extends: string[];
|
261
|
+
rules: {
|
262
|
+
'@typescript-eslint/ban-ts-comment': "error";
|
263
|
+
'no-array-constructor': "off";
|
264
|
+
'@typescript-eslint/no-array-constructor': "error";
|
265
|
+
'@typescript-eslint/no-duplicate-enum-values': "error";
|
266
|
+
'@typescript-eslint/no-empty-object-type': "error";
|
267
|
+
'@typescript-eslint/no-explicit-any': "error";
|
268
|
+
'@typescript-eslint/no-extra-non-null-assertion': "error";
|
269
|
+
'@typescript-eslint/no-misused-new': "error";
|
270
|
+
'@typescript-eslint/no-namespace': "error";
|
271
|
+
'@typescript-eslint/no-non-null-asserted-optional-chain': "error";
|
272
|
+
'@typescript-eslint/no-require-imports': "error";
|
273
|
+
'@typescript-eslint/no-this-alias': "error";
|
274
|
+
'@typescript-eslint/no-unnecessary-type-constraint': "error";
|
275
|
+
'@typescript-eslint/no-unsafe-declaration-merging': "error";
|
276
|
+
'@typescript-eslint/no-unsafe-function-type': "error";
|
277
|
+
'no-unused-expressions': "off";
|
278
|
+
'@typescript-eslint/no-unused-expressions': "error";
|
279
|
+
'no-unused-vars': "off";
|
280
|
+
'@typescript-eslint/no-unused-vars': "error";
|
281
|
+
'@typescript-eslint/no-wrapper-object-types': "error";
|
282
|
+
'@typescript-eslint/prefer-as-const': "error";
|
283
|
+
'@typescript-eslint/prefer-namespace-keyword': "error";
|
284
|
+
'@typescript-eslint/triple-slash-reference': "error";
|
285
|
+
};
|
286
|
+
};
|
287
|
+
/** @deprecated - please use "recommended-type-checked" instead. */
|
288
|
+
'recommended-requiring-type-checking': {
|
289
|
+
extends: string[];
|
290
|
+
rules: {
|
291
|
+
'@typescript-eslint/await-thenable': "error";
|
292
|
+
'@typescript-eslint/ban-ts-comment': "error";
|
293
|
+
'no-array-constructor': "off";
|
294
|
+
'@typescript-eslint/no-array-constructor': "error";
|
295
|
+
'@typescript-eslint/no-array-delete': "error";
|
296
|
+
'@typescript-eslint/no-base-to-string': "error";
|
297
|
+
'@typescript-eslint/no-duplicate-enum-values': "error";
|
298
|
+
'@typescript-eslint/no-duplicate-type-constituents': "error";
|
299
|
+
'@typescript-eslint/no-empty-object-type': "error";
|
300
|
+
'@typescript-eslint/no-explicit-any': "error";
|
301
|
+
'@typescript-eslint/no-extra-non-null-assertion': "error";
|
302
|
+
'@typescript-eslint/no-floating-promises': "error";
|
303
|
+
'@typescript-eslint/no-for-in-array': "error";
|
304
|
+
'no-implied-eval': "off";
|
305
|
+
'@typescript-eslint/no-implied-eval': "error";
|
306
|
+
'@typescript-eslint/no-misused-new': "error";
|
307
|
+
'@typescript-eslint/no-misused-promises': "error";
|
308
|
+
'@typescript-eslint/no-namespace': "error";
|
309
|
+
'@typescript-eslint/no-non-null-asserted-optional-chain': "error";
|
310
|
+
'@typescript-eslint/no-redundant-type-constituents': "error";
|
311
|
+
'@typescript-eslint/no-require-imports': "error";
|
312
|
+
'@typescript-eslint/no-this-alias': "error";
|
313
|
+
'@typescript-eslint/no-unnecessary-type-assertion': "error";
|
314
|
+
'@typescript-eslint/no-unnecessary-type-constraint': "error";
|
315
|
+
'@typescript-eslint/no-unsafe-argument': "error";
|
316
|
+
'@typescript-eslint/no-unsafe-assignment': "error";
|
317
|
+
'@typescript-eslint/no-unsafe-call': "error";
|
318
|
+
'@typescript-eslint/no-unsafe-declaration-merging': "error";
|
319
|
+
'@typescript-eslint/no-unsafe-enum-comparison': "error";
|
320
|
+
'@typescript-eslint/no-unsafe-function-type': "error";
|
321
|
+
'@typescript-eslint/no-unsafe-member-access': "error";
|
322
|
+
'@typescript-eslint/no-unsafe-return': "error";
|
323
|
+
'@typescript-eslint/no-unsafe-unary-minus': "error";
|
324
|
+
'no-unused-expressions': "off";
|
325
|
+
'@typescript-eslint/no-unused-expressions': "error";
|
326
|
+
'no-unused-vars': "off";
|
327
|
+
'@typescript-eslint/no-unused-vars': "error";
|
328
|
+
'@typescript-eslint/no-wrapper-object-types': "error";
|
329
|
+
'no-throw-literal': "off";
|
330
|
+
'@typescript-eslint/only-throw-error': "error";
|
331
|
+
'@typescript-eslint/prefer-as-const': "error";
|
332
|
+
'@typescript-eslint/prefer-namespace-keyword': "error";
|
333
|
+
'prefer-promise-reject-errors': "off";
|
334
|
+
'@typescript-eslint/prefer-promise-reject-errors': "error";
|
335
|
+
'require-await': "off";
|
336
|
+
'@typescript-eslint/require-await': "error";
|
337
|
+
'@typescript-eslint/restrict-plus-operands': "error";
|
338
|
+
'@typescript-eslint/restrict-template-expressions': "error";
|
339
|
+
'@typescript-eslint/triple-slash-reference': "error";
|
340
|
+
'@typescript-eslint/unbound-method': "error";
|
341
|
+
};
|
342
|
+
};
|
343
|
+
'recommended-type-checked': {
|
344
|
+
extends: string[];
|
345
|
+
rules: {
|
346
|
+
'@typescript-eslint/await-thenable': "error";
|
347
|
+
'@typescript-eslint/ban-ts-comment': "error";
|
348
|
+
'no-array-constructor': "off";
|
349
|
+
'@typescript-eslint/no-array-constructor': "error";
|
350
|
+
'@typescript-eslint/no-array-delete': "error";
|
351
|
+
'@typescript-eslint/no-base-to-string': "error";
|
352
|
+
'@typescript-eslint/no-duplicate-enum-values': "error";
|
353
|
+
'@typescript-eslint/no-duplicate-type-constituents': "error";
|
354
|
+
'@typescript-eslint/no-empty-object-type': "error";
|
355
|
+
'@typescript-eslint/no-explicit-any': "error";
|
356
|
+
'@typescript-eslint/no-extra-non-null-assertion': "error";
|
357
|
+
'@typescript-eslint/no-floating-promises': "error";
|
358
|
+
'@typescript-eslint/no-for-in-array': "error";
|
359
|
+
'no-implied-eval': "off";
|
360
|
+
'@typescript-eslint/no-implied-eval': "error";
|
361
|
+
'@typescript-eslint/no-misused-new': "error";
|
362
|
+
'@typescript-eslint/no-misused-promises': "error";
|
363
|
+
'@typescript-eslint/no-namespace': "error";
|
364
|
+
'@typescript-eslint/no-non-null-asserted-optional-chain': "error";
|
365
|
+
'@typescript-eslint/no-redundant-type-constituents': "error";
|
366
|
+
'@typescript-eslint/no-require-imports': "error";
|
367
|
+
'@typescript-eslint/no-this-alias': "error";
|
368
|
+
'@typescript-eslint/no-unnecessary-type-assertion': "error";
|
369
|
+
'@typescript-eslint/no-unnecessary-type-constraint': "error";
|
370
|
+
'@typescript-eslint/no-unsafe-argument': "error";
|
371
|
+
'@typescript-eslint/no-unsafe-assignment': "error";
|
372
|
+
'@typescript-eslint/no-unsafe-call': "error";
|
373
|
+
'@typescript-eslint/no-unsafe-declaration-merging': "error";
|
374
|
+
'@typescript-eslint/no-unsafe-enum-comparison': "error";
|
375
|
+
'@typescript-eslint/no-unsafe-function-type': "error";
|
376
|
+
'@typescript-eslint/no-unsafe-member-access': "error";
|
377
|
+
'@typescript-eslint/no-unsafe-return': "error";
|
378
|
+
'@typescript-eslint/no-unsafe-unary-minus': "error";
|
379
|
+
'no-unused-expressions': "off";
|
380
|
+
'@typescript-eslint/no-unused-expressions': "error";
|
381
|
+
'no-unused-vars': "off";
|
382
|
+
'@typescript-eslint/no-unused-vars': "error";
|
383
|
+
'@typescript-eslint/no-wrapper-object-types': "error";
|
384
|
+
'no-throw-literal': "off";
|
385
|
+
'@typescript-eslint/only-throw-error': "error";
|
386
|
+
'@typescript-eslint/prefer-as-const': "error";
|
387
|
+
'@typescript-eslint/prefer-namespace-keyword': "error";
|
388
|
+
'prefer-promise-reject-errors': "off";
|
389
|
+
'@typescript-eslint/prefer-promise-reject-errors': "error";
|
390
|
+
'require-await': "off";
|
391
|
+
'@typescript-eslint/require-await': "error";
|
392
|
+
'@typescript-eslint/restrict-plus-operands': "error";
|
393
|
+
'@typescript-eslint/restrict-template-expressions': "error";
|
394
|
+
'@typescript-eslint/triple-slash-reference': "error";
|
395
|
+
'@typescript-eslint/unbound-method': "error";
|
396
|
+
};
|
397
|
+
};
|
398
|
+
'recommended-type-checked-only': {
|
399
|
+
extends: string[];
|
400
|
+
rules: {
|
401
|
+
'@typescript-eslint/await-thenable': "error";
|
402
|
+
'@typescript-eslint/no-array-delete': "error";
|
403
|
+
'@typescript-eslint/no-base-to-string': "error";
|
404
|
+
'@typescript-eslint/no-duplicate-type-constituents': "error";
|
405
|
+
'@typescript-eslint/no-floating-promises': "error";
|
406
|
+
'@typescript-eslint/no-for-in-array': "error";
|
407
|
+
'no-implied-eval': "off";
|
408
|
+
'@typescript-eslint/no-implied-eval': "error";
|
409
|
+
'@typescript-eslint/no-misused-promises': "error";
|
410
|
+
'@typescript-eslint/no-redundant-type-constituents': "error";
|
411
|
+
'@typescript-eslint/no-unnecessary-type-assertion': "error";
|
412
|
+
'@typescript-eslint/no-unsafe-argument': "error";
|
413
|
+
'@typescript-eslint/no-unsafe-assignment': "error";
|
414
|
+
'@typescript-eslint/no-unsafe-call': "error";
|
415
|
+
'@typescript-eslint/no-unsafe-enum-comparison': "error";
|
416
|
+
'@typescript-eslint/no-unsafe-member-access': "error";
|
417
|
+
'@typescript-eslint/no-unsafe-return': "error";
|
418
|
+
'@typescript-eslint/no-unsafe-unary-minus': "error";
|
419
|
+
'no-throw-literal': "off";
|
420
|
+
'@typescript-eslint/only-throw-error': "error";
|
421
|
+
'prefer-promise-reject-errors': "off";
|
422
|
+
'@typescript-eslint/prefer-promise-reject-errors': "error";
|
423
|
+
'require-await': "off";
|
424
|
+
'@typescript-eslint/require-await': "error";
|
425
|
+
'@typescript-eslint/restrict-plus-operands': "error";
|
426
|
+
'@typescript-eslint/restrict-template-expressions': "error";
|
427
|
+
'@typescript-eslint/unbound-method': "error";
|
428
|
+
};
|
429
|
+
};
|
430
|
+
strict: {
|
431
|
+
extends: string[];
|
432
|
+
rules: {
|
433
|
+
'@typescript-eslint/ban-ts-comment': ["error", {
|
434
|
+
minimumDescriptionLength: number;
|
435
|
+
}];
|
436
|
+
'no-array-constructor': "off";
|
437
|
+
'@typescript-eslint/no-array-constructor': "error";
|
438
|
+
'@typescript-eslint/no-duplicate-enum-values': "error";
|
439
|
+
'@typescript-eslint/no-dynamic-delete': "error";
|
440
|
+
'@typescript-eslint/no-empty-object-type': "error";
|
441
|
+
'@typescript-eslint/no-explicit-any': "error";
|
442
|
+
'@typescript-eslint/no-extra-non-null-assertion': "error";
|
443
|
+
'@typescript-eslint/no-extraneous-class': "error";
|
444
|
+
'@typescript-eslint/no-invalid-void-type': "error";
|
445
|
+
'@typescript-eslint/no-misused-new': "error";
|
446
|
+
'@typescript-eslint/no-namespace': "error";
|
447
|
+
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': "error";
|
448
|
+
'@typescript-eslint/no-non-null-asserted-optional-chain': "error";
|
449
|
+
'@typescript-eslint/no-non-null-assertion': "error";
|
450
|
+
'@typescript-eslint/no-require-imports': "error";
|
451
|
+
'@typescript-eslint/no-this-alias': "error";
|
452
|
+
'@typescript-eslint/no-unnecessary-type-constraint': "error";
|
453
|
+
'@typescript-eslint/no-unsafe-declaration-merging': "error";
|
454
|
+
'@typescript-eslint/no-unsafe-function-type': "error";
|
455
|
+
'no-unused-expressions': "off";
|
456
|
+
'@typescript-eslint/no-unused-expressions': "error";
|
457
|
+
'no-unused-vars': "off";
|
458
|
+
'@typescript-eslint/no-unused-vars': "error";
|
459
|
+
'no-useless-constructor': "off";
|
460
|
+
'@typescript-eslint/no-useless-constructor': "error";
|
461
|
+
'@typescript-eslint/no-wrapper-object-types': "error";
|
462
|
+
'@typescript-eslint/prefer-as-const': "error";
|
463
|
+
'@typescript-eslint/prefer-literal-enum-member': "error";
|
464
|
+
'@typescript-eslint/prefer-namespace-keyword': "error";
|
465
|
+
'@typescript-eslint/triple-slash-reference': "error";
|
466
|
+
'@typescript-eslint/unified-signatures': "error";
|
467
|
+
};
|
468
|
+
};
|
469
|
+
'strict-type-checked': {
|
470
|
+
extends: string[];
|
471
|
+
rules: {
|
472
|
+
'@typescript-eslint/await-thenable': "error";
|
473
|
+
'@typescript-eslint/ban-ts-comment': ["error", {
|
474
|
+
minimumDescriptionLength: number;
|
475
|
+
}];
|
476
|
+
'no-array-constructor': "off";
|
477
|
+
'@typescript-eslint/no-array-constructor': "error";
|
478
|
+
'@typescript-eslint/no-array-delete': "error";
|
479
|
+
'@typescript-eslint/no-base-to-string': "error";
|
480
|
+
'@typescript-eslint/no-confusing-void-expression': "error";
|
481
|
+
'@typescript-eslint/no-deprecated': "error";
|
482
|
+
'@typescript-eslint/no-duplicate-enum-values': "error";
|
483
|
+
'@typescript-eslint/no-duplicate-type-constituents': "error";
|
484
|
+
'@typescript-eslint/no-dynamic-delete': "error";
|
485
|
+
'@typescript-eslint/no-empty-object-type': "error";
|
486
|
+
'@typescript-eslint/no-explicit-any': "error";
|
487
|
+
'@typescript-eslint/no-extra-non-null-assertion': "error";
|
488
|
+
'@typescript-eslint/no-extraneous-class': "error";
|
489
|
+
'@typescript-eslint/no-floating-promises': "error";
|
490
|
+
'@typescript-eslint/no-for-in-array': "error";
|
491
|
+
'no-implied-eval': "off";
|
492
|
+
'@typescript-eslint/no-implied-eval': "error";
|
493
|
+
'@typescript-eslint/no-invalid-void-type': "error";
|
494
|
+
'@typescript-eslint/no-meaningless-void-operator': "error";
|
495
|
+
'@typescript-eslint/no-misused-new': "error";
|
496
|
+
'@typescript-eslint/no-misused-promises': "error";
|
497
|
+
'@typescript-eslint/no-misused-spread': "error";
|
498
|
+
'@typescript-eslint/no-mixed-enums': "error";
|
499
|
+
'@typescript-eslint/no-namespace': "error";
|
500
|
+
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': "error";
|
501
|
+
'@typescript-eslint/no-non-null-asserted-optional-chain': "error";
|
502
|
+
'@typescript-eslint/no-non-null-assertion': "error";
|
503
|
+
'@typescript-eslint/no-redundant-type-constituents': "error";
|
504
|
+
'@typescript-eslint/no-require-imports': "error";
|
505
|
+
'@typescript-eslint/no-this-alias': "error";
|
506
|
+
'@typescript-eslint/no-unnecessary-boolean-literal-compare': "error";
|
507
|
+
'@typescript-eslint/no-unnecessary-condition': "error";
|
508
|
+
'@typescript-eslint/no-unnecessary-template-expression': "error";
|
509
|
+
'@typescript-eslint/no-unnecessary-type-arguments': "error";
|
510
|
+
'@typescript-eslint/no-unnecessary-type-assertion': "error";
|
511
|
+
'@typescript-eslint/no-unnecessary-type-constraint': "error";
|
512
|
+
'@typescript-eslint/no-unnecessary-type-parameters': "error";
|
513
|
+
'@typescript-eslint/no-unsafe-argument': "error";
|
514
|
+
'@typescript-eslint/no-unsafe-assignment': "error";
|
515
|
+
'@typescript-eslint/no-unsafe-call': "error";
|
516
|
+
'@typescript-eslint/no-unsafe-declaration-merging': "error";
|
517
|
+
'@typescript-eslint/no-unsafe-enum-comparison': "error";
|
518
|
+
'@typescript-eslint/no-unsafe-function-type': "error";
|
519
|
+
'@typescript-eslint/no-unsafe-member-access': "error";
|
520
|
+
'@typescript-eslint/no-unsafe-return': "error";
|
521
|
+
'@typescript-eslint/no-unsafe-unary-minus': "error";
|
522
|
+
'no-unused-expressions': "off";
|
523
|
+
'@typescript-eslint/no-unused-expressions': "error";
|
524
|
+
'no-unused-vars': "off";
|
525
|
+
'@typescript-eslint/no-unused-vars': "error";
|
526
|
+
'no-useless-constructor': "off";
|
527
|
+
'@typescript-eslint/no-useless-constructor': "error";
|
528
|
+
'@typescript-eslint/no-wrapper-object-types': "error";
|
529
|
+
'no-throw-literal': "off";
|
530
|
+
'@typescript-eslint/only-throw-error': "error";
|
531
|
+
'@typescript-eslint/prefer-as-const': "error";
|
532
|
+
'@typescript-eslint/prefer-literal-enum-member': "error";
|
533
|
+
'@typescript-eslint/prefer-namespace-keyword': "error";
|
534
|
+
'prefer-promise-reject-errors': "off";
|
535
|
+
'@typescript-eslint/prefer-promise-reject-errors': "error";
|
536
|
+
'@typescript-eslint/prefer-reduce-type-parameter': "error";
|
537
|
+
'@typescript-eslint/prefer-return-this-type': "error";
|
538
|
+
'@typescript-eslint/related-getter-setter-pairs': "error";
|
539
|
+
'require-await': "off";
|
540
|
+
'@typescript-eslint/require-await': "error";
|
541
|
+
'@typescript-eslint/restrict-plus-operands': ["error", {
|
542
|
+
allowAny: boolean;
|
543
|
+
allowBoolean: boolean;
|
544
|
+
allowNullish: boolean;
|
545
|
+
allowNumberAndString: boolean;
|
546
|
+
allowRegExp: boolean;
|
547
|
+
}];
|
548
|
+
'@typescript-eslint/restrict-template-expressions': ["error", {
|
549
|
+
allowAny: boolean;
|
550
|
+
allowBoolean: boolean;
|
551
|
+
allowNever: boolean;
|
552
|
+
allowNullish: boolean;
|
553
|
+
allowNumber: boolean;
|
554
|
+
allowRegExp: boolean;
|
555
|
+
}];
|
556
|
+
'no-return-await': "off";
|
557
|
+
'@typescript-eslint/return-await': ["error", string];
|
558
|
+
'@typescript-eslint/triple-slash-reference': "error";
|
559
|
+
'@typescript-eslint/unbound-method': "error";
|
560
|
+
'@typescript-eslint/unified-signatures': "error";
|
561
|
+
'@typescript-eslint/use-unknown-in-catch-callback-variable': "error";
|
562
|
+
};
|
563
|
+
};
|
564
|
+
'strict-type-checked-only': {
|
565
|
+
extends: string[];
|
566
|
+
rules: {
|
567
|
+
'@typescript-eslint/await-thenable': "error";
|
568
|
+
'@typescript-eslint/no-array-delete': "error";
|
569
|
+
'@typescript-eslint/no-base-to-string': "error";
|
570
|
+
'@typescript-eslint/no-confusing-void-expression': "error";
|
571
|
+
'@typescript-eslint/no-deprecated': "error";
|
572
|
+
'@typescript-eslint/no-duplicate-type-constituents': "error";
|
573
|
+
'@typescript-eslint/no-floating-promises': "error";
|
574
|
+
'@typescript-eslint/no-for-in-array': "error";
|
575
|
+
'no-implied-eval': "off";
|
576
|
+
'@typescript-eslint/no-implied-eval': "error";
|
577
|
+
'@typescript-eslint/no-meaningless-void-operator': "error";
|
578
|
+
'@typescript-eslint/no-misused-promises': "error";
|
579
|
+
'@typescript-eslint/no-misused-spread': "error";
|
580
|
+
'@typescript-eslint/no-mixed-enums': "error";
|
581
|
+
'@typescript-eslint/no-redundant-type-constituents': "error";
|
582
|
+
'@typescript-eslint/no-unnecessary-boolean-literal-compare': "error";
|
583
|
+
'@typescript-eslint/no-unnecessary-condition': "error";
|
584
|
+
'@typescript-eslint/no-unnecessary-template-expression': "error";
|
585
|
+
'@typescript-eslint/no-unnecessary-type-arguments': "error";
|
586
|
+
'@typescript-eslint/no-unnecessary-type-assertion': "error";
|
587
|
+
'@typescript-eslint/no-unnecessary-type-parameters': "error";
|
588
|
+
'@typescript-eslint/no-unsafe-argument': "error";
|
589
|
+
'@typescript-eslint/no-unsafe-assignment': "error";
|
590
|
+
'@typescript-eslint/no-unsafe-call': "error";
|
591
|
+
'@typescript-eslint/no-unsafe-enum-comparison': "error";
|
592
|
+
'@typescript-eslint/no-unsafe-member-access': "error";
|
593
|
+
'@typescript-eslint/no-unsafe-return': "error";
|
594
|
+
'@typescript-eslint/no-unsafe-unary-minus': "error";
|
595
|
+
'no-throw-literal': "off";
|
596
|
+
'@typescript-eslint/only-throw-error': "error";
|
597
|
+
'prefer-promise-reject-errors': "off";
|
598
|
+
'@typescript-eslint/prefer-promise-reject-errors': "error";
|
599
|
+
'@typescript-eslint/prefer-reduce-type-parameter': "error";
|
600
|
+
'@typescript-eslint/prefer-return-this-type': "error";
|
601
|
+
'@typescript-eslint/related-getter-setter-pairs': "error";
|
602
|
+
'require-await': "off";
|
603
|
+
'@typescript-eslint/require-await': "error";
|
604
|
+
'@typescript-eslint/restrict-plus-operands': ["error", {
|
605
|
+
allowAny: boolean;
|
606
|
+
allowBoolean: boolean;
|
607
|
+
allowNullish: boolean;
|
608
|
+
allowNumberAndString: boolean;
|
609
|
+
allowRegExp: boolean;
|
610
|
+
}];
|
611
|
+
'@typescript-eslint/restrict-template-expressions': ["error", {
|
612
|
+
allowAny: boolean;
|
613
|
+
allowBoolean: boolean;
|
614
|
+
allowNever: boolean;
|
615
|
+
allowNullish: boolean;
|
616
|
+
allowNumber: boolean;
|
617
|
+
allowRegExp: boolean;
|
618
|
+
}];
|
619
|
+
'no-return-await': "off";
|
620
|
+
'@typescript-eslint/return-await': ["error", string];
|
621
|
+
'@typescript-eslint/unbound-method': "error";
|
622
|
+
'@typescript-eslint/use-unknown-in-catch-callback-variable': "error";
|
623
|
+
};
|
624
|
+
};
|
625
|
+
stylistic: {
|
626
|
+
extends: string[];
|
627
|
+
rules: {
|
628
|
+
'@typescript-eslint/adjacent-overload-signatures': "error";
|
629
|
+
'@typescript-eslint/array-type': "error";
|
630
|
+
'@typescript-eslint/ban-tslint-comment': "error";
|
631
|
+
'@typescript-eslint/class-literal-property-style': "error";
|
632
|
+
'@typescript-eslint/consistent-generic-constructors': "error";
|
633
|
+
'@typescript-eslint/consistent-indexed-object-style': "error";
|
634
|
+
'@typescript-eslint/consistent-type-assertions': "error";
|
635
|
+
'@typescript-eslint/consistent-type-definitions': "error";
|
636
|
+
'@typescript-eslint/no-confusing-non-null-assertion': "error";
|
637
|
+
'no-empty-function': "off";
|
638
|
+
'@typescript-eslint/no-empty-function': "error";
|
639
|
+
'@typescript-eslint/no-inferrable-types': "error";
|
640
|
+
'@typescript-eslint/prefer-for-of': "error";
|
641
|
+
'@typescript-eslint/prefer-function-type': "error";
|
642
|
+
};
|
643
|
+
};
|
644
|
+
'stylistic-type-checked': {
|
645
|
+
extends: string[];
|
646
|
+
rules: {
|
647
|
+
'@typescript-eslint/adjacent-overload-signatures': "error";
|
648
|
+
'@typescript-eslint/array-type': "error";
|
649
|
+
'@typescript-eslint/ban-tslint-comment': "error";
|
650
|
+
'@typescript-eslint/class-literal-property-style': "error";
|
651
|
+
'@typescript-eslint/consistent-generic-constructors': "error";
|
652
|
+
'@typescript-eslint/consistent-indexed-object-style': "error";
|
653
|
+
'@typescript-eslint/consistent-type-assertions': "error";
|
654
|
+
'@typescript-eslint/consistent-type-definitions': "error";
|
655
|
+
'dot-notation': "off";
|
656
|
+
'@typescript-eslint/dot-notation': "error";
|
657
|
+
'@typescript-eslint/no-confusing-non-null-assertion': "error";
|
658
|
+
'no-empty-function': "off";
|
659
|
+
'@typescript-eslint/no-empty-function': "error";
|
660
|
+
'@typescript-eslint/no-inferrable-types': "error";
|
661
|
+
'@typescript-eslint/non-nullable-type-assertion-style': "error";
|
662
|
+
'@typescript-eslint/prefer-find': "error";
|
663
|
+
'@typescript-eslint/prefer-for-of': "error";
|
664
|
+
'@typescript-eslint/prefer-function-type': "error";
|
665
|
+
'@typescript-eslint/prefer-includes': "error";
|
666
|
+
'@typescript-eslint/prefer-nullish-coalescing': "error";
|
667
|
+
'@typescript-eslint/prefer-optional-chain': "error";
|
668
|
+
'@typescript-eslint/prefer-regexp-exec': "error";
|
669
|
+
'@typescript-eslint/prefer-string-starts-ends-with': "error";
|
670
|
+
};
|
671
|
+
};
|
672
|
+
'stylistic-type-checked-only': {
|
673
|
+
extends: string[];
|
674
|
+
rules: {
|
675
|
+
'dot-notation': "off";
|
676
|
+
'@typescript-eslint/dot-notation': "error";
|
677
|
+
'@typescript-eslint/non-nullable-type-assertion-style': "error";
|
678
|
+
'@typescript-eslint/prefer-find': "error";
|
679
|
+
'@typescript-eslint/prefer-includes': "error";
|
680
|
+
'@typescript-eslint/prefer-nullish-coalescing': "error";
|
681
|
+
'@typescript-eslint/prefer-optional-chain': "error";
|
682
|
+
'@typescript-eslint/prefer-regexp-exec': "error";
|
683
|
+
'@typescript-eslint/prefer-string-starts-ends-with': "error";
|
684
|
+
};
|
685
|
+
};
|
686
|
+
};
|
687
|
+
meta: {
|
688
|
+
name: string;
|
689
|
+
version: string;
|
690
|
+
};
|
691
|
+
rules: {
|
692
|
+
'adjacent-overload-signatures': TSESLint.RuleModule<"adjacentSignature", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
693
|
+
'array-type': TSESLint.RuleModule<import("./rules/array-type").MessageIds, import("./rules/array-type").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
694
|
+
'await-thenable': TSESLint.RuleModule<import("./rules/await-thenable").MessageId, [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
695
|
+
'ban-ts-comment': TSESLint.RuleModule<import("./rules/ban-ts-comment").MessageIds, import("./rules/ban-ts-comment").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
696
|
+
'ban-tslint-comment': TSESLint.RuleModule<"commentDetected", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
697
|
+
'class-literal-property-style': TSESLint.RuleModule<import("./rules/class-literal-property-style").MessageIds, import("./rules/class-literal-property-style").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
698
|
+
'class-methods-use-this': TSESLint.RuleModule<"missingThis", import("./rules/class-methods-use-this").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
699
|
+
'consistent-generic-constructors': TSESLint.RuleModule<import("./rules/consistent-generic-constructors").MessageIds, import("./rules/consistent-generic-constructors").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
700
|
+
'consistent-indexed-object-style': TSESLint.RuleModule<import("./rules/consistent-indexed-object-style").MessageIds, import("./rules/consistent-indexed-object-style").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
701
|
+
'consistent-return': TSESLint.RuleModule<"missingReturn" | "missingReturnValue" | "unexpectedReturnValue", [({
|
702
|
+
treatUndefinedAsUnspecified?: boolean;
|
703
|
+
} | undefined)?], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
704
|
+
'consistent-type-assertions': TSESLint.RuleModule<import("./rules/consistent-type-assertions").MessageIds, import("./rules/consistent-type-assertions").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
705
|
+
'consistent-type-definitions': TSESLint.RuleModule<"interfaceOverType" | "typeOverInterface", [string], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
706
|
+
'consistent-type-exports': TSESLint.RuleModule<import("./rules/consistent-type-exports").MessageIds, import("./rules/consistent-type-exports").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
707
|
+
'consistent-type-imports': TSESLint.RuleModule<import("./rules/consistent-type-imports").MessageIds, import("./rules/consistent-type-imports").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
708
|
+
'default-param-last': TSESLint.RuleModule<"shouldBeLast", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
709
|
+
'dot-notation': TSESLint.RuleModule<"useBrackets" | "useDot", [{
|
710
|
+
allowIndexSignaturePropertyAccess?: boolean;
|
711
|
+
allowKeywords?: boolean;
|
712
|
+
allowPattern?: string;
|
713
|
+
allowPrivateClassPropertyAccess?: boolean;
|
714
|
+
allowProtectedClassPropertyAccess?: boolean;
|
715
|
+
}], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
716
|
+
'explicit-function-return-type': TSESLint.RuleModule<"missingReturnType", import("./rules/explicit-function-return-type").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
717
|
+
'explicit-member-accessibility': TSESLint.RuleModule<import("./rules/explicit-member-accessibility").MessageIds, import("./rules/explicit-member-accessibility").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
718
|
+
'explicit-module-boundary-types': TSESLint.RuleModule<import("./rules/explicit-module-boundary-types").MessageIds, import("./rules/explicit-module-boundary-types").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
719
|
+
'init-declarations': TSESLint.RuleModule<"initialized" | "notInitialized", ["always" | "never", ({
|
720
|
+
ignoreForLoopInit?: boolean;
|
721
|
+
} | undefined)?], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
722
|
+
'max-params': TSESLint.RuleModule<"exceed", ({
|
723
|
+
countVoidThis?: boolean;
|
724
|
+
max: number;
|
725
|
+
} | {
|
726
|
+
countVoidThis?: boolean;
|
727
|
+
maximum: number;
|
728
|
+
})[], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
729
|
+
'member-ordering': TSESLint.RuleModule<import("./rules/member-ordering").MessageIds, import("./rules/member-ordering").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
730
|
+
'method-signature-style': TSESLint.RuleModule<import("./rules/method-signature-style").MessageIds, import("./rules/method-signature-style").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
731
|
+
'naming-convention': TSESLint.RuleModule<import("./rules/naming-convention").MessageIds, import("./rules/naming-convention").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
732
|
+
'no-array-constructor': TSESLint.RuleModule<"useLiteral", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
733
|
+
'no-array-delete': TSESLint.RuleModule<import("./rules/no-array-delete").MessageId, [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
734
|
+
'no-base-to-string': TSESLint.RuleModule<import("./rules/no-base-to-string").MessageIds, import("./rules/no-base-to-string").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
735
|
+
'no-confusing-non-null-assertion': TSESLint.RuleModule<import("./rules/no-confusing-non-null-assertion").MessageId, [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
736
|
+
'no-confusing-void-expression': TSESLint.RuleModule<import("./rules/no-confusing-void-expression").MessageId, import("./rules/no-confusing-void-expression").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
737
|
+
'no-deprecated': TSESLint.RuleModule<"deprecated" | "deprecatedWithReason", [{
|
738
|
+
allow?: import("@typescript-eslint/type-utils").TypeOrValueSpecifier[];
|
739
|
+
}], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
740
|
+
'no-dupe-class-members': TSESLint.RuleModule<"unexpected", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
741
|
+
'no-duplicate-enum-values': TSESLint.RuleModule<"duplicateValue", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
742
|
+
'no-duplicate-type-constituents': TSESLint.RuleModule<import("./rules/no-duplicate-type-constituents").MessageIds, import("./rules/no-duplicate-type-constituents").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
743
|
+
'no-dynamic-delete': TSESLint.RuleModule<"dynamicDelete", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
744
|
+
'no-empty-function': TSESLint.RuleModule<"unexpected", [{
|
745
|
+
allow?: string[];
|
746
|
+
}], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
747
|
+
'no-empty-interface': TSESLint.RuleModule<import("./rules/no-empty-interface").MessageIds, import("./rules/no-empty-interface").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
748
|
+
'no-empty-object-type': TSESLint.RuleModule<import("./rules/no-empty-object-type").MessageIds, import("./rules/no-empty-object-type").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
749
|
+
'no-explicit-any': TSESLint.RuleModule<import("./rules/no-explicit-any").MessageIds, import("./rules/no-explicit-any").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
750
|
+
'no-extra-non-null-assertion': TSESLint.RuleModule<"noExtraNonNullAssertion", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
751
|
+
'no-extraneous-class': TSESLint.RuleModule<import("./rules/no-extraneous-class").MessageIds, import("./rules/no-extraneous-class").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
752
|
+
'no-floating-promises': TSESLint.RuleModule<import("./rules/no-floating-promises").MessageId, import("./rules/no-floating-promises").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
753
|
+
'no-for-in-array': TSESLint.RuleModule<"forInViolation", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
754
|
+
'no-implied-eval': TSESLint.RuleModule<"noFunctionConstructor" | "noImpliedEvalError", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
755
|
+
'no-import-type-side-effects': TSESLint.RuleModule<"useTopLevelQualifier", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
756
|
+
'no-inferrable-types': TSESLint.RuleModule<"noInferrableType", import("./rules/no-inferrable-types").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
757
|
+
'no-invalid-this': TSESLint.RuleModule<"unexpectedThis", [({
|
758
|
+
capIsConstructor?: boolean;
|
759
|
+
} | undefined)?], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
760
|
+
'no-invalid-void-type': TSESLint.RuleModule<import("./rules/no-invalid-void-type").MessageIds, [import("./rules/no-invalid-void-type").Options], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
761
|
+
'no-loop-func': TSESLint.RuleModule<"unsafeRefs", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
762
|
+
'no-loss-of-precision': TSESLint.RuleModule<"noLossOfPrecision", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
763
|
+
'no-magic-numbers': TSESLint.RuleModule<"noMagic", [{
|
764
|
+
detectObjects?: boolean;
|
765
|
+
enforceConst?: boolean;
|
766
|
+
ignore?: (number | string)[];
|
767
|
+
ignoreArrayIndexes?: boolean;
|
768
|
+
ignoreEnums?: boolean;
|
769
|
+
ignoreNumericLiteralTypes?: boolean;
|
770
|
+
ignoreReadonlyClassProperties?: boolean;
|
771
|
+
ignoreTypeIndexes?: boolean;
|
772
|
+
}], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
773
|
+
'no-meaningless-void-operator': TSESLint.RuleModule<"meaninglessVoidOperator" | "removeVoid", import("./rules/no-meaningless-void-operator").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
774
|
+
'no-misused-new': TSESLint.RuleModule<"errorMessageClass" | "errorMessageInterface", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
775
|
+
'no-misused-promises': TSESLint.RuleModule<import("./rules/no-misused-promises").MessageId, import("./rules/no-misused-promises").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
776
|
+
'no-misused-spread': TSESLint.RuleModule<"addAwait" | "noArraySpreadInObject" | "noClassDeclarationSpreadInObject" | "noClassInstanceSpreadInObject" | "noFunctionSpreadInObject" | "noIterableSpreadInObject" | "noMapSpreadInObject" | "noPromiseSpreadInObject" | "noStringSpread" | "replaceMapSpreadInObject", [{
|
777
|
+
allow?: import("@typescript-eslint/type-utils").TypeOrValueSpecifier[];
|
778
|
+
}], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
779
|
+
'no-mixed-enums': TSESLint.RuleModule<"mixed", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
780
|
+
'no-namespace': TSESLint.RuleModule<"moduleSyntaxIsPreferred", import("./rules/no-namespace").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
781
|
+
'no-non-null-asserted-nullish-coalescing': TSESLint.RuleModule<"noNonNullAssertedNullishCoalescing" | "suggestRemovingNonNull", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
782
|
+
'no-non-null-asserted-optional-chain': TSESLint.RuleModule<"suggestRemovingNonNull" | "noNonNullOptionalChain", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
783
|
+
'no-non-null-assertion': TSESLint.RuleModule<import("./rules/no-non-null-assertion").MessageIds, [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
784
|
+
'no-redeclare': TSESLint.RuleModule<import("./rules/no-redeclare").MessageIds, import("./rules/no-redeclare").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
785
|
+
'no-redundant-type-constituents': TSESLint.RuleModule<"overrides" | "errorTypeOverrides" | "literalOverridden" | "overridden" | "primitiveOverridden", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
786
|
+
'no-require-imports': TSESLint.RuleModule<"noRequireImports", import("./rules/no-require-imports").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
787
|
+
'no-restricted-imports': TSESLint.RuleModule<"everything" | "everythingWithCustomMessage" | "importName" | "importNameWithCustomMessage" | "path" | "pathWithCustomMessage" | "patterns" | "patternWithCustomMessage", [import("eslint/lib/rules/no-restricted-imports").ObjectOfPathsAndPatterns] | import("eslint/lib/rules/no-restricted-imports").ArrayOfStringOrObject, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
788
|
+
'no-restricted-types': TSESLint.RuleModule<import("./rules/no-restricted-types").MessageIds, import("./rules/no-restricted-types").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
789
|
+
'no-shadow': TSESLint.RuleModule<import("./rules/no-shadow").MessageIds, import("./rules/no-shadow").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
790
|
+
'no-this-alias': TSESLint.RuleModule<import("./rules/no-this-alias").MessageIds, import("./rules/no-this-alias").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
791
|
+
'no-type-alias': TSESLint.RuleModule<import("./rules/no-type-alias").MessageIds, import("./rules/no-type-alias").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
792
|
+
'no-unnecessary-boolean-literal-compare': TSESLint.RuleModule<import("./rules/no-unnecessary-boolean-literal-compare").MessageIds, import("./rules/no-unnecessary-boolean-literal-compare").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
793
|
+
'no-unnecessary-condition': TSESLint.RuleModule<import("./rules/no-unnecessary-condition").MessageId, import("./rules/no-unnecessary-condition").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
794
|
+
'no-unnecessary-parameter-property-assignment': TSESLint.RuleModule<"unnecessaryAssign", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
795
|
+
'no-unnecessary-qualifier': TSESLint.RuleModule<"unnecessaryQualifier", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
796
|
+
'no-unnecessary-template-expression': TSESLint.RuleModule<"noUnnecessaryTemplateExpression", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
797
|
+
'no-unnecessary-type-arguments': TSESLint.RuleModule<"unnecessaryTypeParameter", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
798
|
+
'no-unnecessary-type-assertion': TSESLint.RuleModule<import("./rules/no-unnecessary-type-assertion").MessageIds, import("./rules/no-unnecessary-type-assertion").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
799
|
+
'no-unnecessary-type-constraint': TSESLint.RuleModule<"removeUnnecessaryConstraint" | "unnecessaryConstraint", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
800
|
+
'no-unnecessary-type-parameters': TSESLint.RuleModule<"replaceUsagesWithConstraint" | "sole", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
801
|
+
'no-unsafe-argument': TSESLint.RuleModule<import("./rules/no-unsafe-argument").MessageIds, [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
802
|
+
'no-unsafe-assignment': TSESLint.RuleModule<"unsafeArraySpread" | "anyAssignment" | "anyAssignmentThis" | "unsafeArrayPattern" | "unsafeArrayPatternFromTuple" | "unsafeAssignment", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
803
|
+
'no-unsafe-call': TSESLint.RuleModule<import("./rules/no-unsafe-call").MessageIds, [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
804
|
+
'no-unsafe-declaration-merging': TSESLint.RuleModule<"unsafeMerging", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
805
|
+
'no-unsafe-enum-comparison': TSESLint.RuleModule<"mismatchedCase" | "mismatchedCondition" | "replaceValueWithEnum", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
806
|
+
'no-unsafe-function-type': TSESLint.RuleModule<"bannedFunctionType", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
807
|
+
'no-unsafe-member-access': TSESLint.RuleModule<"unsafeComputedMemberAccess" | "unsafeMemberExpression" | "unsafeThisMemberExpression", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
808
|
+
'no-unsafe-return': TSESLint.RuleModule<"unsafeReturn" | "unsafeReturnAssignment" | "unsafeReturnThis", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
809
|
+
'no-unsafe-type-assertion': TSESLint.RuleModule<"unsafeOfAnyTypeAssertion" | "unsafeToAnyTypeAssertion" | "unsafeToUnconstrainedTypeAssertion" | "unsafeTypeAssertion" | "unsafeTypeAssertionAssignableToConstraint", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
810
|
+
'no-unsafe-unary-minus': TSESLint.RuleModule<"unaryMinus", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
811
|
+
'no-unused-expressions': TSESLint.RuleModule<"expected", [{
|
812
|
+
allowShortCircuit?: boolean;
|
813
|
+
allowTaggedTemplates?: boolean;
|
814
|
+
allowTernary?: boolean;
|
815
|
+
}], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
816
|
+
'no-unused-vars': TSESLint.RuleModule<import("./rules/no-unused-vars").MessageIds, import("./rules/no-unused-vars").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
817
|
+
'no-use-before-define': TSESLint.RuleModule<"noUseBeforeDefine", import("./rules/no-use-before-define").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
818
|
+
'no-useless-constructor': TSESLint.RuleModule<"noUselessConstructor" | "removeConstructor", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
819
|
+
'no-useless-empty-export': TSESLint.RuleModule<"uselessExport", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
820
|
+
'no-var-requires': TSESLint.RuleModule<"noVarReqs", import("./rules/no-var-requires").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
821
|
+
'no-wrapper-object-types': TSESLint.RuleModule<"bannedClassType", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
822
|
+
'non-nullable-type-assertion-style': TSESLint.RuleModule<"preferNonNullAssertion", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
823
|
+
'only-throw-error': TSESLint.RuleModule<import("./rules/only-throw-error").MessageIds, import("./rules/only-throw-error").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
824
|
+
'parameter-properties': TSESLint.RuleModule<import("./rules/parameter-properties").MessageIds, import("./rules/parameter-properties").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
825
|
+
'prefer-as-const': TSESLint.RuleModule<"preferConstAssertion" | "variableConstAssertion" | "variableSuggest", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
826
|
+
'prefer-destructuring': TSESLint.RuleModule<"preferDestructuring", import("./rules/prefer-destructuring").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
827
|
+
'prefer-enum-initializers': TSESLint.RuleModule<import("./rules/prefer-enum-initializers").MessageIds, [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
828
|
+
'prefer-find': TSESLint.RuleModule<"preferFind" | "preferFindSuggestion", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
829
|
+
'prefer-for-of': TSESLint.RuleModule<"preferForOf", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
830
|
+
'prefer-function-type': TSESLint.RuleModule<"functionTypeOverCallableType" | "unexpectedThisOnFunctionOnlyInterface", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
831
|
+
'prefer-includes': TSESLint.RuleModule<"preferIncludes" | "preferStringIncludes", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
832
|
+
'prefer-literal-enum-member': TSESLint.RuleModule<"notLiteral" | "notLiteralOrBitwiseExpression", [{
|
833
|
+
allowBitwiseExpressions: boolean;
|
834
|
+
}], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
835
|
+
'prefer-namespace-keyword': TSESLint.RuleModule<"useNamespace", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
836
|
+
'prefer-nullish-coalescing': TSESLint.RuleModule<import("./rules/prefer-nullish-coalescing").MessageIds, import("./rules/prefer-nullish-coalescing").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
837
|
+
'prefer-optional-chain': TSESLint.RuleModule<import("./rules/prefer-optional-chain-utils/PreferOptionalChainOptions").PreferOptionalChainMessageIds, [import("./rules/prefer-optional-chain-utils/PreferOptionalChainOptions").PreferOptionalChainOptions], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
838
|
+
'prefer-promise-reject-errors': TSESLint.RuleModule<"rejectAnError", import("./rules/prefer-promise-reject-errors").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
839
|
+
'prefer-readonly': TSESLint.RuleModule<"preferReadonly", import("./rules/prefer-readonly").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
840
|
+
'prefer-readonly-parameter-types': TSESLint.RuleModule<"shouldBeReadonly", import("./rules/prefer-readonly-parameter-types").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
841
|
+
'prefer-reduce-type-parameter': TSESLint.RuleModule<"preferTypeParameter", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
842
|
+
'prefer-regexp-exec': TSESLint.RuleModule<"regExpExecOverStringMatch", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
843
|
+
'prefer-return-this-type': TSESLint.RuleModule<"useThisType", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
844
|
+
'prefer-string-starts-ends-with': TSESLint.RuleModule<import("./rules/prefer-string-starts-ends-with").MessageIds, import("./rules/prefer-string-starts-ends-with").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
845
|
+
'prefer-ts-expect-error': TSESLint.RuleModule<"preferExpectErrorComment", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
846
|
+
'promise-function-async': TSESLint.RuleModule<"missingAsync", import("./rules/promise-function-async").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
847
|
+
'related-getter-setter-pairs': TSESLint.RuleModule<"mismatch", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
848
|
+
'require-array-sort-compare': TSESLint.RuleModule<"requireCompare", import("./rules/require-array-sort-compare").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
849
|
+
'require-await': TSESLint.RuleModule<"missingAwait" | "removeAsync", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
850
|
+
'restrict-plus-operands': TSESLint.RuleModule<import("./rules/restrict-plus-operands").MessageIds, import("./rules/restrict-plus-operands").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
851
|
+
'restrict-template-expressions': TSESLint.RuleModule<"invalidType", import("./rules/restrict-template-expressions").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
852
|
+
'return-await': TSESLint.RuleModule<"disallowedPromiseAwait" | "disallowedPromiseAwaitSuggestion" | "nonPromiseAwait" | "requiredPromiseAwait" | "requiredPromiseAwaitSuggestion", [string], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
853
|
+
'sort-type-constituents': TSESLint.RuleModule<import("./rules/sort-type-constituents").MessageIds, import("./rules/sort-type-constituents").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
854
|
+
'strict-boolean-expressions': TSESLint.RuleModule<import("./rules/strict-boolean-expressions").MessageId, import("./rules/strict-boolean-expressions").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
855
|
+
'switch-exhaustiveness-check': TSESLint.RuleModule<import("./rules/switch-exhaustiveness-check").MessageIds, import("./rules/switch-exhaustiveness-check").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
856
|
+
'triple-slash-reference': TSESLint.RuleModule<"tripleSlashReference", import("./rules/triple-slash-reference").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
857
|
+
typedef: TSESLint.RuleModule<import("./rules/typedef").MessageIds, import("./rules/typedef").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
858
|
+
'unbound-method': TSESLint.RuleModule<import("./rules/unbound-method").MessageIds, import("./rules/unbound-method").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
859
|
+
'unified-signatures': TSESLint.RuleModule<import("./rules/unified-signatures").MessageIds, import("./rules/unified-signatures").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
860
|
+
'use-unknown-in-catch-callback-variable': TSESLint.RuleModule<import("./rules/use-unknown-in-catch-callback-variable").MessageIds, [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener>;
|
861
|
+
};
|
862
|
+
};
|
863
|
+
};
|
864
|
+
export = _default;
|
865
|
+
//# sourceMappingURL=raw-plugin.d.ts.map
|