@perfective/eslint-config 0.28.0 → 0.29.1
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/README.adoc +29 -31
- package/README.md +24 -4
- package/config/plugin.d.ts +0 -3
- package/config/plugin.js +0 -24
- package/config.d.ts +1 -1
- package/config.js +1 -4
- package/cypress.d.ts +1 -0
- package/cypress.js +58 -0
- package/index.d.ts +1734 -0
- package/index.js +2 -35
- package/jest-dom.d.ts +1 -0
- package/jest-dom.js +11 -0
- package/jest.d.ts +1 -0
- package/jest.js +24 -0
- package/package.json +49 -17
- package/rules/array-func/index.d.ts +14 -0
- package/rules/cypress/index.d.ts +21 -0
- package/rules/cypress/index.js +4 -1
- package/rules/eslint/index.d.ts +339 -0
- package/rules/eslint/layout-formatting.d.ts +64 -0
- package/rules/eslint/possible-problems.d.ts +96 -0
- package/rules/eslint/possible-problems.js +10 -2
- package/rules/eslint/suggestions.d.ts +181 -0
- package/rules/eslint/suggestions.js +3 -1
- package/rules/eslint-comments/best-practices.d.ts +8 -0
- package/rules/eslint-comments/index.d.ts +21 -0
- package/rules/eslint-comments/stylistic-issues.d.ts +9 -0
- package/rules/import/helpful-warnings.d.ts +10 -0
- package/rules/import/index.d.ts +78 -0
- package/rules/import/module-systems.d.ts +10 -0
- package/rules/import/static-analysis.d.ts +26 -0
- package/rules/import/style-guide.d.ts +33 -0
- package/rules/jest/index.d.ts +124 -0
- package/rules/jest/typescript-eslint.d.ts +5 -0
- package/rules/jest-dom/index.d.ts +32 -0
- package/rules/jsdoc/index.d.ts +134 -0
- package/rules/n/index.d.ts +66 -0
- package/rules/prefer-arrow/index.d.ts +14 -0
- package/rules/promise/index.d.ts +35 -0
- package/rules/rxjs/index.d.ts +60 -0
- package/rules/rxjs/index.js +41 -42
- package/rules/security/index.d.ts +22 -0
- package/rules/simple-import-sort/index.d.ts +10 -0
- package/rules/stylistic/js/index.d.ts +197 -0
- package/rules/stylistic/jsx/index.d.ts +81 -0
- package/rules/stylistic/plus/index.d.ts +14 -0
- package/rules/stylistic/ts/index.d.ts +135 -0
- package/rules/testing-library/index.d.ts +62 -0
- package/rules/typescript-eslint/extension-rules.d.ts +113 -0
- package/rules/typescript-eslint/index.d.ts +369 -0
- package/rules/typescript-eslint/supported-rules.d.ts +253 -0
- package/rules/unicorn/index.d.ts +178 -0
- package/rxjs.d.ts +1 -0
- package/rxjs.js +58 -0
- package/testing-library.d.ts +1 -0
- package/testing-library.js +11 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,1734 @@
|
|
|
1
|
+
import * as babelParser from '@babel/eslint-parser';
|
|
2
|
+
declare const _default: ({
|
|
3
|
+
ignores: string[];
|
|
4
|
+
files?: undefined;
|
|
5
|
+
languageOptions?: undefined;
|
|
6
|
+
plugins?: undefined;
|
|
7
|
+
settings?: undefined;
|
|
8
|
+
rules?: undefined;
|
|
9
|
+
} | {
|
|
10
|
+
files: string[];
|
|
11
|
+
languageOptions: {
|
|
12
|
+
parser: import("@typescript-eslint/utils/dist/ts-eslint").Parser.LooseParserModule;
|
|
13
|
+
parserOptions: {
|
|
14
|
+
ecmaVersion: number;
|
|
15
|
+
ecmaFeatures: {
|
|
16
|
+
globalReturn: boolean;
|
|
17
|
+
impliedStrict: boolean;
|
|
18
|
+
};
|
|
19
|
+
sourceType: string;
|
|
20
|
+
project: string;
|
|
21
|
+
warnOnUnsupportedTypeScriptVersion: boolean;
|
|
22
|
+
requireConfigFile?: undefined;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
plugins: {
|
|
26
|
+
unicorn: import("eslint").ESLint.Plugin & {
|
|
27
|
+
configs: {
|
|
28
|
+
recommended: import("eslint").Linter.Config;
|
|
29
|
+
all: import("eslint").Linter.Config;
|
|
30
|
+
"flat/all": import("eslint").Linter.FlatConfig;
|
|
31
|
+
"flat/recommended": import("eslint").Linter.FlatConfig;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
'@stylistic/plus': typeof import("@stylistic/eslint-plugin-plus");
|
|
35
|
+
'@stylistic/js': typeof import("@stylistic/eslint-plugin-js");
|
|
36
|
+
'simple-import-sort': import("eslint").ESLint.Plugin;
|
|
37
|
+
security: typeof import("eslint-plugin-security");
|
|
38
|
+
promise: typeof import("eslint-plugin-promise");
|
|
39
|
+
'prefer-arrow': typeof import("eslint-plugin-prefer-arrow");
|
|
40
|
+
n: import("eslint").ESLint.Plugin & {
|
|
41
|
+
configs: import("eslint-plugin-n").Configs;
|
|
42
|
+
};
|
|
43
|
+
jsdoc: {
|
|
44
|
+
rules: Record<string, import("eslint").Rule.RuleModule> | undefined;
|
|
45
|
+
};
|
|
46
|
+
import: Record<string, unknown>;
|
|
47
|
+
'eslint-comments': typeof import("eslint-plugin-eslint-comments");
|
|
48
|
+
'array-func': typeof import("eslint-plugin-array-func");
|
|
49
|
+
};
|
|
50
|
+
settings: {
|
|
51
|
+
jsdoc: {
|
|
52
|
+
jsdoc: {
|
|
53
|
+
tagNamePreference: {
|
|
54
|
+
augments: {
|
|
55
|
+
message: string;
|
|
56
|
+
replacement: string;
|
|
57
|
+
};
|
|
58
|
+
todo: {
|
|
59
|
+
message: string;
|
|
60
|
+
};
|
|
61
|
+
fires: {
|
|
62
|
+
replacement: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
ignoreReplacesDocs: boolean;
|
|
66
|
+
overrideReplacesDocs: boolean;
|
|
67
|
+
augmentsExtendsReplacesDocs: boolean;
|
|
68
|
+
implementsReplacesDoc: boolean;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
'import/extensions'?: undefined;
|
|
72
|
+
'import/parsers'?: undefined;
|
|
73
|
+
'import/resolver'?: undefined;
|
|
74
|
+
};
|
|
75
|
+
rules: {
|
|
76
|
+
'unicorn/better-regex': string;
|
|
77
|
+
'unicorn/catch-error-name': string;
|
|
78
|
+
'unicorn/consistent-destructuring': string;
|
|
79
|
+
'unicorn/consistent-empty-array-spread': string;
|
|
80
|
+
'unicorn/consistent-existence-index-check': string;
|
|
81
|
+
'unicorn/consistent-function-scoping': (string | {
|
|
82
|
+
checkArrowFunctions: boolean;
|
|
83
|
+
})[];
|
|
84
|
+
'unicorn/custom-error-definition': string;
|
|
85
|
+
'unicorn/empty-brace-spaces': string;
|
|
86
|
+
'unicorn/error-message': string;
|
|
87
|
+
'unicorn/escape-case': string;
|
|
88
|
+
'unicorn/expiring-todo-comments': string;
|
|
89
|
+
'unicorn/explicit-length-check': string;
|
|
90
|
+
'unicorn/filename-case': (string | {
|
|
91
|
+
case: string;
|
|
92
|
+
})[];
|
|
93
|
+
'unicorn/import-index': string;
|
|
94
|
+
'unicorn/import-style': string;
|
|
95
|
+
'unicorn/new-for-builtins': string;
|
|
96
|
+
'unicorn/no-abusive-eslint-disable': string;
|
|
97
|
+
'unicorn/no-anonymous-default-export': string;
|
|
98
|
+
'unicorn/no-array-callback-reference': string;
|
|
99
|
+
'unicorn/no-array-for-each': string;
|
|
100
|
+
'unicorn/no-array-method-this-argument': string;
|
|
101
|
+
'unicorn/no-array-push-push': (string | {
|
|
102
|
+
ignore: string[];
|
|
103
|
+
})[];
|
|
104
|
+
'unicorn/no-array-reduce': string;
|
|
105
|
+
'unicorn/no-await-expression-member': string;
|
|
106
|
+
'unicorn/no-await-in-promise-methods': string;
|
|
107
|
+
'unicorn/no-console-spaces': string;
|
|
108
|
+
'unicorn/no-document-cookie': string;
|
|
109
|
+
'unicorn/no-empty-file': string;
|
|
110
|
+
'unicorn/no-for-loop': string;
|
|
111
|
+
'unicorn/no-hex-escape': string;
|
|
112
|
+
'unicorn/no-instanceof-array': string;
|
|
113
|
+
'unicorn/no-invalid-fetch-options': string;
|
|
114
|
+
'unicorn/no-invalid-remove-event-listener': string;
|
|
115
|
+
'unicorn/no-keyword-prefix': (string | {
|
|
116
|
+
disallowedPrefixes: string[];
|
|
117
|
+
checkProperties: boolean;
|
|
118
|
+
onlyCamelCase: boolean;
|
|
119
|
+
})[];
|
|
120
|
+
'unicorn/no-length-as-slice-end': string;
|
|
121
|
+
'unicorn/no-lonely-if': string;
|
|
122
|
+
'unicorn/no-magic-array-flat-depth': string;
|
|
123
|
+
'unicorn/no-negated-condition': string;
|
|
124
|
+
'unicorn/no-negation-in-equality-check': string;
|
|
125
|
+
'unicorn/no-nested-ternary': string;
|
|
126
|
+
'unicorn/no-new-array': string;
|
|
127
|
+
'unicorn/no-new-buffer': string;
|
|
128
|
+
'unicorn/no-null': string;
|
|
129
|
+
'unicorn/no-object-as-default-parameter': string;
|
|
130
|
+
'unicorn/no-process-exit': string;
|
|
131
|
+
'unicorn/no-single-promise-in-promise-methods': string;
|
|
132
|
+
'unicorn/no-static-only-class': string;
|
|
133
|
+
'unicorn/no-thenable': string;
|
|
134
|
+
'unicorn/no-this-assignment': string;
|
|
135
|
+
'unicorn/no-typeof-undefined': (string | {
|
|
136
|
+
checkGlobalVariables: boolean;
|
|
137
|
+
})[];
|
|
138
|
+
'unicorn/no-unnecessary-await': string;
|
|
139
|
+
'unicorn/no-unnecessary-polyfills': string;
|
|
140
|
+
'unicorn/no-unreadable-array-destructuring': string;
|
|
141
|
+
'unicorn/no-unreadable-iife': string;
|
|
142
|
+
'unicorn/no-unsafe-regex': string;
|
|
143
|
+
'unicorn/no-unused-properties': string;
|
|
144
|
+
'unicorn/no-useless-fallback-in-spread': string;
|
|
145
|
+
'unicorn/no-useless-length-check': string;
|
|
146
|
+
'unicorn/no-useless-promise-resolve-reject': string;
|
|
147
|
+
'unicorn/no-useless-spread': string;
|
|
148
|
+
'unicorn/no-useless-switch-case': string;
|
|
149
|
+
'unicorn/no-useless-undefined': string;
|
|
150
|
+
'unicorn/no-zero-fractions': string;
|
|
151
|
+
'unicorn/number-literal-case': string;
|
|
152
|
+
'unicorn/numeric-separators-style': (string | {
|
|
153
|
+
hexadecimal: {
|
|
154
|
+
minimumDigits: number;
|
|
155
|
+
groupLength: number;
|
|
156
|
+
};
|
|
157
|
+
binary: {
|
|
158
|
+
minimumDigits: number;
|
|
159
|
+
groupLength: number;
|
|
160
|
+
};
|
|
161
|
+
octal: {
|
|
162
|
+
minimumDigits: number;
|
|
163
|
+
groupLength: number;
|
|
164
|
+
};
|
|
165
|
+
number: {
|
|
166
|
+
minimumDigits: number;
|
|
167
|
+
groupLength: number;
|
|
168
|
+
};
|
|
169
|
+
})[];
|
|
170
|
+
'unicorn/prefer-add-event-listener': string;
|
|
171
|
+
'unicorn/prefer-array-find': (string | {
|
|
172
|
+
checkFromLast: boolean;
|
|
173
|
+
})[];
|
|
174
|
+
'unicorn/prefer-array-flat': string;
|
|
175
|
+
'unicorn/prefer-array-flat-map': string;
|
|
176
|
+
'unicorn/prefer-array-index-of': string;
|
|
177
|
+
'unicorn/prefer-array-some': string;
|
|
178
|
+
'unicorn/prefer-at': string;
|
|
179
|
+
'unicorn/prefer-blob-reading-methods': string;
|
|
180
|
+
'unicorn/prefer-code-point': string;
|
|
181
|
+
'unicorn/prefer-date-now': string;
|
|
182
|
+
'unicorn/prefer-default-parameters': string;
|
|
183
|
+
'unicorn/prefer-dom-node-append': string;
|
|
184
|
+
'unicorn/prefer-dom-node-dataset': string;
|
|
185
|
+
'unicorn/prefer-dom-node-remove': string;
|
|
186
|
+
'unicorn/prefer-dom-node-text-content': string;
|
|
187
|
+
'unicorn/prefer-event-target': string;
|
|
188
|
+
'unicorn/prefer-export-from': string;
|
|
189
|
+
'unicorn/prefer-global-this': string;
|
|
190
|
+
'unicorn/prefer-includes': string;
|
|
191
|
+
'unicorn/prefer-json-parse-buffer': string;
|
|
192
|
+
'unicorn/prefer-keyboard-event-key': string;
|
|
193
|
+
'unicorn/prefer-logical-operator-over-ternary': string;
|
|
194
|
+
'unicorn/prefer-math-min-max': string;
|
|
195
|
+
'unicorn/prefer-math-trunc': string;
|
|
196
|
+
'unicorn/prefer-modern-dom-apis': string;
|
|
197
|
+
'unicorn/prefer-modern-math-apis': string;
|
|
198
|
+
'unicorn/prefer-module': string;
|
|
199
|
+
'unicorn/prefer-native-coercion-functions': string;
|
|
200
|
+
'unicorn/prefer-negative-index': string;
|
|
201
|
+
'unicorn/prefer-node-protocol': string;
|
|
202
|
+
'unicorn/prefer-number-properties': (string | {
|
|
203
|
+
checkInfinity: boolean;
|
|
204
|
+
checkNaN: boolean;
|
|
205
|
+
})[];
|
|
206
|
+
'unicorn/prefer-object-from-entries': (string | {
|
|
207
|
+
functions: never[];
|
|
208
|
+
})[];
|
|
209
|
+
'unicorn/prefer-optional-catch-binding': string;
|
|
210
|
+
'unicorn/prefer-prototype-methods': string;
|
|
211
|
+
'unicorn/prefer-query-selector': string;
|
|
212
|
+
'unicorn/prefer-reflect-apply': string;
|
|
213
|
+
'unicorn/prefer-regexp-test': string;
|
|
214
|
+
'unicorn/prefer-set-has': string;
|
|
215
|
+
'unicorn/prefer-set-size': string;
|
|
216
|
+
'unicorn/prefer-spread': string;
|
|
217
|
+
'unicorn/prefer-string-raw': string;
|
|
218
|
+
'unicorn/prefer-string-replace-all': string;
|
|
219
|
+
'unicorn/prefer-string-slice': string;
|
|
220
|
+
'unicorn/prefer-string-starts-ends-with': string;
|
|
221
|
+
'unicorn/prefer-string-trim-start-end': string;
|
|
222
|
+
'unicorn/prefer-structured-clone': string;
|
|
223
|
+
'unicorn/prefer-switch': (string | {
|
|
224
|
+
minimumCases: number;
|
|
225
|
+
emptyDefaultCase: string;
|
|
226
|
+
})[];
|
|
227
|
+
'unicorn/prefer-ternary': string;
|
|
228
|
+
'unicorn/prefer-top-level-await': string;
|
|
229
|
+
'unicorn/prefer-type-error': string;
|
|
230
|
+
'unicorn/prevent-abbreviations': (string | import("./rules").UnicornPreventAbbreviations)[];
|
|
231
|
+
'unicorn/relative-url-style': string[];
|
|
232
|
+
'unicorn/require-array-join-separator': string;
|
|
233
|
+
'unicorn/require-number-to-fixed-digits-argument': string;
|
|
234
|
+
'unicorn/require-post-message-target-origin': string;
|
|
235
|
+
'unicorn/string-content': string;
|
|
236
|
+
'unicorn/switch-case-braces': string;
|
|
237
|
+
'unicorn/template-indent': string;
|
|
238
|
+
'unicorn/text-encoding-identifier-case': string;
|
|
239
|
+
'unicorn/throw-new-error': string;
|
|
240
|
+
'@stylistic/plus/curly-newline': (string | {
|
|
241
|
+
minElements: number;
|
|
242
|
+
})[];
|
|
243
|
+
'@stylistic/plus/indent-binary-ops': (string | number)[];
|
|
244
|
+
'@stylistic/plus/type-generic-spacing': string;
|
|
245
|
+
'@stylistic/plus/type-named-tuple-spacing': string;
|
|
246
|
+
'@stylistic/js/array-bracket-newline': string[];
|
|
247
|
+
'@stylistic/js/array-bracket-spacing': string[];
|
|
248
|
+
'@stylistic/js/array-element-newline': string[];
|
|
249
|
+
'@stylistic/js/arrow-parens': string[];
|
|
250
|
+
'@stylistic/js/arrow-spacing': (string | {
|
|
251
|
+
before: boolean;
|
|
252
|
+
after: boolean;
|
|
253
|
+
})[];
|
|
254
|
+
'@stylistic/js/block-spacing': string[];
|
|
255
|
+
'@stylistic/js/brace-style': (string | {
|
|
256
|
+
allowSingleLine: boolean;
|
|
257
|
+
})[];
|
|
258
|
+
'@stylistic/js/comma-dangle': (string | {
|
|
259
|
+
arrays: string;
|
|
260
|
+
objects: string;
|
|
261
|
+
imports: string;
|
|
262
|
+
exports: string;
|
|
263
|
+
functions: string;
|
|
264
|
+
})[];
|
|
265
|
+
'@stylistic/js/comma-spacing': (string | {
|
|
266
|
+
before: boolean;
|
|
267
|
+
after: boolean;
|
|
268
|
+
})[];
|
|
269
|
+
'@stylistic/js/comma-style': string[];
|
|
270
|
+
'@stylistic/js/computed-property-spacing': string[];
|
|
271
|
+
'@stylistic/js/dot-location': string[];
|
|
272
|
+
'@stylistic/js/eol-last': string[];
|
|
273
|
+
'@stylistic/js/func-call-spacing': string;
|
|
274
|
+
'@stylistic/js/function-call-argument-newline': string[];
|
|
275
|
+
'@stylistic/js/function-call-spacing': string[];
|
|
276
|
+
'@stylistic/js/function-paren-newline': string[];
|
|
277
|
+
'@stylistic/js/generator-star-spacing': (string | {
|
|
278
|
+
before: boolean;
|
|
279
|
+
after: boolean;
|
|
280
|
+
})[];
|
|
281
|
+
'@stylistic/js/implicit-arrow-linebreak': string[];
|
|
282
|
+
'@stylistic/js/indent': (string | number | {
|
|
283
|
+
SwitchCase: number;
|
|
284
|
+
})[];
|
|
285
|
+
'@stylistic/js/jsx-quotes': string[];
|
|
286
|
+
'@stylistic/js/key-spacing': (string | {
|
|
287
|
+
beforeColon: boolean;
|
|
288
|
+
afterColon: boolean;
|
|
289
|
+
mode: string;
|
|
290
|
+
})[];
|
|
291
|
+
'@stylistic/js/keyword-spacing': (string | {
|
|
292
|
+
before: boolean;
|
|
293
|
+
after: boolean;
|
|
294
|
+
})[];
|
|
295
|
+
'@stylistic/js/line-comment-position': (string | {
|
|
296
|
+
position: string;
|
|
297
|
+
ignorePattern: string;
|
|
298
|
+
})[];
|
|
299
|
+
'@stylistic/js/linebreak-style': string[];
|
|
300
|
+
'@stylistic/js/lines-around-comment': (string | {
|
|
301
|
+
beforeBlockComment: boolean;
|
|
302
|
+
afterBlockComment: boolean;
|
|
303
|
+
beforeLineComment: boolean;
|
|
304
|
+
afterLineComment: boolean;
|
|
305
|
+
allowBlockStart: boolean;
|
|
306
|
+
allowBlockEnd: boolean;
|
|
307
|
+
allowObjectStart: boolean;
|
|
308
|
+
allowObjectEnd: boolean;
|
|
309
|
+
allowArrayStart: boolean;
|
|
310
|
+
allowArrayEnd: boolean;
|
|
311
|
+
allowClassStart: boolean;
|
|
312
|
+
allowClassEnd: boolean;
|
|
313
|
+
afterHashbangComment: boolean;
|
|
314
|
+
})[];
|
|
315
|
+
'@stylistic/js/lines-between-class-members': (string | {
|
|
316
|
+
exceptAfterSingleLine: boolean;
|
|
317
|
+
})[];
|
|
318
|
+
'@stylistic/js/max-len': (string | {
|
|
319
|
+
code: number;
|
|
320
|
+
tabWidth: number;
|
|
321
|
+
ignoreRegExpLiterals: boolean;
|
|
322
|
+
ignoreUrls: boolean;
|
|
323
|
+
})[];
|
|
324
|
+
'@stylistic/js/max-statements-per-line': (string | {
|
|
325
|
+
max: number;
|
|
326
|
+
})[];
|
|
327
|
+
'@stylistic/js/multiline-comment-style': (string | {
|
|
328
|
+
checkJSDoc: boolean;
|
|
329
|
+
})[];
|
|
330
|
+
'@stylistic/js/multiline-ternary': string[];
|
|
331
|
+
'@stylistic/js/new-parens': string;
|
|
332
|
+
'@stylistic/js/newline-per-chained-call': (string | {
|
|
333
|
+
ignoreChainWithDepth: number;
|
|
334
|
+
})[];
|
|
335
|
+
'@stylistic/js/no-confusing-arrow': (string | {
|
|
336
|
+
allowParens: boolean;
|
|
337
|
+
onlyOneSimpleParam: boolean;
|
|
338
|
+
})[];
|
|
339
|
+
'@stylistic/js/no-extra-parens': (string | {
|
|
340
|
+
ignoreJSX: string;
|
|
341
|
+
nestedBinaryExpressions: boolean;
|
|
342
|
+
enforceForArrowConditionals: boolean;
|
|
343
|
+
ternaryOperandBinaryExpressions: boolean;
|
|
344
|
+
})[];
|
|
345
|
+
'@stylistic/js/no-extra-semi': string;
|
|
346
|
+
'@stylistic/js/no-floating-decimal': string;
|
|
347
|
+
'@stylistic/js/no-mixed-operators': (string | {
|
|
348
|
+
groups: string[][];
|
|
349
|
+
allowSamePrecedence: boolean;
|
|
350
|
+
})[];
|
|
351
|
+
'@stylistic/js/no-mixed-spaces-and-tabs': string;
|
|
352
|
+
'@stylistic/js/no-multi-spaces': string;
|
|
353
|
+
'@stylistic/js/no-multiple-empty-lines': (string | {
|
|
354
|
+
max: number;
|
|
355
|
+
maxEOF: number;
|
|
356
|
+
maxBOF: number;
|
|
357
|
+
})[];
|
|
358
|
+
'@stylistic/js/no-tabs': string;
|
|
359
|
+
'@stylistic/js/no-trailing-spaces': string;
|
|
360
|
+
'@stylistic/js/no-whitespace-before-property': string;
|
|
361
|
+
'@stylistic/js/nonblock-statement-body-position': string[];
|
|
362
|
+
'@stylistic/js/object-curly-newline': (string | {
|
|
363
|
+
ImportDeclaration: {
|
|
364
|
+
multiline: boolean;
|
|
365
|
+
};
|
|
366
|
+
ExportDeclaration: {
|
|
367
|
+
multiline: boolean;
|
|
368
|
+
};
|
|
369
|
+
})[];
|
|
370
|
+
'@stylistic/js/object-curly-spacing': (string | {
|
|
371
|
+
arraysInObjects: boolean;
|
|
372
|
+
objectsInObjects: boolean;
|
|
373
|
+
})[];
|
|
374
|
+
'@stylistic/js/object-property-newline': (string | {
|
|
375
|
+
allowAllPropertiesOnSameLine: boolean;
|
|
376
|
+
})[];
|
|
377
|
+
'@stylistic/js/one-var-declaration-per-line': string[];
|
|
378
|
+
'@stylistic/js/operator-linebreak': (string | {
|
|
379
|
+
overrides: {
|
|
380
|
+
'=': string;
|
|
381
|
+
'==': string;
|
|
382
|
+
'!=': string;
|
|
383
|
+
'>=': string;
|
|
384
|
+
'<=': string;
|
|
385
|
+
'===': string;
|
|
386
|
+
'+=': string;
|
|
387
|
+
};
|
|
388
|
+
})[];
|
|
389
|
+
'@stylistic/js/padded-blocks': string[];
|
|
390
|
+
'@stylistic/js/padding-line-between-statements': string;
|
|
391
|
+
'@stylistic/js/quote-props': string[];
|
|
392
|
+
'@stylistic/js/quotes': (string | {
|
|
393
|
+
avoidEscape: boolean;
|
|
394
|
+
allowTemplateLiterals: boolean;
|
|
395
|
+
ignoreStringLiterals: boolean;
|
|
396
|
+
})[];
|
|
397
|
+
'@stylistic/js/rest-spread-spacing': string[];
|
|
398
|
+
'@stylistic/js/semi': string[];
|
|
399
|
+
'@stylistic/js/semi-spacing': (string | {
|
|
400
|
+
before: boolean;
|
|
401
|
+
after: boolean;
|
|
402
|
+
})[];
|
|
403
|
+
'@stylistic/js/semi-style': string[];
|
|
404
|
+
'@stylistic/js/space-before-blocks': string[];
|
|
405
|
+
'@stylistic/js/space-before-function-paren': (string | {
|
|
406
|
+
anonymous: string;
|
|
407
|
+
named: string;
|
|
408
|
+
asyncArrow: string;
|
|
409
|
+
})[];
|
|
410
|
+
'@stylistic/js/space-in-parens': string[];
|
|
411
|
+
'@stylistic/js/space-infix-ops': (string | {
|
|
412
|
+
int32Hint: boolean;
|
|
413
|
+
})[];
|
|
414
|
+
'@stylistic/js/space-unary-ops': (string | {
|
|
415
|
+
words: boolean;
|
|
416
|
+
nonwords: boolean;
|
|
417
|
+
})[];
|
|
418
|
+
'@stylistic/js/spaced-comment': (string | {
|
|
419
|
+
line: {
|
|
420
|
+
markers: string[];
|
|
421
|
+
};
|
|
422
|
+
})[];
|
|
423
|
+
'@stylistic/js/switch-colon-spacing': (string | {
|
|
424
|
+
after: boolean;
|
|
425
|
+
before: boolean;
|
|
426
|
+
})[];
|
|
427
|
+
'@stylistic/js/template-curly-spacing': string[];
|
|
428
|
+
'@stylistic/js/template-tag-spacing': string[];
|
|
429
|
+
'@stylistic/js/wrap-iife': string[];
|
|
430
|
+
'@stylistic/js/wrap-regex': string;
|
|
431
|
+
'@stylistic/js/yield-star-spacing': (string | {
|
|
432
|
+
before: boolean;
|
|
433
|
+
after: boolean;
|
|
434
|
+
})[];
|
|
435
|
+
'simple-import-sort/exports': string;
|
|
436
|
+
'simple-import-sort/imports': (string | import("./rules").SimpleImportSortImports)[];
|
|
437
|
+
'security/detect-bidi-characters': string;
|
|
438
|
+
'security/detect-buffer-noassert': string;
|
|
439
|
+
'security/detect-child-process': string;
|
|
440
|
+
'security/detect-disable-mustache-escape': string;
|
|
441
|
+
'security/detect-eval-with-expression': string;
|
|
442
|
+
'security/detect-new-buffer': string;
|
|
443
|
+
'security/detect-no-csrf-before-method-override': string;
|
|
444
|
+
'security/detect-non-literal-fs-filename': string;
|
|
445
|
+
'security/detect-non-literal-regexp': string;
|
|
446
|
+
'security/detect-non-literal-require': string;
|
|
447
|
+
'security/detect-object-injection': string;
|
|
448
|
+
'security/detect-possible-timing-attacks': string;
|
|
449
|
+
'security/detect-pseudoRandomBytes': string;
|
|
450
|
+
'security/detect-unsafe-regex': string;
|
|
451
|
+
'promise/catch-or-return': (string | {
|
|
452
|
+
allowThen: boolean;
|
|
453
|
+
allowThenStrict: boolean;
|
|
454
|
+
allowFinally: boolean;
|
|
455
|
+
})[];
|
|
456
|
+
'promise/no-return-wrap': string;
|
|
457
|
+
'promise/param-names': string;
|
|
458
|
+
'promise/always-return': (string | {
|
|
459
|
+
ignoreAssignmentVariable: string[];
|
|
460
|
+
})[];
|
|
461
|
+
'promise/no-multiple-resolved': string;
|
|
462
|
+
'promise/no-native': string;
|
|
463
|
+
'promise/no-nesting': string;
|
|
464
|
+
'promise/no-promise-in-callback': string;
|
|
465
|
+
'promise/no-callback-in-promise': (string | {
|
|
466
|
+
timeoutsErr: boolean;
|
|
467
|
+
})[];
|
|
468
|
+
'promise/avoid-new': string;
|
|
469
|
+
'promise/no-new-statics': string;
|
|
470
|
+
'promise/no-return-in-finally': string;
|
|
471
|
+
'promise/prefer-catch': string;
|
|
472
|
+
'promise/spec-only': (string | {
|
|
473
|
+
allowedMethods: never[];
|
|
474
|
+
})[];
|
|
475
|
+
'promise/valid-params': string;
|
|
476
|
+
'promise/prefer-await-to-then': string;
|
|
477
|
+
'promise/prefer-await-to-callbacks': string;
|
|
478
|
+
'prefer-arrow/prefer-arrow-functions': (string | {
|
|
479
|
+
allowStandaloneDeclarations: boolean;
|
|
480
|
+
classPropertiesAllowed: boolean;
|
|
481
|
+
disallowPrototype: boolean;
|
|
482
|
+
singleReturnOnly: boolean;
|
|
483
|
+
})[];
|
|
484
|
+
'n/callback-return': (string | string[])[];
|
|
485
|
+
'n/exports-style': (string | {
|
|
486
|
+
allowBatchAssign: boolean;
|
|
487
|
+
})[];
|
|
488
|
+
'n/file-extension-in-import': string;
|
|
489
|
+
'n/global-require': string;
|
|
490
|
+
'n/handle-callback-err': string;
|
|
491
|
+
'n/hashbang': string;
|
|
492
|
+
'n/no-callback-literal': string;
|
|
493
|
+
'n/no-deprecated-api': string;
|
|
494
|
+
'n/no-exports-assign': string;
|
|
495
|
+
'n/no-extraneous-import': string;
|
|
496
|
+
'n/no-extraneous-require': string;
|
|
497
|
+
'n/no-hide-core-modules': string;
|
|
498
|
+
'n/no-missing-import': string;
|
|
499
|
+
'n/no-missing-require': string;
|
|
500
|
+
'n/no-mixed-requires': string;
|
|
501
|
+
'n/no-new-require': string;
|
|
502
|
+
'n/no-path-concat': string;
|
|
503
|
+
'n/no-process-env': string;
|
|
504
|
+
'n/no-process-exit': string;
|
|
505
|
+
'n/no-restricted-import': string;
|
|
506
|
+
'n/no-restricted-require': string;
|
|
507
|
+
'n/no-sync': (string | {
|
|
508
|
+
allowAtRootLevel: boolean;
|
|
509
|
+
})[];
|
|
510
|
+
'n/no-unpublished-bin': string;
|
|
511
|
+
'n/no-unpublished-import': (string | {
|
|
512
|
+
ignorePrivate: boolean;
|
|
513
|
+
})[];
|
|
514
|
+
'n/no-unpublished-require': (string | {
|
|
515
|
+
allowModules: never[];
|
|
516
|
+
ignorePrivate: boolean;
|
|
517
|
+
tryExtensions: string[];
|
|
518
|
+
})[];
|
|
519
|
+
'n/no-unsupported-features/es-builtins': (string | {
|
|
520
|
+
version: string;
|
|
521
|
+
ignores: never[];
|
|
522
|
+
})[];
|
|
523
|
+
'n/no-unsupported-features/es-syntax': string;
|
|
524
|
+
'n/no-unsupported-features/node-builtins': (string | {
|
|
525
|
+
version: string;
|
|
526
|
+
ignores: never[];
|
|
527
|
+
})[];
|
|
528
|
+
'n/prefer-global/buffer': string[];
|
|
529
|
+
'n/prefer-global/console': string[];
|
|
530
|
+
'n/prefer-global/process': string[];
|
|
531
|
+
'n/prefer-global/text-decoder': string[];
|
|
532
|
+
'n/prefer-global/text-encoder': string[];
|
|
533
|
+
'n/prefer-global/url': string[];
|
|
534
|
+
'n/prefer-global/url-search-params': string[];
|
|
535
|
+
'n/prefer-node-protocol': string;
|
|
536
|
+
'n/prefer-promises/dns': string;
|
|
537
|
+
'n/prefer-promises/fs': string;
|
|
538
|
+
'n/process-exit-as-throw': string;
|
|
539
|
+
'n/shebang': string;
|
|
540
|
+
'jsdoc/check-access': string;
|
|
541
|
+
'jsdoc/check-alignment': string;
|
|
542
|
+
'jsdoc/check-examples': string;
|
|
543
|
+
'jsdoc/check-indentation': string;
|
|
544
|
+
'jsdoc/check-line-alignment': string[];
|
|
545
|
+
'jsdoc/check-param-names': (string | {
|
|
546
|
+
allowExtraTrailingParamDocs: boolean;
|
|
547
|
+
checkDestructured: boolean;
|
|
548
|
+
checkRestProperty: boolean;
|
|
549
|
+
disableExtraPropertyReporting: boolean;
|
|
550
|
+
disableMissingParamChecks: boolean;
|
|
551
|
+
enableFixer: boolean;
|
|
552
|
+
useDefaultObjectProperties: boolean;
|
|
553
|
+
})[];
|
|
554
|
+
'jsdoc/check-property-names': (string | {
|
|
555
|
+
enableFixer: boolean;
|
|
556
|
+
})[];
|
|
557
|
+
'jsdoc/check-syntax': string;
|
|
558
|
+
'jsdoc/check-tag-names': (string | {
|
|
559
|
+
definedTags: string[];
|
|
560
|
+
jsxTags: boolean;
|
|
561
|
+
})[];
|
|
562
|
+
'jsdoc/check-template-names': string;
|
|
563
|
+
'jsdoc/check-types': (string | {
|
|
564
|
+
noDefaults: boolean;
|
|
565
|
+
})[];
|
|
566
|
+
'jsdoc/check-values': string;
|
|
567
|
+
'jsdoc/convert-to-jsdoc-comments': string;
|
|
568
|
+
'jsdoc/empty-tags': (string | {
|
|
569
|
+
tags: string[];
|
|
570
|
+
})[];
|
|
571
|
+
'jsdoc/implements-on-classes': string;
|
|
572
|
+
'jsdoc/imports-as-dependencies': string;
|
|
573
|
+
'jsdoc/lines-before-block': string;
|
|
574
|
+
'jsdoc/match-description': string;
|
|
575
|
+
'jsdoc/match-name': string;
|
|
576
|
+
'jsdoc/multiline-blocks': (string | {
|
|
577
|
+
noZeroLineText: boolean;
|
|
578
|
+
noFinalLineText: boolean;
|
|
579
|
+
noSingleLineBlocks: boolean;
|
|
580
|
+
singleLineTags: string[];
|
|
581
|
+
noMultilineBlocks: boolean;
|
|
582
|
+
multilineTags: string[];
|
|
583
|
+
allowMultipleTags: boolean;
|
|
584
|
+
})[];
|
|
585
|
+
'jsdoc/no-bad-blocks': (string | {
|
|
586
|
+
ignore: string[];
|
|
587
|
+
preventAllMultiAsteriskBlocks: boolean;
|
|
588
|
+
})[];
|
|
589
|
+
'jsdoc/no-blank-blocks': string;
|
|
590
|
+
'jsdoc/no-blank-block-descriptions': string;
|
|
591
|
+
'jsdoc/no-defaults': string;
|
|
592
|
+
'jsdoc/no-missing-syntax': string;
|
|
593
|
+
'jsdoc/no-multi-asterisks': (string | {
|
|
594
|
+
allowWhitespace: boolean;
|
|
595
|
+
preventAtMiddleLines: boolean;
|
|
596
|
+
preventAtEnd: boolean;
|
|
597
|
+
})[];
|
|
598
|
+
'jsdoc/no-restricted-syntax': string;
|
|
599
|
+
'jsdoc/no-types': string;
|
|
600
|
+
'jsdoc/no-undefined-types': string;
|
|
601
|
+
'jsdoc/require-asterisk-prefix': string[];
|
|
602
|
+
'jsdoc/require-description': (string | {
|
|
603
|
+
exemptedBy: string[];
|
|
604
|
+
})[];
|
|
605
|
+
'jsdoc/require-description-complete-sentence': string;
|
|
606
|
+
'jsdoc/require-example': string;
|
|
607
|
+
'jsdoc/require-file-overview': string;
|
|
608
|
+
'jsdoc/require-hyphen-before-param-description': string[];
|
|
609
|
+
'jsdoc/require-jsdoc': string;
|
|
610
|
+
'jsdoc/require-param': string;
|
|
611
|
+
'jsdoc/require-param-description': string;
|
|
612
|
+
'jsdoc/require-param-name': string;
|
|
613
|
+
'jsdoc/require-param-type': string;
|
|
614
|
+
'jsdoc/require-property': string;
|
|
615
|
+
'jsdoc/require-property-description': string;
|
|
616
|
+
'jsdoc/require-property-name': string;
|
|
617
|
+
'jsdoc/require-property-type': string;
|
|
618
|
+
'jsdoc/require-returns': string;
|
|
619
|
+
'jsdoc/require-returns-check': string;
|
|
620
|
+
'jsdoc/require-returns-description': string;
|
|
621
|
+
'jsdoc/require-returns-type': string;
|
|
622
|
+
'jsdoc/require-template': (string | {
|
|
623
|
+
requireSeparateTemplates: boolean;
|
|
624
|
+
})[];
|
|
625
|
+
'jsdoc/require-throws': string;
|
|
626
|
+
'jsdoc/require-yields': string;
|
|
627
|
+
'jsdoc/require-yields-check': string;
|
|
628
|
+
'jsdoc/sort-tags': (string | {
|
|
629
|
+
tagSequence: {
|
|
630
|
+
tags: string[];
|
|
631
|
+
}[];
|
|
632
|
+
alphabetizeExtras: boolean;
|
|
633
|
+
linesBetween: number;
|
|
634
|
+
reportTagGroupSpacing: boolean;
|
|
635
|
+
reportIntraTagGroupSpacing: boolean;
|
|
636
|
+
})[];
|
|
637
|
+
'jsdoc/tag-lines': (string | {
|
|
638
|
+
count: number;
|
|
639
|
+
startLines: number;
|
|
640
|
+
endLines: number;
|
|
641
|
+
applyToEndTag: boolean;
|
|
642
|
+
tags: {};
|
|
643
|
+
})[];
|
|
644
|
+
'jsdoc/valid-types': string;
|
|
645
|
+
'import/consistent-type-specifier-style': string[];
|
|
646
|
+
'import/dynamic-import-chunkname': string;
|
|
647
|
+
'import/exports-last': string;
|
|
648
|
+
'import/extensions': (string | {
|
|
649
|
+
checkTypeImports: boolean;
|
|
650
|
+
})[];
|
|
651
|
+
'import/first': string;
|
|
652
|
+
'import/group-exports': string;
|
|
653
|
+
'import/max-dependencies': string;
|
|
654
|
+
'import/newline-after-import': (string | {
|
|
655
|
+
considerComments: boolean;
|
|
656
|
+
})[];
|
|
657
|
+
'import/no-anonymous-default-export': string;
|
|
658
|
+
'import/no-default-export': string;
|
|
659
|
+
'import/no-duplicates': (string | {
|
|
660
|
+
considerQueryString: boolean;
|
|
661
|
+
'prefer-inline': boolean;
|
|
662
|
+
})[];
|
|
663
|
+
'import/no-named-default': string;
|
|
664
|
+
'import/no-named-export': string;
|
|
665
|
+
'import/no-namespace': string;
|
|
666
|
+
'import/no-unassigned-import': string;
|
|
667
|
+
'import/order': (string | {
|
|
668
|
+
groups: string[];
|
|
669
|
+
'newlines-between': string;
|
|
670
|
+
alphabetize: {
|
|
671
|
+
order: string;
|
|
672
|
+
caseInsensitive: boolean;
|
|
673
|
+
};
|
|
674
|
+
})[];
|
|
675
|
+
'import/prefer-default-export': string;
|
|
676
|
+
'import/no-amd': string;
|
|
677
|
+
'import/no-commonjs': (string | {
|
|
678
|
+
allowConditionalRequire: boolean;
|
|
679
|
+
allowPrimitiveModules: boolean;
|
|
680
|
+
})[];
|
|
681
|
+
'import/no-import-module-exports': string;
|
|
682
|
+
'import/no-nodejs-modules': string;
|
|
683
|
+
'import/unambiguous': string;
|
|
684
|
+
'import/export': string;
|
|
685
|
+
'import/no-deprecated': string;
|
|
686
|
+
'import/no-empty-named-blocks': string;
|
|
687
|
+
'import/no-extraneous-dependencies': (string | import("./rules/import/rules/no-extraneous-dependencies").ImportNoExtraneousDependencies)[];
|
|
688
|
+
'import/no-mutable-exports': string;
|
|
689
|
+
'import/no-named-as-default': string;
|
|
690
|
+
'import/no-named-as-default-member': string;
|
|
691
|
+
'import/no-unused-modules': string;
|
|
692
|
+
'import/default': string;
|
|
693
|
+
'import/named': (string | {
|
|
694
|
+
commonjs: boolean;
|
|
695
|
+
})[];
|
|
696
|
+
'import/namespace': string;
|
|
697
|
+
'import/no-absolute-path': string;
|
|
698
|
+
'import/no-cycle': (string | {
|
|
699
|
+
ignoreExternal: boolean;
|
|
700
|
+
allowUnsafeDynamicCyclicDependency: boolean;
|
|
701
|
+
})[];
|
|
702
|
+
'import/no-dynamic-require': (string | {
|
|
703
|
+
esmodule: boolean;
|
|
704
|
+
})[];
|
|
705
|
+
'import/no-internal-modules': string;
|
|
706
|
+
'import/no-relative-packages': string;
|
|
707
|
+
'import/no-relative-parent-imports': string;
|
|
708
|
+
'import/no-restricted-paths': string;
|
|
709
|
+
'import/no-self-import': string;
|
|
710
|
+
'import/no-unresolved': (string | {
|
|
711
|
+
caseSensitive: boolean;
|
|
712
|
+
caseSensitiveStrict: boolean;
|
|
713
|
+
})[];
|
|
714
|
+
'import/no-useless-path-segments': string;
|
|
715
|
+
'import/no-webpack-loader-syntax': string;
|
|
716
|
+
'eslint-comments/no-restricted-disable': string;
|
|
717
|
+
'eslint-comments/no-use': (string | {
|
|
718
|
+
allow: string[];
|
|
719
|
+
})[];
|
|
720
|
+
'eslint-comments/require-description': (string | {
|
|
721
|
+
ignore: string[];
|
|
722
|
+
})[];
|
|
723
|
+
'eslint-comments/disable-enable-pair': string;
|
|
724
|
+
'eslint-comments/no-aggregating-enable': string;
|
|
725
|
+
'eslint-comments/no-duplicate-disable': string;
|
|
726
|
+
'eslint-comments/no-unlimited-disable': string;
|
|
727
|
+
'eslint-comments/no-unused-disable': string;
|
|
728
|
+
'eslint-comments/no-unused-enable': string;
|
|
729
|
+
'array-bracket-newline': string;
|
|
730
|
+
'array-bracket-spacing': string;
|
|
731
|
+
'array-element-newline': string;
|
|
732
|
+
'arrow-parens': string;
|
|
733
|
+
'arrow-spacing': string;
|
|
734
|
+
'block-spacing': string;
|
|
735
|
+
'brace-style': string;
|
|
736
|
+
'comma-dangle': string;
|
|
737
|
+
'comma-spacing': string;
|
|
738
|
+
'comma-style': string;
|
|
739
|
+
'computed-property-spacing': string;
|
|
740
|
+
'dot-location': string;
|
|
741
|
+
'eol-last': string;
|
|
742
|
+
'func-call-spacing': string;
|
|
743
|
+
'function-call-argument-newline': string;
|
|
744
|
+
'function-paren-newline': string;
|
|
745
|
+
'generator-star-spacing': string;
|
|
746
|
+
'implicit-arrow-linebreak': string;
|
|
747
|
+
indent: string;
|
|
748
|
+
'jsx-quotes': string;
|
|
749
|
+
'key-spacing': string;
|
|
750
|
+
'keyword-spacing': string;
|
|
751
|
+
'line-comment-position': string;
|
|
752
|
+
'linebreak-style': string;
|
|
753
|
+
'lines-around-comment': string;
|
|
754
|
+
'lines-between-class-members': string;
|
|
755
|
+
'max-len': string;
|
|
756
|
+
'max-statements-per-line': string;
|
|
757
|
+
'multiline-ternary': string;
|
|
758
|
+
'new-parens': string;
|
|
759
|
+
'newline-per-chained-call': string;
|
|
760
|
+
'no-extra-parens': string;
|
|
761
|
+
'no-mixed-spaces-and-tabs': string;
|
|
762
|
+
'no-multi-spaces': string;
|
|
763
|
+
'no-multiple-empty-lines': string;
|
|
764
|
+
'no-tabs': string;
|
|
765
|
+
'no-trailing-spaces': string;
|
|
766
|
+
'no-whitespace-before-property': string;
|
|
767
|
+
'nonblock-statement-body-position': string;
|
|
768
|
+
'object-curly-newline': string;
|
|
769
|
+
'object-curly-spacing': string;
|
|
770
|
+
'object-property-newline': string;
|
|
771
|
+
'operator-linebreak': string;
|
|
772
|
+
'padded-blocks': string;
|
|
773
|
+
'padding-line-between-statements': string;
|
|
774
|
+
quotes: string;
|
|
775
|
+
'rest-spread-spacing': string;
|
|
776
|
+
semi: string;
|
|
777
|
+
'semi-spacing': string;
|
|
778
|
+
'semi-style': string;
|
|
779
|
+
'space-before-blocks': string;
|
|
780
|
+
'space-before-function-paren': string;
|
|
781
|
+
'space-in-parens': string;
|
|
782
|
+
'space-infix-ops': string;
|
|
783
|
+
'space-unary-ops': string;
|
|
784
|
+
'switch-colon-spacing': string;
|
|
785
|
+
'template-curly-spacing': string;
|
|
786
|
+
'template-tag-spacing': string;
|
|
787
|
+
'unicode-bom': string[];
|
|
788
|
+
'wrap-iife': string;
|
|
789
|
+
'wrap-regex': string;
|
|
790
|
+
'yield-star-spacing': string;
|
|
791
|
+
'accessor-pairs': string;
|
|
792
|
+
'arrow-body-style': string[];
|
|
793
|
+
'block-scoped-var': string;
|
|
794
|
+
camelcase: string;
|
|
795
|
+
'capitalized-comments': (string | {
|
|
796
|
+
ignorePattern: string;
|
|
797
|
+
ignoreConsecutiveComments: boolean;
|
|
798
|
+
})[];
|
|
799
|
+
'class-methods-use-this': string;
|
|
800
|
+
complexity: (string | number)[];
|
|
801
|
+
'consistent-return': string;
|
|
802
|
+
'consistent-this': string[];
|
|
803
|
+
curly: string[];
|
|
804
|
+
'default-case': string;
|
|
805
|
+
'default-case-last': string;
|
|
806
|
+
'default-param-last': string;
|
|
807
|
+
'dot-notation': (string | {
|
|
808
|
+
allowKeywords: boolean;
|
|
809
|
+
})[];
|
|
810
|
+
eqeqeq: string[];
|
|
811
|
+
'func-name-matching': string[];
|
|
812
|
+
'func-names': string[];
|
|
813
|
+
'func-style': string[];
|
|
814
|
+
'grouped-accessor-pairs': string[];
|
|
815
|
+
'guard-for-in': string;
|
|
816
|
+
'id-denylist': string[];
|
|
817
|
+
'id-length': string;
|
|
818
|
+
'id-match': string;
|
|
819
|
+
'init-declarations': string[];
|
|
820
|
+
'logical-assignment-operators': (string | {
|
|
821
|
+
enforceForIfStatements: boolean;
|
|
822
|
+
})[];
|
|
823
|
+
'max-classes-per-file': (string | number)[];
|
|
824
|
+
'max-depth': (string | number)[];
|
|
825
|
+
'max-lines': string;
|
|
826
|
+
'max-lines-per-function': string;
|
|
827
|
+
'max-nested-callbacks': (string | number)[];
|
|
828
|
+
'max-params': (string | {
|
|
829
|
+
max: number;
|
|
830
|
+
})[];
|
|
831
|
+
'max-statements': (string | {
|
|
832
|
+
max: number;
|
|
833
|
+
})[];
|
|
834
|
+
'multiline-comment-style': string;
|
|
835
|
+
'new-cap': (string | {
|
|
836
|
+
newIsCap: boolean;
|
|
837
|
+
capIsNew: boolean;
|
|
838
|
+
properties: boolean;
|
|
839
|
+
})[];
|
|
840
|
+
'no-alert': string;
|
|
841
|
+
'no-array-constructor': string;
|
|
842
|
+
'no-bitwise': string;
|
|
843
|
+
'no-caller': string;
|
|
844
|
+
'no-case-declarations': string;
|
|
845
|
+
'no-confusing-arrow': string;
|
|
846
|
+
'no-console': string;
|
|
847
|
+
'no-continue': string;
|
|
848
|
+
'no-delete-var': string;
|
|
849
|
+
'no-div-regex': string;
|
|
850
|
+
'no-else-return': (string | {
|
|
851
|
+
allowElseIf: boolean;
|
|
852
|
+
})[];
|
|
853
|
+
'no-empty': string;
|
|
854
|
+
'no-empty-function': string;
|
|
855
|
+
'no-empty-static-block': string;
|
|
856
|
+
'no-eq-null': string;
|
|
857
|
+
'no-eval': string;
|
|
858
|
+
'no-extend-native': string;
|
|
859
|
+
'no-extra-bind': string;
|
|
860
|
+
'no-extra-boolean-cast': (string | {
|
|
861
|
+
enforceForInnerExpressions: boolean;
|
|
862
|
+
})[];
|
|
863
|
+
'no-extra-label': string;
|
|
864
|
+
'no-extra-semi': string;
|
|
865
|
+
'no-floating-decimal': string;
|
|
866
|
+
'no-global-assign': string;
|
|
867
|
+
'no-implicit-coercion': string;
|
|
868
|
+
'no-implicit-globals': string;
|
|
869
|
+
'no-implied-eval': string;
|
|
870
|
+
'no-inline-comments': (string | {
|
|
871
|
+
ignorePattern: string;
|
|
872
|
+
})[];
|
|
873
|
+
'no-invalid-this': string;
|
|
874
|
+
'no-iterator': string;
|
|
875
|
+
'no-label-var': string;
|
|
876
|
+
'no-labels': string;
|
|
877
|
+
'no-lone-blocks': string;
|
|
878
|
+
'no-lonely-if': string;
|
|
879
|
+
'no-loop-func': string;
|
|
880
|
+
'no-magic-numbers': string;
|
|
881
|
+
'no-mixed-operators': string;
|
|
882
|
+
'no-multi-assign': string;
|
|
883
|
+
'no-multi-str': string;
|
|
884
|
+
'no-negated-condition': string;
|
|
885
|
+
'no-nested-ternary': string;
|
|
886
|
+
'no-new': string;
|
|
887
|
+
'no-new-func': string;
|
|
888
|
+
'no-new-object': string;
|
|
889
|
+
'no-new-wrappers': string;
|
|
890
|
+
'no-nonoctal-decimal-escape': string;
|
|
891
|
+
'no-object-constructor': string;
|
|
892
|
+
'no-octal': string;
|
|
893
|
+
'no-octal-escape': string;
|
|
894
|
+
'no-param-reassign': string;
|
|
895
|
+
'no-plusplus': (string | {
|
|
896
|
+
allowForLoopAfterthoughts: boolean;
|
|
897
|
+
})[];
|
|
898
|
+
'no-proto': string;
|
|
899
|
+
'no-redeclare': string;
|
|
900
|
+
'no-regex-spaces': string;
|
|
901
|
+
'no-restricted-exports': string;
|
|
902
|
+
'no-restricted-globals': string;
|
|
903
|
+
'no-restricted-imports': string;
|
|
904
|
+
'no-restricted-properties': string;
|
|
905
|
+
'no-restricted-syntax': string[];
|
|
906
|
+
'no-return-assign': string;
|
|
907
|
+
'no-script-url': string;
|
|
908
|
+
'no-sequences': (string | {
|
|
909
|
+
allowInParentheses: boolean;
|
|
910
|
+
})[];
|
|
911
|
+
'no-shadow': string;
|
|
912
|
+
'no-shadow-restricted-names': string;
|
|
913
|
+
'no-ternary': string;
|
|
914
|
+
'no-throw-literal': string;
|
|
915
|
+
'no-undef-init': string;
|
|
916
|
+
'no-undefined': string;
|
|
917
|
+
'no-underscore-dangle': (string | {
|
|
918
|
+
allowAfterSuper: boolean;
|
|
919
|
+
allowAfterThis: boolean;
|
|
920
|
+
allowAfterThisConstructor: boolean;
|
|
921
|
+
allowFunctionParams: boolean;
|
|
922
|
+
enforceInMethodNames: boolean;
|
|
923
|
+
enforceInClassFields: boolean;
|
|
924
|
+
})[];
|
|
925
|
+
'no-unneeded-ternary': string;
|
|
926
|
+
'no-unused-expressions': string;
|
|
927
|
+
'no-unused-labels': string;
|
|
928
|
+
'no-useless-call': string;
|
|
929
|
+
'no-useless-catch': string;
|
|
930
|
+
'no-useless-computed-key': string;
|
|
931
|
+
'no-useless-concat': string;
|
|
932
|
+
'no-useless-constructor': string;
|
|
933
|
+
'no-useless-escape': string;
|
|
934
|
+
'no-useless-rename': string;
|
|
935
|
+
'no-useless-return': string;
|
|
936
|
+
'no-var': string;
|
|
937
|
+
'no-void': string;
|
|
938
|
+
'no-warning-comments': string;
|
|
939
|
+
'no-with': string;
|
|
940
|
+
'object-shorthand': string[];
|
|
941
|
+
'one-var': string[];
|
|
942
|
+
'one-var-declaration-per-line': string;
|
|
943
|
+
'operator-assignment': string[];
|
|
944
|
+
'prefer-arrow-callback': string;
|
|
945
|
+
'prefer-const': string;
|
|
946
|
+
'prefer-destructuring': string;
|
|
947
|
+
'prefer-exponentiation-operator': string;
|
|
948
|
+
'prefer-named-capture-group': string;
|
|
949
|
+
'prefer-numeric-literals': string;
|
|
950
|
+
'prefer-object-has-own': string;
|
|
951
|
+
'prefer-object-spread': string;
|
|
952
|
+
'prefer-promise-reject-errors': string;
|
|
953
|
+
'prefer-regex-literals': string;
|
|
954
|
+
'prefer-rest-params': string;
|
|
955
|
+
'prefer-spread': string;
|
|
956
|
+
'prefer-template': string;
|
|
957
|
+
'quote-props': string;
|
|
958
|
+
radix: string;
|
|
959
|
+
'require-await': string;
|
|
960
|
+
'require-unicode-regexp': string;
|
|
961
|
+
'require-yield': string;
|
|
962
|
+
'sort-imports': string;
|
|
963
|
+
'sort-keys': string;
|
|
964
|
+
'sort-vars': string;
|
|
965
|
+
'spaced-comment': string;
|
|
966
|
+
strict: string;
|
|
967
|
+
'symbol-description': string;
|
|
968
|
+
'vars-on-top': string;
|
|
969
|
+
yoda: string[];
|
|
970
|
+
'array-callback-return': (string | {
|
|
971
|
+
allowImplicit: boolean;
|
|
972
|
+
checkForEach: boolean;
|
|
973
|
+
allowVoid: boolean;
|
|
974
|
+
})[];
|
|
975
|
+
'constructor-super': string;
|
|
976
|
+
'for-direction': string;
|
|
977
|
+
'getter-return': string;
|
|
978
|
+
'no-async-promise-executor': string;
|
|
979
|
+
'no-await-in-loop': string;
|
|
980
|
+
'no-class-assign': string;
|
|
981
|
+
'no-compare-neg-zero': string;
|
|
982
|
+
'no-cond-assign': string[];
|
|
983
|
+
'no-const-assign': string;
|
|
984
|
+
'no-constant-binary-expression': string;
|
|
985
|
+
'no-constant-condition': string;
|
|
986
|
+
'no-constructor-return': string;
|
|
987
|
+
'no-control-regex': string;
|
|
988
|
+
'no-debugger': string;
|
|
989
|
+
'no-dupe-args': string;
|
|
990
|
+
'no-dupe-class-members': string;
|
|
991
|
+
'no-dupe-else-if': string;
|
|
992
|
+
'no-dupe-keys': string;
|
|
993
|
+
'no-duplicate-case': string;
|
|
994
|
+
'no-duplicate-imports': (string | {
|
|
995
|
+
includeExports: boolean;
|
|
996
|
+
})[];
|
|
997
|
+
'no-empty-character-class': string;
|
|
998
|
+
'no-empty-pattern': string;
|
|
999
|
+
'no-ex-assign': string;
|
|
1000
|
+
'no-fallthrough': (string | {
|
|
1001
|
+
allowEmptyCase: boolean;
|
|
1002
|
+
reportUnusedFallthroughComment: boolean;
|
|
1003
|
+
})[];
|
|
1004
|
+
'no-func-assign': string;
|
|
1005
|
+
'no-import-assign': string;
|
|
1006
|
+
'no-inner-declarations': string;
|
|
1007
|
+
'no-invalid-regexp': string;
|
|
1008
|
+
'no-irregular-whitespace': (string | {
|
|
1009
|
+
skipStrings: boolean;
|
|
1010
|
+
skipComments: boolean;
|
|
1011
|
+
skipRegExps: boolean;
|
|
1012
|
+
skipTemplates: boolean;
|
|
1013
|
+
skipJSXText: boolean;
|
|
1014
|
+
})[];
|
|
1015
|
+
'no-loss-of-precision': string;
|
|
1016
|
+
'no-misleading-character-class': (string | {
|
|
1017
|
+
allowEscape: boolean;
|
|
1018
|
+
})[];
|
|
1019
|
+
'no-new-native-nonconstructor': string;
|
|
1020
|
+
'no-new-symbol': string;
|
|
1021
|
+
'no-obj-calls': string;
|
|
1022
|
+
'no-promise-executor-return': string;
|
|
1023
|
+
'no-prototype-builtins': string;
|
|
1024
|
+
'no-self-assign': string;
|
|
1025
|
+
'no-self-compare': string;
|
|
1026
|
+
'no-setter-return': string;
|
|
1027
|
+
'no-sparse-arrays': string;
|
|
1028
|
+
'no-template-curly-in-string': string;
|
|
1029
|
+
'no-this-before-super': string;
|
|
1030
|
+
'no-undef': string;
|
|
1031
|
+
'no-unexpected-multiline': string;
|
|
1032
|
+
'no-unmodified-loop-condition': string;
|
|
1033
|
+
'no-unreachable': string;
|
|
1034
|
+
'no-unreachable-loop': string;
|
|
1035
|
+
'no-unsafe-finally': string;
|
|
1036
|
+
'no-unsafe-negation': string;
|
|
1037
|
+
'no-unsafe-optional-chaining': string;
|
|
1038
|
+
'no-unused-private-class-members': string;
|
|
1039
|
+
'no-unused-vars': (string | {
|
|
1040
|
+
args: string;
|
|
1041
|
+
argsIgnorePattern: string;
|
|
1042
|
+
caughtErrors: string;
|
|
1043
|
+
destructuredArrayIgnorePattern: string;
|
|
1044
|
+
ignoreClassWithStaticInitBlock: boolean;
|
|
1045
|
+
ignoreRestSiblings: boolean;
|
|
1046
|
+
reportUsedIgnorePattern: boolean;
|
|
1047
|
+
vars: string;
|
|
1048
|
+
})[];
|
|
1049
|
+
'no-use-before-define': (string | {
|
|
1050
|
+
functions: boolean;
|
|
1051
|
+
classes: boolean;
|
|
1052
|
+
variables: boolean;
|
|
1053
|
+
allowNamedExports: boolean;
|
|
1054
|
+
})[];
|
|
1055
|
+
'no-useless-backreference': string;
|
|
1056
|
+
'no-useless-assignment': string;
|
|
1057
|
+
'require-atomic-updates': (string | {
|
|
1058
|
+
allowProperties: boolean;
|
|
1059
|
+
})[];
|
|
1060
|
+
'use-isnan': string;
|
|
1061
|
+
'valid-typeof': (string | {
|
|
1062
|
+
requireStringLiterals: boolean;
|
|
1063
|
+
})[];
|
|
1064
|
+
'array-func/from-map': string;
|
|
1065
|
+
'array-func/no-unnecessary-this-arg': string;
|
|
1066
|
+
'array-func/prefer-array-from': string;
|
|
1067
|
+
'array-func/avoid-reverse': string;
|
|
1068
|
+
'array-func/prefer-flat-map': string;
|
|
1069
|
+
'array-func/prefer-flat': string;
|
|
1070
|
+
};
|
|
1071
|
+
ignores?: undefined;
|
|
1072
|
+
} | {
|
|
1073
|
+
files: string[];
|
|
1074
|
+
languageOptions: {
|
|
1075
|
+
parser: typeof babelParser;
|
|
1076
|
+
parserOptions: {
|
|
1077
|
+
ecmaVersion: number;
|
|
1078
|
+
ecmaFeatures: {
|
|
1079
|
+
globalReturn: boolean;
|
|
1080
|
+
impliedStrict: boolean;
|
|
1081
|
+
};
|
|
1082
|
+
sourceType: string;
|
|
1083
|
+
requireConfigFile: boolean;
|
|
1084
|
+
project?: undefined;
|
|
1085
|
+
warnOnUnsupportedTypeScriptVersion?: undefined;
|
|
1086
|
+
};
|
|
1087
|
+
};
|
|
1088
|
+
plugins: {};
|
|
1089
|
+
settings: {
|
|
1090
|
+
'import/extensions': string[];
|
|
1091
|
+
jsdoc?: undefined;
|
|
1092
|
+
'import/parsers'?: undefined;
|
|
1093
|
+
'import/resolver'?: undefined;
|
|
1094
|
+
};
|
|
1095
|
+
rules: {
|
|
1096
|
+
'import/no-commonjs': string;
|
|
1097
|
+
'import/no-extraneous-dependencies': (string | import("./rules/import/rules/no-extraneous-dependencies").ImportNoExtraneousDependencies)[];
|
|
1098
|
+
'import/unambiguous': string;
|
|
1099
|
+
'jsdoc/no-types': string;
|
|
1100
|
+
'jsdoc/no-undefined-types': string;
|
|
1101
|
+
'jsdoc/require-param': string;
|
|
1102
|
+
'jsdoc/require-param-type': string;
|
|
1103
|
+
'jsdoc/require-returns': string;
|
|
1104
|
+
'jsdoc/require-returns-type': string;
|
|
1105
|
+
};
|
|
1106
|
+
ignores?: undefined;
|
|
1107
|
+
} | {
|
|
1108
|
+
files: string[];
|
|
1109
|
+
languageOptions: {
|
|
1110
|
+
parser: import("@typescript-eslint/utils/dist/ts-eslint").Parser.LooseParserModule;
|
|
1111
|
+
parserOptions: {
|
|
1112
|
+
ecmaVersion: number;
|
|
1113
|
+
ecmaFeatures: {
|
|
1114
|
+
globalReturn: boolean;
|
|
1115
|
+
impliedStrict: boolean;
|
|
1116
|
+
};
|
|
1117
|
+
sourceType: string;
|
|
1118
|
+
project: string;
|
|
1119
|
+
warnOnUnsupportedTypeScriptVersion: boolean;
|
|
1120
|
+
requireConfigFile?: undefined;
|
|
1121
|
+
};
|
|
1122
|
+
};
|
|
1123
|
+
plugins: {
|
|
1124
|
+
'@stylistic/ts': typeof import("@stylistic/eslint-plugin-ts");
|
|
1125
|
+
'@typescript-eslint': import("@typescript-eslint/utils/dist/ts-eslint").FlatConfig.Plugin;
|
|
1126
|
+
};
|
|
1127
|
+
settings: {
|
|
1128
|
+
'import/parsers': {
|
|
1129
|
+
'@typescript-eslint/parser': string[];
|
|
1130
|
+
};
|
|
1131
|
+
'import/resolver': {
|
|
1132
|
+
typescript: {
|
|
1133
|
+
alwaysTryTypes: boolean;
|
|
1134
|
+
project: string;
|
|
1135
|
+
};
|
|
1136
|
+
};
|
|
1137
|
+
jsdoc?: undefined;
|
|
1138
|
+
'import/extensions'?: undefined;
|
|
1139
|
+
};
|
|
1140
|
+
rules: {
|
|
1141
|
+
'@stylistic/js/block-spacing': string;
|
|
1142
|
+
'@stylistic/ts/block-spacing': string[];
|
|
1143
|
+
'@stylistic/js/brace-style': string;
|
|
1144
|
+
'@stylistic/ts/brace-style': (string | {
|
|
1145
|
+
allowSingleLine: boolean;
|
|
1146
|
+
})[];
|
|
1147
|
+
'@stylistic/js/comma-dangle': string;
|
|
1148
|
+
'@stylistic/ts/comma-dangle': (string | {
|
|
1149
|
+
arrays: string;
|
|
1150
|
+
enums: string;
|
|
1151
|
+
exports: string;
|
|
1152
|
+
functions: string;
|
|
1153
|
+
generics: string;
|
|
1154
|
+
imports: string;
|
|
1155
|
+
objects: string;
|
|
1156
|
+
tuples: string;
|
|
1157
|
+
})[];
|
|
1158
|
+
'@stylistic/js/comma-spacing': string;
|
|
1159
|
+
'@stylistic/ts/comma-spacing': (string | {
|
|
1160
|
+
before: boolean;
|
|
1161
|
+
after: boolean;
|
|
1162
|
+
})[];
|
|
1163
|
+
'@stylistic/js/func-call-spacing': string;
|
|
1164
|
+
'@stylistic/ts/func-call-spacing': string;
|
|
1165
|
+
'@stylistic/js/function-call-spacing': string;
|
|
1166
|
+
'@stylistic/ts/function-call-spacing': string[];
|
|
1167
|
+
'@stylistic/js/indent': string;
|
|
1168
|
+
'@stylistic/ts/indent': (string | number | {
|
|
1169
|
+
SwitchCase: number;
|
|
1170
|
+
ignoredNodes: string[];
|
|
1171
|
+
})[];
|
|
1172
|
+
'@stylistic/js/key-spacing': string;
|
|
1173
|
+
'@stylistic/ts/key-spacing': (string | {
|
|
1174
|
+
beforeColon: boolean;
|
|
1175
|
+
afterColon: boolean;
|
|
1176
|
+
mode: string;
|
|
1177
|
+
})[];
|
|
1178
|
+
'@stylistic/js/keyword-spacing': string;
|
|
1179
|
+
'@stylistic/ts/keyword-spacing': (string | {
|
|
1180
|
+
before: boolean;
|
|
1181
|
+
after: boolean;
|
|
1182
|
+
})[];
|
|
1183
|
+
'@stylistic/js/lines-around-comment': string;
|
|
1184
|
+
'@stylistic/ts/lines-around-comment': (string | {
|
|
1185
|
+
beforeBlockComment: boolean;
|
|
1186
|
+
afterBlockComment: boolean;
|
|
1187
|
+
beforeLineComment: boolean;
|
|
1188
|
+
afterLineComment: boolean;
|
|
1189
|
+
allowBlockStart: boolean;
|
|
1190
|
+
allowBlockEnd: boolean;
|
|
1191
|
+
allowObjectStart: boolean;
|
|
1192
|
+
allowObjectEnd: boolean;
|
|
1193
|
+
allowArrayStart: boolean;
|
|
1194
|
+
allowArrayEnd: boolean;
|
|
1195
|
+
allowClassStart: boolean;
|
|
1196
|
+
allowClassEnd: boolean;
|
|
1197
|
+
allowInterfaceStart: boolean;
|
|
1198
|
+
allowInterfaceEnd: boolean;
|
|
1199
|
+
allowTypeStart: boolean;
|
|
1200
|
+
allowTypeEnd: boolean;
|
|
1201
|
+
})[];
|
|
1202
|
+
'@stylistic/js/lines-between-class-members': string;
|
|
1203
|
+
'@stylistic/ts/lines-between-class-members': (string | {
|
|
1204
|
+
exceptAfterSingleLine: boolean;
|
|
1205
|
+
exceptAfterOverload: boolean;
|
|
1206
|
+
})[];
|
|
1207
|
+
'@stylistic/ts/member-delimiter-style': (string | {
|
|
1208
|
+
multiline: {
|
|
1209
|
+
delimiter: string;
|
|
1210
|
+
requireLast: boolean;
|
|
1211
|
+
};
|
|
1212
|
+
singleline: {
|
|
1213
|
+
delimiter: string;
|
|
1214
|
+
requireLast: boolean;
|
|
1215
|
+
};
|
|
1216
|
+
multilineDetection: string;
|
|
1217
|
+
})[];
|
|
1218
|
+
'@stylistic/js/no-extra-parens': string;
|
|
1219
|
+
'@stylistic/ts/no-extra-parens': (string | {
|
|
1220
|
+
ignoreJSX: string;
|
|
1221
|
+
nestedBinaryExpressions: boolean;
|
|
1222
|
+
enforceForArrowConditionals: boolean;
|
|
1223
|
+
})[];
|
|
1224
|
+
'@stylistic/js/no-extra-semi': string;
|
|
1225
|
+
'@stylistic/ts/no-extra-semi': string;
|
|
1226
|
+
'@stylistic/js/object-curly-newline': string;
|
|
1227
|
+
'@stylistic/ts/object-curly-newline': (string | {
|
|
1228
|
+
ImportDeclaration: {
|
|
1229
|
+
multiline: boolean;
|
|
1230
|
+
};
|
|
1231
|
+
ExportDeclaration: {
|
|
1232
|
+
multiline: boolean;
|
|
1233
|
+
};
|
|
1234
|
+
})[];
|
|
1235
|
+
'@stylistic/js/object-curly-spacing': string;
|
|
1236
|
+
'@stylistic/ts/object-curly-spacing': (string | {
|
|
1237
|
+
arraysInObjects: boolean;
|
|
1238
|
+
objectsInObjects: boolean;
|
|
1239
|
+
})[];
|
|
1240
|
+
'@stylistic/js/object-property-newline': string;
|
|
1241
|
+
'@stylistic/ts/object-property-newline': (string | {
|
|
1242
|
+
allowAllPropertiesOnSameLine: boolean;
|
|
1243
|
+
})[];
|
|
1244
|
+
'@stylistic/js/padding-line-between-statements': string;
|
|
1245
|
+
'@stylistic/ts/padding-line-between-statements': string;
|
|
1246
|
+
'@stylistic/js/quote-props': string;
|
|
1247
|
+
'@stylistic/ts/quote-props': string[];
|
|
1248
|
+
'@stylistic/js/quotes': string;
|
|
1249
|
+
'@stylistic/ts/quotes': (string | {
|
|
1250
|
+
avoidEscape: boolean;
|
|
1251
|
+
allowTemplateLiterals: boolean;
|
|
1252
|
+
})[];
|
|
1253
|
+
'@stylistic/js/semi': string;
|
|
1254
|
+
'@stylistic/ts/semi': string[];
|
|
1255
|
+
'@stylistic/js/space-before-blocks': string;
|
|
1256
|
+
'@stylistic/ts/space-before-blocks': string[];
|
|
1257
|
+
'@stylistic/js/space-before-function-paren': string;
|
|
1258
|
+
'@stylistic/ts/space-before-function-paren': (string | {
|
|
1259
|
+
anonymous: string;
|
|
1260
|
+
named: string;
|
|
1261
|
+
asyncArrow: string;
|
|
1262
|
+
})[];
|
|
1263
|
+
'@stylistic/js/space-infix-ops': string;
|
|
1264
|
+
'@stylistic/ts/space-infix-ops': (string | {
|
|
1265
|
+
int32Hint: boolean;
|
|
1266
|
+
})[];
|
|
1267
|
+
'@stylistic/ts/type-annotation-spacing': string;
|
|
1268
|
+
'block-spacing': string;
|
|
1269
|
+
'@typescript-eslint/block-spacing': string;
|
|
1270
|
+
'brace-style': string;
|
|
1271
|
+
'@typescript-eslint/brace-style': string;
|
|
1272
|
+
'class-methods-use-this': string;
|
|
1273
|
+
'@typescript-eslint/class-methods-use-this': string;
|
|
1274
|
+
'comma-dangle': string;
|
|
1275
|
+
'@typescript-eslint/comma-dangle': string;
|
|
1276
|
+
'comma-spacing': string;
|
|
1277
|
+
'@typescript-eslint/comma-spacing': string;
|
|
1278
|
+
'consistent-return': string;
|
|
1279
|
+
'@typescript-eslint/consistent-return': string;
|
|
1280
|
+
'default-param-last': string;
|
|
1281
|
+
'@typescript-eslint/default-param-last': string;
|
|
1282
|
+
'dot-notation': string;
|
|
1283
|
+
'@typescript-eslint/dot-notation': (string | {
|
|
1284
|
+
allowKeywords: boolean;
|
|
1285
|
+
allowPrivateClassPropertyAccess: boolean;
|
|
1286
|
+
allowProtectedClassPropertyAccess: boolean;
|
|
1287
|
+
})[];
|
|
1288
|
+
'func-call-spacing': string;
|
|
1289
|
+
'@typescript-eslint/func-call-spacing': string;
|
|
1290
|
+
indent: string;
|
|
1291
|
+
'@typescript-eslint/indent': string;
|
|
1292
|
+
'init-declarations': string;
|
|
1293
|
+
'@typescript-eslint/init-declarations': string[];
|
|
1294
|
+
'key-spacing': string;
|
|
1295
|
+
'@typescript-eslint/key-spacing': string;
|
|
1296
|
+
'keyword-spacing': string;
|
|
1297
|
+
'@typescript-eslint/keyword-spacing': string;
|
|
1298
|
+
'lines-around-comment': string;
|
|
1299
|
+
'@typescript-eslint/lines-around-comment': string;
|
|
1300
|
+
'lines-between-class-members': string;
|
|
1301
|
+
'@typescript-eslint/lines-between-class-members': string;
|
|
1302
|
+
'no-array-constructor': string;
|
|
1303
|
+
'@typescript-eslint/no-array-constructor': string;
|
|
1304
|
+
'no-dupe-class-members': string;
|
|
1305
|
+
'@typescript-eslint/no-dupe-class-members': string;
|
|
1306
|
+
'no-empty-function': string;
|
|
1307
|
+
'@typescript-eslint/no-empty-function': (string | {
|
|
1308
|
+
allow: string[];
|
|
1309
|
+
})[];
|
|
1310
|
+
'no-extra-parens': string;
|
|
1311
|
+
'@typescript-eslint/no-extra-parens': string;
|
|
1312
|
+
'no-extra-semi': string;
|
|
1313
|
+
'@typescript-eslint/no-extra-semi': string;
|
|
1314
|
+
'no-implied-eval': string;
|
|
1315
|
+
'@typescript-eslint/no-implied-eval': string;
|
|
1316
|
+
'no-invalid-this': string;
|
|
1317
|
+
'@typescript-eslint/no-invalid-this': string;
|
|
1318
|
+
'no-loop-func': string;
|
|
1319
|
+
'@typescript-eslint/no-loop-func': string;
|
|
1320
|
+
'@typescript-eslint/no-loss-of-precision': string;
|
|
1321
|
+
'no-magic-numbers': string;
|
|
1322
|
+
'@typescript-eslint/no-magic-numbers': string;
|
|
1323
|
+
'no-redeclare': string;
|
|
1324
|
+
'@typescript-eslint/no-redeclare': string;
|
|
1325
|
+
'no-restricted-imports': string;
|
|
1326
|
+
'@typescript-eslint/no-restricted-imports': {}[];
|
|
1327
|
+
'no-shadow': string;
|
|
1328
|
+
'@typescript-eslint/no-shadow': string;
|
|
1329
|
+
'no-throw-literal': string;
|
|
1330
|
+
'@typescript-eslint/only-throw-error': (string | {
|
|
1331
|
+
allowThrowingAny: boolean;
|
|
1332
|
+
allowThrowingUnknown: boolean;
|
|
1333
|
+
})[];
|
|
1334
|
+
'no-unused-expressions': string;
|
|
1335
|
+
'@typescript-eslint/no-unused-expressions': string;
|
|
1336
|
+
'no-unused-vars': string;
|
|
1337
|
+
'@typescript-eslint/no-unused-vars': (string | {
|
|
1338
|
+
args: string;
|
|
1339
|
+
argsIgnorePattern: string;
|
|
1340
|
+
caughtErrors: string;
|
|
1341
|
+
destructuredArrayIgnorePattern: string;
|
|
1342
|
+
ignoreRestSiblings: boolean;
|
|
1343
|
+
vars: string;
|
|
1344
|
+
})[];
|
|
1345
|
+
'no-use-before-define': string;
|
|
1346
|
+
'@typescript-eslint/no-use-before-define': (string | {
|
|
1347
|
+
functions: boolean;
|
|
1348
|
+
classes: boolean;
|
|
1349
|
+
variables: boolean;
|
|
1350
|
+
allowNamedExports: boolean;
|
|
1351
|
+
enums: boolean;
|
|
1352
|
+
typedefs: boolean;
|
|
1353
|
+
ignoreTypeReferences: boolean;
|
|
1354
|
+
})[];
|
|
1355
|
+
'no-useless-constructor': string;
|
|
1356
|
+
'@typescript-eslint/no-useless-constructor': string;
|
|
1357
|
+
'object-curly-spacing': string;
|
|
1358
|
+
'@typescript-eslint/object-curly-spacing': string;
|
|
1359
|
+
'padding-line-between-statements': string;
|
|
1360
|
+
'@typescript-eslint/padding-line-between-statements': string;
|
|
1361
|
+
'prefer-destructuring': string;
|
|
1362
|
+
'@typescript-eslint/prefer-destructuring': string;
|
|
1363
|
+
'prefer-promise-reject-errors': string;
|
|
1364
|
+
'@typescript-eslint/prefer-promise-reject-errors': string;
|
|
1365
|
+
quotes: string;
|
|
1366
|
+
'@typescript-eslint/quotes': string;
|
|
1367
|
+
'require-await': string;
|
|
1368
|
+
'@typescript-eslint/require-await': string;
|
|
1369
|
+
'no-return-await': string;
|
|
1370
|
+
'@typescript-eslint/return-await': string[];
|
|
1371
|
+
semi: string;
|
|
1372
|
+
'@typescript-eslint/semi': string;
|
|
1373
|
+
'space-before-blocks': string;
|
|
1374
|
+
'@typescript-eslint/space-before-blocks': string;
|
|
1375
|
+
'space-before-function-paren': string;
|
|
1376
|
+
'@typescript-eslint/space-before-function-paren': string;
|
|
1377
|
+
'space-infix-ops': string;
|
|
1378
|
+
'@typescript-eslint/space-infix-ops': string;
|
|
1379
|
+
'@typescript-eslint/adjacent-overload-signatures': string;
|
|
1380
|
+
'@typescript-eslint/array-type': (string | {
|
|
1381
|
+
default: string;
|
|
1382
|
+
readonly: string;
|
|
1383
|
+
})[];
|
|
1384
|
+
'@typescript-eslint/await-thenable': string;
|
|
1385
|
+
'@typescript-eslint/ban-ts-comment': string;
|
|
1386
|
+
'@typescript-eslint/ban-tslint-comment': string;
|
|
1387
|
+
'@typescript-eslint/ban-types': string;
|
|
1388
|
+
'@typescript-eslint/class-literal-property-style': string;
|
|
1389
|
+
'@typescript-eslint/consistent-generic-constructors': string[];
|
|
1390
|
+
'@typescript-eslint/consistent-indexed-object-style': string[];
|
|
1391
|
+
'@typescript-eslint/consistent-type-assertions': (string | {
|
|
1392
|
+
assertionStyle: string;
|
|
1393
|
+
objectLiteralTypeAssertions: string;
|
|
1394
|
+
})[];
|
|
1395
|
+
'@typescript-eslint/consistent-type-definitions': string[];
|
|
1396
|
+
'@typescript-eslint/consistent-type-exports': (string | {
|
|
1397
|
+
fixMixedExportsWithInlineTypeSpecifier: boolean;
|
|
1398
|
+
})[];
|
|
1399
|
+
'@typescript-eslint/consistent-type-imports': (string | {
|
|
1400
|
+
prefer: string;
|
|
1401
|
+
disallowTypeAnnotations: boolean;
|
|
1402
|
+
})[];
|
|
1403
|
+
'@typescript-eslint/explicit-function-return-type': (string | {
|
|
1404
|
+
allowConciseArrowFunctionExpressionsStartingWithVoid: boolean;
|
|
1405
|
+
allowDirectConstAssertionInArrowFunctions: boolean;
|
|
1406
|
+
allowExpressions: boolean;
|
|
1407
|
+
allowFunctionsWithoutTypeParameters: boolean;
|
|
1408
|
+
allowHigherOrderFunctions: boolean;
|
|
1409
|
+
allowIIFEs: boolean;
|
|
1410
|
+
allowTypedFunctionExpressions: boolean;
|
|
1411
|
+
allowedNames: never[];
|
|
1412
|
+
})[];
|
|
1413
|
+
'@typescript-eslint/explicit-member-accessibility': string;
|
|
1414
|
+
'@typescript-eslint/explicit-module-boundary-types': string;
|
|
1415
|
+
'@typescript-eslint/member-delimiter-style': string;
|
|
1416
|
+
'@typescript-eslint/member-ordering': (string | {
|
|
1417
|
+
default: string[];
|
|
1418
|
+
})[];
|
|
1419
|
+
'@typescript-eslint/method-signature-style': string[];
|
|
1420
|
+
'@typescript-eslint/naming-convention': (string | import("./rules").TypescriptEslintNamingConvention)[];
|
|
1421
|
+
'@typescript-eslint/no-array-delete': string;
|
|
1422
|
+
'@typescript-eslint/no-base-to-string': string;
|
|
1423
|
+
'@typescript-eslint/no-confusing-non-null-assertion': string;
|
|
1424
|
+
'@typescript-eslint/no-confusing-void-expression': (string | {
|
|
1425
|
+
ignoreArrowShorthand: boolean;
|
|
1426
|
+
ignoreVoidOperator: boolean;
|
|
1427
|
+
})[];
|
|
1428
|
+
'@typescript-eslint/no-deprecated': string;
|
|
1429
|
+
'@typescript-eslint/no-duplicate-enum-values': string;
|
|
1430
|
+
'@typescript-eslint/no-duplicate-type-constituents': (string | {
|
|
1431
|
+
ignoreIntersections: boolean;
|
|
1432
|
+
ignoreUnions: boolean;
|
|
1433
|
+
})[];
|
|
1434
|
+
'@typescript-eslint/no-dynamic-delete': string;
|
|
1435
|
+
'@typescript-eslint/no-empty-interface': (string | {
|
|
1436
|
+
allowSingleExtends: boolean;
|
|
1437
|
+
})[];
|
|
1438
|
+
'@typescript-eslint/no-empty-object-type': (string | {
|
|
1439
|
+
allowInterfaces: string;
|
|
1440
|
+
allowObjectTypes: string;
|
|
1441
|
+
})[];
|
|
1442
|
+
'@typescript-eslint/no-explicit-any': (string | {
|
|
1443
|
+
fixToUnknown: boolean;
|
|
1444
|
+
ignoreRestArgs: boolean;
|
|
1445
|
+
})[];
|
|
1446
|
+
'@typescript-eslint/no-extra-non-null-assertion': string;
|
|
1447
|
+
'@typescript-eslint/no-extraneous-class': (string | {
|
|
1448
|
+
allowConstructorOnly: boolean;
|
|
1449
|
+
allowEmpty: boolean;
|
|
1450
|
+
allowStaticOnly: boolean;
|
|
1451
|
+
allowWithDecorator: boolean;
|
|
1452
|
+
})[];
|
|
1453
|
+
'@typescript-eslint/no-floating-promises': (string | {
|
|
1454
|
+
allowForKnownSafeCalls: never[];
|
|
1455
|
+
allowForKnownSafePromises: never[];
|
|
1456
|
+
checkThenables: boolean;
|
|
1457
|
+
ignoreIIFE: boolean;
|
|
1458
|
+
ignoreVoid: boolean;
|
|
1459
|
+
})[];
|
|
1460
|
+
'@typescript-eslint/no-for-in-array': string;
|
|
1461
|
+
'@typescript-eslint/no-import-type-side-effects': string;
|
|
1462
|
+
'@typescript-eslint/no-inferrable-types': string;
|
|
1463
|
+
'@typescript-eslint/no-invalid-void-type': (string | {
|
|
1464
|
+
allowInGenericTypeArguments: boolean;
|
|
1465
|
+
})[];
|
|
1466
|
+
'@typescript-eslint/no-meaningless-void-operator': (string | {
|
|
1467
|
+
checkNever: boolean;
|
|
1468
|
+
})[];
|
|
1469
|
+
'@typescript-eslint/no-misused-new': string;
|
|
1470
|
+
'@typescript-eslint/no-misused-promises': (string | {
|
|
1471
|
+
checksConditionals: boolean;
|
|
1472
|
+
checksVoidReturn: boolean;
|
|
1473
|
+
})[];
|
|
1474
|
+
'@typescript-eslint/no-mixed-enums': string;
|
|
1475
|
+
'@typescript-eslint/no-namespace': string;
|
|
1476
|
+
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': string;
|
|
1477
|
+
'@typescript-eslint/no-non-null-asserted-optional-chain': string;
|
|
1478
|
+
'@typescript-eslint/no-non-null-assertion': string;
|
|
1479
|
+
'@typescript-eslint/no-redundant-type-constituents': string;
|
|
1480
|
+
'@typescript-eslint/no-unnecessary-type-parameters': string;
|
|
1481
|
+
'@typescript-eslint/no-require-imports': (string | {
|
|
1482
|
+
allow: never[];
|
|
1483
|
+
})[];
|
|
1484
|
+
'@typescript-eslint/no-restricted-types': (string | {
|
|
1485
|
+
types: {
|
|
1486
|
+
object: {
|
|
1487
|
+
message: string;
|
|
1488
|
+
suggest: string[];
|
|
1489
|
+
};
|
|
1490
|
+
};
|
|
1491
|
+
})[];
|
|
1492
|
+
'@typescript-eslint/no-this-alias': string;
|
|
1493
|
+
'@typescript-eslint/no-type-alias': string;
|
|
1494
|
+
'@typescript-eslint/no-unnecessary-boolean-literal-compare': (string | {
|
|
1495
|
+
allowComparingNullableBooleansToTrue: boolean;
|
|
1496
|
+
allowComparingNullableBooleansToFalse: boolean;
|
|
1497
|
+
})[];
|
|
1498
|
+
'@typescript-eslint/no-unnecessary-condition': (string | {
|
|
1499
|
+
allowConstantLoopConditions: boolean;
|
|
1500
|
+
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: boolean;
|
|
1501
|
+
checkTypePredicates: boolean;
|
|
1502
|
+
})[];
|
|
1503
|
+
'@typescript-eslint/no-unnecessary-parameter-property-assignment': string;
|
|
1504
|
+
'@typescript-eslint/no-unnecessary-qualifier': string;
|
|
1505
|
+
'@typescript-eslint/no-unnecessary-template-expression': string;
|
|
1506
|
+
'@typescript-eslint/no-unnecessary-type-arguments': string;
|
|
1507
|
+
'@typescript-eslint/no-unnecessary-type-assertion': string;
|
|
1508
|
+
'@typescript-eslint/no-unnecessary-type-constraint': string;
|
|
1509
|
+
'@typescript-eslint/no-unsafe-argument': string;
|
|
1510
|
+
'@typescript-eslint/no-unsafe-assignment': string;
|
|
1511
|
+
'@typescript-eslint/no-unsafe-call': string;
|
|
1512
|
+
'@typescript-eslint/no-unsafe-declaration-merging': string;
|
|
1513
|
+
'@typescript-eslint/no-unsafe-enum-comparison': string;
|
|
1514
|
+
'@typescript-eslint/no-unsafe-function-type': string;
|
|
1515
|
+
'@typescript-eslint/no-unsafe-member-access': string;
|
|
1516
|
+
'@typescript-eslint/no-unsafe-return': string;
|
|
1517
|
+
'@typescript-eslint/no-unsafe-type-assertion': string;
|
|
1518
|
+
'@typescript-eslint/no-unsafe-unary-minus': string;
|
|
1519
|
+
'@typescript-eslint/no-useless-empty-export': string;
|
|
1520
|
+
'@typescript-eslint/no-useless-template-literal': string;
|
|
1521
|
+
'@typescript-eslint/no-var-requires': (string | {
|
|
1522
|
+
allow: never[];
|
|
1523
|
+
})[];
|
|
1524
|
+
'@typescript-eslint/no-wrapper-object-types': string;
|
|
1525
|
+
'@typescript-eslint/non-nullable-type-assertion-style': string;
|
|
1526
|
+
'@typescript-eslint/parameter-properties': (string | {
|
|
1527
|
+
prefer: string;
|
|
1528
|
+
})[];
|
|
1529
|
+
'@typescript-eslint/prefer-as-const': string;
|
|
1530
|
+
'@typescript-eslint/prefer-enum-initializers': string;
|
|
1531
|
+
'@typescript-eslint/prefer-find': string;
|
|
1532
|
+
'@typescript-eslint/prefer-for-of': string;
|
|
1533
|
+
'@typescript-eslint/prefer-function-type': string;
|
|
1534
|
+
'@typescript-eslint/prefer-includes': string;
|
|
1535
|
+
'@typescript-eslint/prefer-literal-enum-member': (string | {
|
|
1536
|
+
allowBitwiseExpressions: boolean;
|
|
1537
|
+
})[];
|
|
1538
|
+
'@typescript-eslint/prefer-namespace-keyword': string;
|
|
1539
|
+
'@typescript-eslint/prefer-nullish-coalescing': (string | {
|
|
1540
|
+
ignoreBooleanCoercion: boolean;
|
|
1541
|
+
ignoreTernaryTests: boolean;
|
|
1542
|
+
ignoreConditionalTests: boolean;
|
|
1543
|
+
ignoreMixedLogicalExpressions: boolean;
|
|
1544
|
+
ignorePrimitives: {
|
|
1545
|
+
bigint: boolean;
|
|
1546
|
+
boolean: boolean;
|
|
1547
|
+
number: boolean;
|
|
1548
|
+
string: boolean;
|
|
1549
|
+
};
|
|
1550
|
+
})[];
|
|
1551
|
+
'@typescript-eslint/prefer-optional-chain': (string | {
|
|
1552
|
+
checkAny: boolean;
|
|
1553
|
+
checkUnknown: boolean;
|
|
1554
|
+
checkString: boolean;
|
|
1555
|
+
checkNumber: boolean;
|
|
1556
|
+
checkBoolean: boolean;
|
|
1557
|
+
checkBigInt: boolean;
|
|
1558
|
+
requireNullish: boolean;
|
|
1559
|
+
})[];
|
|
1560
|
+
'@typescript-eslint/prefer-readonly': string;
|
|
1561
|
+
'@typescript-eslint/prefer-readonly-parameter-types': string;
|
|
1562
|
+
'@typescript-eslint/prefer-reduce-type-parameter': string;
|
|
1563
|
+
'@typescript-eslint/prefer-regexp-exec': string;
|
|
1564
|
+
'@typescript-eslint/prefer-return-this-type': string;
|
|
1565
|
+
'@typescript-eslint/prefer-string-starts-ends-with': (string | {
|
|
1566
|
+
allowSingleElementEquality: string;
|
|
1567
|
+
})[];
|
|
1568
|
+
'@typescript-eslint/prefer-ts-expect-error': string;
|
|
1569
|
+
'@typescript-eslint/promise-function-async': (string | {
|
|
1570
|
+
checkArrowFunctions: boolean;
|
|
1571
|
+
})[];
|
|
1572
|
+
'@typescript-eslint/require-array-sort-compare': (string | {
|
|
1573
|
+
ignoreStringArrays: boolean;
|
|
1574
|
+
})[];
|
|
1575
|
+
'@typescript-eslint/restrict-plus-operands': (string | {
|
|
1576
|
+
allowAny: boolean;
|
|
1577
|
+
allowBoolean: boolean;
|
|
1578
|
+
allowNullish: boolean;
|
|
1579
|
+
allowNumberAndString: boolean;
|
|
1580
|
+
allowRegExp: boolean;
|
|
1581
|
+
skipCompoundAssignments: boolean;
|
|
1582
|
+
})[];
|
|
1583
|
+
'@typescript-eslint/restrict-template-expressions': (string | {
|
|
1584
|
+
allowAny: boolean;
|
|
1585
|
+
allowArray: boolean;
|
|
1586
|
+
allowBoolean: boolean;
|
|
1587
|
+
allowNullish: boolean;
|
|
1588
|
+
allowNumber: boolean;
|
|
1589
|
+
allowRegExp: boolean;
|
|
1590
|
+
allowNever: boolean;
|
|
1591
|
+
})[];
|
|
1592
|
+
'@typescript-eslint/sort-type-constituents': string;
|
|
1593
|
+
'@typescript-eslint/strict-boolean-expressions': (string | {
|
|
1594
|
+
allowString: boolean;
|
|
1595
|
+
allowNumber: boolean;
|
|
1596
|
+
allowNullableEnum: boolean;
|
|
1597
|
+
allowNullableObject: boolean;
|
|
1598
|
+
allowNullableBoolean: boolean;
|
|
1599
|
+
allowNullableString: boolean;
|
|
1600
|
+
allowNullableNumber: boolean;
|
|
1601
|
+
allowAny: boolean;
|
|
1602
|
+
})[];
|
|
1603
|
+
'@typescript-eslint/switch-exhaustiveness-check': (string | {
|
|
1604
|
+
allowDefaultCaseForExhaustiveSwitch: boolean;
|
|
1605
|
+
requireDefaultForNonUnion: boolean;
|
|
1606
|
+
})[];
|
|
1607
|
+
'@typescript-eslint/triple-slash-reference': (string | {
|
|
1608
|
+
path: string;
|
|
1609
|
+
types: string;
|
|
1610
|
+
lib: string;
|
|
1611
|
+
})[];
|
|
1612
|
+
'@typescript-eslint/type-annotation-spacing': string;
|
|
1613
|
+
'@typescript-eslint/typedef': (string | {
|
|
1614
|
+
arrayDestructuring: boolean;
|
|
1615
|
+
arrowParameter: boolean;
|
|
1616
|
+
memberVariableDeclaration: boolean;
|
|
1617
|
+
objectDestructuring: boolean;
|
|
1618
|
+
parameter: boolean;
|
|
1619
|
+
propertyDeclaration: boolean;
|
|
1620
|
+
variableDeclaration: boolean;
|
|
1621
|
+
variableDeclarationIgnoreFunction: boolean;
|
|
1622
|
+
})[];
|
|
1623
|
+
'@typescript-eslint/unbound-method': (string | {
|
|
1624
|
+
ignoreStatic: boolean;
|
|
1625
|
+
})[];
|
|
1626
|
+
'@typescript-eslint/unified-signatures': (string | {
|
|
1627
|
+
ignoreDifferentlyNamedParameters: boolean;
|
|
1628
|
+
})[];
|
|
1629
|
+
'@typescript-eslint/use-unknown-in-catch-callback-variable': string;
|
|
1630
|
+
'import/no-commonjs'?: undefined;
|
|
1631
|
+
'import/no-extraneous-dependencies'?: undefined;
|
|
1632
|
+
'import/unambiguous'?: undefined;
|
|
1633
|
+
'jsdoc/no-types'?: undefined;
|
|
1634
|
+
'jsdoc/no-undefined-types'?: undefined;
|
|
1635
|
+
'jsdoc/require-param'?: undefined;
|
|
1636
|
+
'jsdoc/require-param-type'?: undefined;
|
|
1637
|
+
'jsdoc/require-returns'?: undefined;
|
|
1638
|
+
'jsdoc/require-returns-type'?: undefined;
|
|
1639
|
+
};
|
|
1640
|
+
ignores?: undefined;
|
|
1641
|
+
} | {
|
|
1642
|
+
files: string[];
|
|
1643
|
+
plugins: {
|
|
1644
|
+
'@stylistic/jsx': typeof import("@stylistic/eslint-plugin-jsx");
|
|
1645
|
+
};
|
|
1646
|
+
rules: {
|
|
1647
|
+
'@stylistic/jsx/jsx-child-element-spacing': string;
|
|
1648
|
+
'@stylistic/jsx/jsx-closing-bracket-location': (string | {
|
|
1649
|
+
selfClosing: string;
|
|
1650
|
+
nonEmpty: string;
|
|
1651
|
+
})[];
|
|
1652
|
+
'@stylistic/jsx/jsx-closing-tag-location': string[];
|
|
1653
|
+
'@stylistic/jsx/jsx-curly-brace-presence': (string | {
|
|
1654
|
+
props: string;
|
|
1655
|
+
children: string;
|
|
1656
|
+
propElementValues: string;
|
|
1657
|
+
})[];
|
|
1658
|
+
'@stylistic/jsx/jsx-curly-newline': string[];
|
|
1659
|
+
'@stylistic/jsx/jsx-curly-spacing': (string | {
|
|
1660
|
+
when: string;
|
|
1661
|
+
attributes: {
|
|
1662
|
+
allowMultiline: boolean;
|
|
1663
|
+
};
|
|
1664
|
+
children: {
|
|
1665
|
+
allowMultiline: boolean;
|
|
1666
|
+
};
|
|
1667
|
+
})[];
|
|
1668
|
+
'@stylistic/jsx/jsx-equals-spacing': string[];
|
|
1669
|
+
'@stylistic/jsx/jsx-first-prop-new-line': string[];
|
|
1670
|
+
'@stylistic/jsx/jsx-function-call-newline': string[];
|
|
1671
|
+
'@stylistic/jsx/jsx-indent': string;
|
|
1672
|
+
'@stylistic/jsx/jsx-indent-props': (string | {
|
|
1673
|
+
indentMode: number;
|
|
1674
|
+
ignoreTernaryOperator: boolean;
|
|
1675
|
+
})[];
|
|
1676
|
+
'@stylistic/jsx/jsx-max-props-per-line': (string | {
|
|
1677
|
+
maximum: number;
|
|
1678
|
+
when: string;
|
|
1679
|
+
})[];
|
|
1680
|
+
'@stylistic/jsx/jsx-newline': string;
|
|
1681
|
+
'@stylistic/jsx/jsx-one-expression-per-line': (string | {
|
|
1682
|
+
allow: string;
|
|
1683
|
+
})[];
|
|
1684
|
+
'@stylistic/jsx/jsx-pascal-case': (string | {
|
|
1685
|
+
allowAllCaps: boolean;
|
|
1686
|
+
allowLeadingUnderscore: boolean;
|
|
1687
|
+
allowNamespace: boolean;
|
|
1688
|
+
ignore: never[];
|
|
1689
|
+
})[];
|
|
1690
|
+
'@stylistic/jsx/jsx-props-no-multi-spaces': string;
|
|
1691
|
+
'@stylistic/jsx/jsx-self-closing-comp': (string | {
|
|
1692
|
+
component: boolean;
|
|
1693
|
+
html: boolean;
|
|
1694
|
+
})[];
|
|
1695
|
+
'@stylistic/jsx/jsx-sort-props': (string | {
|
|
1696
|
+
ignoreCase: boolean;
|
|
1697
|
+
callbacksLast: boolean;
|
|
1698
|
+
shorthandFirst: boolean;
|
|
1699
|
+
shorthandLast: boolean;
|
|
1700
|
+
multiline: string;
|
|
1701
|
+
noSortAlphabetically: boolean;
|
|
1702
|
+
reservedFirst: boolean;
|
|
1703
|
+
locale: string;
|
|
1704
|
+
})[];
|
|
1705
|
+
'@stylistic/jsx/jsx-tag-spacing': (string | {
|
|
1706
|
+
closingSlash: string;
|
|
1707
|
+
beforeSelfClosing: string;
|
|
1708
|
+
afterOpening: string;
|
|
1709
|
+
beforeClosing: string;
|
|
1710
|
+
})[];
|
|
1711
|
+
'@stylistic/jsx/jsx-wrap-multilines': (string | {
|
|
1712
|
+
declaration: string;
|
|
1713
|
+
assignment: string;
|
|
1714
|
+
return: string;
|
|
1715
|
+
arrow: string;
|
|
1716
|
+
condition: string;
|
|
1717
|
+
logical: string;
|
|
1718
|
+
prop: string;
|
|
1719
|
+
})[];
|
|
1720
|
+
'import/no-commonjs'?: undefined;
|
|
1721
|
+
'import/no-extraneous-dependencies'?: undefined;
|
|
1722
|
+
'import/unambiguous'?: undefined;
|
|
1723
|
+
'jsdoc/no-types'?: undefined;
|
|
1724
|
+
'jsdoc/no-undefined-types'?: undefined;
|
|
1725
|
+
'jsdoc/require-param'?: undefined;
|
|
1726
|
+
'jsdoc/require-param-type'?: undefined;
|
|
1727
|
+
'jsdoc/require-returns'?: undefined;
|
|
1728
|
+
'jsdoc/require-returns-type'?: undefined;
|
|
1729
|
+
};
|
|
1730
|
+
ignores?: undefined;
|
|
1731
|
+
languageOptions?: undefined;
|
|
1732
|
+
settings?: undefined;
|
|
1733
|
+
})[];
|
|
1734
|
+
export default _default;
|