linted 16.12.2-rc.2 → 16.12.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. package/.github/workflows/RELEASE.yml +35 -35
  2. package/.github/workflows/rc.yml +35 -35
  3. package/LICENSE +21 -21
  4. package/README.md +390 -390
  5. package/SECURITY.md +9 -9
  6. package/dist/imports/plugins.d.ts.map +1 -1
  7. package/dist/imports.d.ts.map +1 -1
  8. package/eslint.config.js +3 -3
  9. package/package.json +99 -99
  10. package/src/files/html.ts +1 -1
  11. package/src/files/js.ts +1 -1
  12. package/src/files/json.ts +1 -1
  13. package/src/files/jsonc.ts +4 -4
  14. package/src/files/md.ts +1 -1
  15. package/src/files/mocha.ts +1 -1
  16. package/src/files/svelte.ts +1 -1
  17. package/src/files/ts.ts +5 -5
  18. package/src/files/yml.ts +5 -5
  19. package/src/files.ts +22 -22
  20. package/src/imports/parsers.ts +15 -15
  21. package/src/imports/plugins.ts +19 -19
  22. package/src/imports.ts +8 -8
  23. package/src/index.ts +36 -36
  24. package/src/rules/_strings/id.ts +18 -18
  25. package/src/rules/_strings/level.ts +6 -6
  26. package/src/rules/_strings/state.ts +56 -56
  27. package/src/rules/_strings.ts +6 -6
  28. package/src/rules/html/enable.ts +16 -16
  29. package/src/rules/html/enable_recommended.ts +9 -9
  30. package/src/rules/html.ts +4 -4
  31. package/src/rules/js/enable.ts +524 -524
  32. package/src/rules/js/enable_stylistic.ts +608 -608
  33. package/src/rules/js.ts +4 -4
  34. package/src/rules/json/enable.ts +33 -33
  35. package/src/rules/json/enable_x.ts +89 -89
  36. package/src/rules/json.ts +4 -4
  37. package/src/rules/jsonc/override.ts +16 -16
  38. package/src/rules/jsonc.ts +4 -4
  39. package/src/rules/md/enable.ts +15 -15
  40. package/src/rules/md.ts +3 -3
  41. package/src/rules/mocha/enable.ts +3 -3
  42. package/src/rules/mocha/enable_recommended.ts +9 -9
  43. package/src/rules/mocha.ts +4 -4
  44. package/src/rules/svelte/disable.ts +9 -9
  45. package/src/rules/svelte/disable_js.ts +11 -11
  46. package/src/rules/svelte/disable_ts.ts +9 -9
  47. package/src/rules/svelte/enable.ts +228 -228
  48. package/src/rules/svelte/enable_x.ts +20 -20
  49. package/src/rules/svelte.ts +15 -15
  50. package/src/rules/ts/disable.ts +22 -22
  51. package/src/rules/ts/disable_x.ts +32 -32
  52. package/src/rules/ts/enable.ts +549 -549
  53. package/src/rules/ts/enable_x.ts +115 -115
  54. package/src/rules/ts.ts +13 -13
  55. package/src/rules/yml/enable.ts +64 -64
  56. package/src/rules/yml/enable_x.ts +68 -68
  57. package/src/rules/yml.ts +4 -4
  58. package/src/rules.ts +22 -22
  59. package/tsconfig.json +161 -161
  60. package/types/markdownlint/index.d.ts +3 -3
  61. package/types/markdownlint/parser.d.ts +9 -9
  62. package/types/mocha/index.d.ts +8 -8
  63. package/dist/rules/_html.d.ts +0 -8
  64. package/dist/rules/_html.d.ts.map +0 -1
  65. package/dist/rules/_html.js +0 -4
  66. package/dist/rules/_html.js.map +0 -1
  67. package/dist/rules/_js.d.ts +0 -765
  68. package/dist/rules/_js.d.ts.map +0 -1
  69. package/dist/rules/_js.js +0 -4
  70. package/dist/rules/_js.js.map +0 -1
  71. package/dist/rules/_json.d.ts +0 -74
  72. package/dist/rules/_json.d.ts.map +0 -1
  73. package/dist/rules/_json.js +0 -4
  74. package/dist/rules/_json.js.map +0 -1
  75. package/dist/rules/_jsonc.d.ts +0 -77
  76. package/dist/rules/_jsonc.d.ts.map +0 -1
  77. package/dist/rules/_jsonc.js +0 -4
  78. package/dist/rules/_jsonc.js.map +0 -1
  79. package/dist/rules/_md.d.ts +0 -7
  80. package/dist/rules/_md.d.ts.map +0 -1
  81. package/dist/rules/_md.js +0 -3
  82. package/dist/rules/_md.js.map +0 -1
  83. package/dist/rules/_mocha.d.ts +0 -8
  84. package/dist/rules/_mocha.d.ts.map +0 -1
  85. package/dist/rules/_mocha.js +0 -4
  86. package/dist/rules/_mocha.js.map +0 -1
  87. package/dist/rules/_svelte.d.ts +0 -1269
  88. package/dist/rules/_svelte.d.ts.map +0 -1
  89. package/dist/rules/_svelte.js +0 -15
  90. package/dist/rules/_svelte.js.map +0 -1
  91. package/dist/rules/_ts.d.ts +0 -1133
  92. package/dist/rules/_ts.d.ts.map +0 -1
  93. package/dist/rules/_ts.js +0 -13
  94. package/dist/rules/_ts.js.map +0 -1
  95. package/dist/rules/_yml.d.ts +0 -73
  96. package/dist/rules/_yml.d.ts.map +0 -1
  97. package/dist/rules/_yml.js +0 -4
  98. package/dist/rules/_yml.js.map +0 -1
  99. package/dist/rules/html/_enable.d.ts +0 -8
  100. package/dist/rules/html/_enable.d.ts.map +0 -1
  101. package/dist/rules/html/_enable.js +0 -10
  102. package/dist/rules/html/_enable.js.map +0 -1
  103. package/dist/rules/html/_recommended.d.ts +0 -3
  104. package/dist/rules/html/_recommended.d.ts.map +0 -1
  105. package/dist/rules/html/_recommended.js +0 -5
  106. package/dist/rules/html/_recommended.js.map +0 -1
  107. package/dist/rules/js/_enable.d.ts +0 -348
  108. package/dist/rules/js/_enable.d.ts.map +0 -1
  109. package/dist/rules/js/_enable.js +0 -260
  110. package/dist/rules/js/_enable.js.map +0 -1
  111. package/dist/rules/js/stylistic.d.ts +0 -420
  112. package/dist/rules/js/stylistic.d.ts.map +0 -1
  113. package/dist/rules/js/stylistic.js +0 -270
  114. package/dist/rules/js/stylistic.js.map +0 -1
  115. package/dist/rules/json/_enable.d.ts +0 -27
  116. package/dist/rules/json/_enable.d.ts.map +0 -1
  117. package/dist/rules/json/_enable.js +0 -31
  118. package/dist/rules/json/_enable.js.map +0 -1
  119. package/dist/rules/md/_enable.d.ts +0 -7
  120. package/dist/rules/md/_enable.d.ts.map +0 -1
  121. package/dist/rules/md/_enable.js +0 -9
  122. package/dist/rules/md/_enable.js.map +0 -1
  123. package/dist/rules/mocha/_enable.d.ts +0 -3
  124. package/dist/rules/mocha/_enable.d.ts.map +0 -1
  125. package/dist/rules/mocha/_enable.js +0 -4
  126. package/dist/rules/mocha/_enable.js.map +0 -1
  127. package/dist/rules/mocha/_recommended.d.ts +0 -3
  128. package/dist/rules/mocha/_recommended.d.ts.map +0 -1
  129. package/dist/rules/mocha/_recommended.js +0 -5
  130. package/dist/rules/mocha/_recommended.js.map +0 -1
  131. package/dist/rules/svelte/_enable.d.ts +0 -126
  132. package/dist/rules/svelte/_enable.d.ts.map +0 -1
  133. package/dist/rules/svelte/_enable.js +0 -90
  134. package/dist/rules/svelte/_enable.js.map +0 -1
  135. package/dist/rules/svelte/disable_x.d.ts +0 -5
  136. package/dist/rules/svelte/disable_x.d.ts.map +0 -1
  137. package/dist/rules/svelte/disable_x.js +0 -4
  138. package/dist/rules/svelte/disable_x.js.map +0 -1
  139. package/dist/rules/ts/_enable.d.ts +0 -262
  140. package/dist/rules/ts/_enable.d.ts.map +0 -1
  141. package/dist/rules/ts/_enable.js +0 -359
  142. package/dist/rules/ts/_enable.js.map +0 -1
  143. package/dist/rules/ts/disable_compiler.d.ts +0 -18
  144. package/dist/rules/ts/disable_compiler.d.ts.map +0 -1
  145. package/dist/rules/ts/disable_compiler.js +0 -22
  146. package/dist/rules/ts/disable_compiler.js.map +0 -1
  147. package/dist/rules/yml/_enable.d.ts +0 -39
  148. package/dist/rules/yml/_enable.d.ts.map +0 -1
  149. package/dist/rules/yml/_enable.js +0 -28
  150. package/dist/rules/yml/_enable.js.map +0 -1
@@ -1,765 +0,0 @@
1
- declare const _default: readonly [readonly ["stylistic", {
2
- readonly "@stylistic/array-bracket-newline": readonly ["error", {
3
- readonly multiline: true;
4
- readonly minItems: null;
5
- }];
6
- readonly "@stylistic/array-bracket-spacing": readonly ["error", "never", {
7
- readonly singleValue: false;
8
- readonly objectsInArrays: false;
9
- readonly arraysInArrays: false;
10
- }];
11
- readonly "@stylistic/array-element-newline": readonly ["error", {
12
- readonly ArrayExpression: {
13
- readonly consistent: true;
14
- readonly multiline: true;
15
- readonly minItems: 4;
16
- };
17
- readonly ArrayPattern: {
18
- readonly consistent: true;
19
- readonly multiline: true;
20
- readonly minItems: 4;
21
- };
22
- }];
23
- readonly "@stylistic/arrow-parens": readonly ["error", "as-needed", {
24
- readonly requireForBlockBody: false;
25
- }];
26
- readonly "@stylistic/arrow-spacing": readonly ["error", {
27
- readonly before: true;
28
- readonly after: true;
29
- }];
30
- readonly "@stylistic/block-spacing": readonly ["error", "always"];
31
- readonly "@stylistic/brace-style": readonly ["error", "stroustrup", {
32
- readonly allowSingleLine: true;
33
- }];
34
- readonly "@stylistic/comma-dangle": readonly ["error", "always-multiline"];
35
- readonly "@stylistic/comma-spacing": readonly ["error", {
36
- readonly before: false;
37
- readonly after: true;
38
- }];
39
- readonly "@stylistic/comma-style": readonly ["error", "last", {
40
- readonly exceptions: {
41
- readonly ArrayExpression: false;
42
- readonly ArrayPattern: false;
43
- readonly ArrowFunctionExpression: false;
44
- readonly CallExpression: false;
45
- readonly FunctionDeclaration: false;
46
- readonly FunctionExpression: false;
47
- readonly ImportDeclaration: false;
48
- readonly ObjectExpression: false;
49
- readonly ObjectPattern: false;
50
- readonly VariableDeclaration: false;
51
- readonly NewExpression: false;
52
- };
53
- }];
54
- readonly "@stylistic/computed-property-spacing": readonly ["error", "never", {
55
- readonly enforceForClassMembers: true;
56
- }];
57
- readonly "@stylistic/dot-location": readonly ["error", "property"];
58
- readonly "@stylistic/eol-last": readonly ["error", "always"];
59
- readonly "@stylistic/function-call-argument-newline": readonly ["error", "consistent"];
60
- readonly "@stylistic/function-call-spacing": readonly ["error", "never"];
61
- readonly "@stylistic/function-paren-newline": readonly ["error", "multiline-arguments"];
62
- readonly "@stylistic/generator-star-spacing": readonly ["error", {
63
- readonly before: true;
64
- readonly after: false;
65
- }];
66
- readonly "@stylistic/implicit-arrow-linebreak": readonly ["error", "beside"];
67
- readonly "@stylistic/indent": readonly ["error", 2, {
68
- readonly ignoredNodes: readonly [];
69
- readonly SwitchCase: 1;
70
- readonly VariableDeclarator: {
71
- readonly var: 0;
72
- readonly let: 0;
73
- readonly const: 0;
74
- };
75
- readonly outerIIFEBody: 0;
76
- readonly MemberExpression: 1;
77
- readonly FunctionDeclaration: {
78
- readonly parameters: 1;
79
- readonly body: 1;
80
- };
81
- readonly FunctionExpression: {
82
- readonly parameters: 1;
83
- readonly body: 1;
84
- };
85
- readonly StaticBlock: {
86
- readonly body: 1;
87
- };
88
- readonly CallExpression: {
89
- readonly arguments: 1;
90
- };
91
- readonly ArrayExpression: 1;
92
- readonly ObjectExpression: 1;
93
- readonly ImportDeclaration: 1;
94
- readonly flatTernaryExpressions: false;
95
- readonly offsetTernaryExpressions: true;
96
- readonly ignoreComments: false;
97
- }];
98
- readonly "@stylistic/indent-binary-ops": readonly ["error", 2];
99
- readonly "@stylistic/key-spacing": readonly ["error", {
100
- readonly beforeColon: false;
101
- readonly afterColon: true;
102
- readonly mode: "strict";
103
- }];
104
- readonly "@stylistic/keyword-spacing": readonly ["error", {
105
- readonly before: true;
106
- readonly after: true;
107
- readonly overrides: {};
108
- }];
109
- readonly "@stylistic/line-comment-position": "off";
110
- readonly "@stylistic/lines-around-comment": readonly ["error", {
111
- readonly beforeBlockComment: false;
112
- readonly afterBlockComment: false;
113
- readonly beforeLineComment: true;
114
- readonly afterLineComment: false;
115
- readonly allowBlockStart: true;
116
- readonly allowBlockEnd: true;
117
- readonly allowObjectStart: true;
118
- readonly allowObjectEnd: true;
119
- readonly allowArrayStart: true;
120
- readonly allowArrayEnd: true;
121
- readonly allowClassStart: true;
122
- readonly allowClassEnd: true;
123
- readonly applyDefaultIgnorePatterns: true;
124
- readonly afterHashbangComment: false;
125
- readonly allowEnumEnd: true;
126
- readonly allowEnumStart: true;
127
- readonly allowInterfaceEnd: true;
128
- readonly allowInterfaceStart: true;
129
- readonly allowModuleEnd: true;
130
- readonly allowModuleStart: true;
131
- readonly allowTypeEnd: true;
132
- readonly allowTypeStart: true;
133
- }];
134
- readonly "@stylistic/lines-between-class-members": readonly ["error", {
135
- readonly enforce: readonly [{
136
- readonly blankLine: "never";
137
- readonly prev: "field";
138
- readonly next: "field";
139
- }, {
140
- readonly blankLine: "always";
141
- readonly prev: "field";
142
- readonly next: "method";
143
- }, {
144
- readonly blankLine: "always";
145
- readonly prev: "method";
146
- readonly next: "*";
147
- }];
148
- }, {
149
- readonly exceptAfterSingleLine: false;
150
- readonly exceptAfterOverload: true;
151
- }];
152
- readonly "@stylistic/max-len": readonly ["error", {
153
- readonly code: 150;
154
- readonly tabWidth: 2;
155
- readonly ignoreComments: true;
156
- readonly ignoreTrailingComments: true;
157
- readonly ignoreUrls: true;
158
- readonly ignoreStrings: true;
159
- readonly ignoreTemplateLiterals: true;
160
- readonly ignoreRegExpLiterals: true;
161
- }];
162
- readonly "@stylistic/max-statements-per-line": readonly ["error", {
163
- readonly max: 1;
164
- }];
165
- readonly "@stylistic/member-delimiter-style": readonly ["error", {
166
- readonly multiline: {
167
- readonly delimiter: "semi";
168
- readonly requireLast: true;
169
- };
170
- readonly singleline: {
171
- readonly delimiter: "semi";
172
- readonly requireLast: false;
173
- };
174
- readonly multilineDetection: "brackets";
175
- }];
176
- readonly "@stylistic/multiline-comment-style": "off";
177
- readonly "@stylistic/multiline-ternary": readonly ["error", "always-multiline"];
178
- readonly "@stylistic/new-parens": readonly ["off", "never"];
179
- readonly "@stylistic/newline-per-chained-call": readonly ["error", {
180
- readonly ignoreChainWithDepth: 2;
181
- }];
182
- readonly "@stylistic/no-confusing-arrow": "off";
183
- readonly "@stylistic/no-extra-parens": readonly ["error", "all", {
184
- readonly conditionalAssign: true;
185
- readonly returnAssign: true;
186
- readonly nestedBinaryExpressions: true;
187
- readonly ternaryOperandBinaryExpressions: true;
188
- readonly enforceForArrowConditionals: true;
189
- readonly enforceForSequenceExpressions: true;
190
- readonly enforceForNewInMemberExpressions: true;
191
- readonly enforceForFunctionPrototypeMethods: true;
192
- }];
193
- readonly "@stylistic/no-extra-semi": "error";
194
- readonly "@stylistic/no-floating-decimal": "error";
195
- readonly "@stylistic/no-mixed-operators": "off";
196
- readonly "@stylistic/no-mixed-spaces-and-tabs": "error";
197
- readonly "@stylistic/no-multi-spaces": readonly ["error", {
198
- readonly ignoreEOLComments: false;
199
- readonly exceptions: {
200
- readonly Property: false;
201
- };
202
- readonly includeTabs: true;
203
- }];
204
- readonly "@stylistic/no-multiple-empty-lines": readonly ["error", {
205
- readonly max: 1;
206
- readonly maxEOF: 1;
207
- readonly maxBOF: 0;
208
- }];
209
- readonly "@stylistic/no-tabs": readonly ["error", {
210
- readonly allowIndentationTabs: false;
211
- }];
212
- readonly "@stylistic/no-trailing-spaces": readonly ["error", {
213
- readonly skipBlankLines: false;
214
- readonly ignoreComments: false;
215
- }];
216
- readonly "@stylistic/no-whitespace-before-property": "error";
217
- readonly "@stylistic/nonblock-statement-body-position": readonly ["error", "below", {
218
- readonly overrides: {
219
- readonly if: "below";
220
- readonly else: "below";
221
- readonly while: "below";
222
- readonly do: "below";
223
- readonly for: "below";
224
- };
225
- }];
226
- readonly "@stylistic/object-curly-newline": readonly ["error", {
227
- readonly ObjectExpression: {
228
- readonly consistent: true;
229
- readonly multiline: true;
230
- readonly minProperties: 4;
231
- };
232
- readonly ObjectPattern: {
233
- readonly consistent: true;
234
- readonly multiline: true;
235
- readonly minProperties: 4;
236
- };
237
- readonly ImportDeclaration: {
238
- readonly consistent: true;
239
- readonly multiline: true;
240
- readonly minProperties: 4;
241
- };
242
- readonly ExportDeclaration: {
243
- readonly consistent: true;
244
- readonly multiline: true;
245
- readonly minProperties: 4;
246
- };
247
- }];
248
- readonly "@stylistic/object-curly-spacing": readonly ["error", "always", {
249
- readonly arraysInObjects: true;
250
- readonly objectsInObjects: true;
251
- }];
252
- readonly "@stylistic/object-property-newline": readonly ["error", {
253
- readonly allowAllPropertiesOnSameLine: true;
254
- }];
255
- readonly "@stylistic/one-var-declaration-per-line": readonly ["error", "always"];
256
- readonly "@stylistic/operator-linebreak": readonly ["error", "before", {
257
- readonly overrides: {
258
- readonly "=": "after";
259
- };
260
- }];
261
- readonly "@stylistic/padded-blocks": readonly ["error", {
262
- readonly blocks: "never";
263
- readonly classes: "never";
264
- readonly switches: "never";
265
- }, {
266
- readonly allowSingleLineBlocks: true;
267
- }];
268
- readonly "@stylistic/padding-line-between-statements": readonly ["error", {
269
- readonly blankLine: "always";
270
- readonly prev: "directive";
271
- readonly next: "*";
272
- }, {
273
- readonly blankLine: "never";
274
- readonly prev: "directive";
275
- readonly next: "directive";
276
- }, {
277
- readonly blankLine: "always";
278
- readonly prev: readonly ["import", "cjs-import"];
279
- readonly next: "*";
280
- }, {
281
- readonly blankLine: "never";
282
- readonly prev: readonly ["import", "cjs-import"];
283
- readonly next: readonly ["import", "cjs-import"];
284
- }, {
285
- readonly blankLine: "always";
286
- readonly prev: readonly ["class", "interface", "try", "for", "if", "do", "while", "switch", "block", "block-like", "iife", "empty", "debugger", "with"];
287
- readonly next: "*";
288
- }, {
289
- readonly blankLine: "always";
290
- readonly prev: "case";
291
- readonly next: "*";
292
- }, {
293
- readonly blankLine: "always";
294
- readonly prev: "case";
295
- readonly next: readonly ["case", "default"];
296
- }, {
297
- readonly blankLine: "always";
298
- readonly prev: "default";
299
- readonly next: "*";
300
- }, {
301
- readonly blankLine: "always";
302
- readonly prev: "type";
303
- readonly next: "*";
304
- }, {
305
- readonly blankLine: "never";
306
- readonly prev: "type";
307
- readonly next: "type";
308
- }, {
309
- readonly blankLine: "always";
310
- readonly prev: "function";
311
- readonly next: "*";
312
- }, {
313
- readonly blankLine: "always";
314
- readonly prev: "function-overload";
315
- readonly next: "*";
316
- }, {
317
- readonly blankLine: "never";
318
- readonly prev: "function-overload";
319
- readonly next: "function-overload";
320
- }, {
321
- readonly blankLine: "never";
322
- readonly prev: "function-overload";
323
- readonly next: "function";
324
- }, {
325
- readonly blankLine: "always";
326
- readonly prev: readonly ["const", "let", "var"];
327
- readonly next: "*";
328
- }, {
329
- readonly blankLine: "never";
330
- readonly prev: readonly ["const", "let", "var"];
331
- readonly next: readonly ["const", "let", "var"];
332
- }, {
333
- readonly blankLine: "always";
334
- readonly prev: "expression";
335
- readonly next: "*";
336
- }, {
337
- readonly blankLine: "never";
338
- readonly prev: "expression";
339
- readonly next: "expression";
340
- }, {
341
- readonly blankLine: "always";
342
- readonly prev: "*";
343
- readonly next: readonly ["throw", "return", "break", "continue"];
344
- }, {
345
- readonly blankLine: "always";
346
- readonly prev: "*";
347
- readonly next: readonly ["export", "cjs-export"];
348
- }, {
349
- readonly blankLine: "never";
350
- readonly prev: readonly ["export", "cjs-export"];
351
- readonly next: readonly ["export", "cjs-export"];
352
- }];
353
- readonly "@stylistic/quote-props": readonly ["error", "as-needed", {
354
- readonly keywords: true;
355
- readonly unnecessary: true;
356
- readonly numbers: false;
357
- }];
358
- readonly "@stylistic/quotes": readonly ["error", "double", {
359
- readonly avoidEscape: true;
360
- readonly allowTemplateLiterals: true;
361
- }];
362
- readonly "@stylistic/rest-spread-spacing": readonly ["error", "never"];
363
- readonly "@stylistic/semi": readonly ["error", "always", {
364
- readonly omitLastInOneLineBlock: false;
365
- readonly omitLastInOneLineClassBody: false;
366
- }];
367
- readonly "@stylistic/semi-spacing": readonly ["error", {
368
- readonly before: false;
369
- readonly after: true;
370
- }];
371
- readonly "@stylistic/semi-style": readonly ["error", "last"];
372
- readonly "@stylistic/space-before-blocks": readonly ["error", {
373
- readonly functions: "always";
374
- readonly keywords: "always";
375
- readonly classes: "always";
376
- }];
377
- readonly "@stylistic/space-before-function-paren": readonly ["error", {
378
- readonly anonymous: "always";
379
- readonly named: "never";
380
- readonly asyncArrow: "always";
381
- }];
382
- readonly "@stylistic/space-in-parens": readonly ["error", "never"];
383
- readonly "@stylistic/space-infix-ops": readonly ["error", {
384
- readonly int32Hint: true;
385
- }];
386
- readonly "@stylistic/space-unary-ops": readonly ["error", {
387
- readonly words: true;
388
- readonly nonwords: false;
389
- readonly overrides: {};
390
- }];
391
- readonly "@stylistic/spaced-comment": readonly ["error", "always"];
392
- readonly "@stylistic/switch-colon-spacing": readonly ["error", {
393
- readonly after: true;
394
- readonly before: false;
395
- }];
396
- readonly "@stylistic/template-curly-spacing": readonly ["error", "never"];
397
- readonly "@stylistic/template-tag-spacing": readonly ["error", "never"];
398
- readonly "@stylistic/type-annotation-spacing": readonly ["error", {
399
- readonly before: true;
400
- readonly after: true;
401
- readonly overrides: {
402
- readonly colon: {
403
- readonly before: false;
404
- readonly after: true;
405
- };
406
- };
407
- }];
408
- readonly "@stylistic/type-generic-spacing": "error";
409
- readonly "@stylistic/type-named-tuple-spacing": "error";
410
- readonly "@stylistic/wrap-iife": readonly ["error", "inside", {
411
- readonly functionPrototypeMethods: true;
412
- }];
413
- readonly "@stylistic/wrap-regex": "error";
414
- readonly "@stylistic/yield-star-spacing": readonly ["error", {
415
- readonly before: false;
416
- readonly after: true;
417
- }];
418
- }], readonly ["enable", {
419
- readonly "array-callback-return": readonly ["error", {
420
- readonly allowImplicit: false;
421
- readonly checkForEach: true;
422
- readonly allowVoid: true;
423
- }];
424
- readonly "constructor-super": "error";
425
- readonly "for-direction": "error";
426
- readonly "getter-return": readonly ["error", {
427
- readonly allowImplicit: false;
428
- }];
429
- readonly "no-async-promise-executor": "error";
430
- readonly "no-await-in-loop": "error";
431
- readonly "no-class-assign": "error";
432
- readonly "no-compare-neg-zero": "error";
433
- readonly "no-cond-assign": readonly ["error", "always"];
434
- readonly "no-const-assign": "error";
435
- readonly "no-constant-binary-expression": "error";
436
- readonly "no-constant-condition": readonly ["error", {
437
- readonly checkLoops: true;
438
- }];
439
- readonly "no-constructor-return": "error";
440
- readonly "no-control-regex": "error";
441
- readonly "no-debugger": "error";
442
- readonly "no-dupe-args": "error";
443
- readonly "no-dupe-class-members": "error";
444
- readonly "no-dupe-else-if": "error";
445
- readonly "no-dupe-keys": "error";
446
- readonly "no-duplicate-case": "error";
447
- readonly "no-duplicate-imports": "off";
448
- readonly "no-empty-character-class": "error";
449
- readonly "no-empty-pattern": readonly ["error", {
450
- readonly allowObjectPatternsAsParameters: false;
451
- }];
452
- readonly "no-ex-assign": "error";
453
- readonly "no-fallthrough": readonly ["error", {
454
- readonly allowEmptyCase: true;
455
- readonly reportUnusedFallthroughComment: true;
456
- }];
457
- readonly "no-func-assign": "error";
458
- readonly "no-import-assign": "error";
459
- readonly "no-inner-declarations": readonly ["error", "both", {
460
- readonly blockScopedFunctions: "allow";
461
- }];
462
- readonly "no-invalid-regexp": readonly ["error", {
463
- readonly allowConstructorFlags: readonly [];
464
- }];
465
- readonly "no-irregular-whitespace": readonly ["error", {
466
- readonly skipStrings: true;
467
- readonly skipComments: true;
468
- readonly skipRegExps: true;
469
- readonly skipTemplates: true;
470
- readonly skipJSXText: true;
471
- }];
472
- readonly "no-loss-of-precision": "error";
473
- readonly "no-misleading-character-class": "error";
474
- readonly "no-new-native-nonconstructor": "error";
475
- readonly "no-obj-calls": "error";
476
- readonly "no-promise-executor-return": readonly ["error", {
477
- readonly allowVoid: true;
478
- }];
479
- readonly "no-prototype-builtins": "error";
480
- readonly "no-self-assign": readonly ["error", {
481
- readonly props: true;
482
- }];
483
- readonly "no-self-compare": "error";
484
- readonly "no-setter-return": "error";
485
- readonly "no-sparse-arrays": "error";
486
- readonly "no-template-curly-in-string": "error";
487
- readonly "no-this-before-super": "error";
488
- readonly "no-undef": "error";
489
- readonly "no-unexpected-multiline": "error";
490
- readonly "no-unmodified-loop-condition": "error";
491
- readonly "no-unreachable": "error";
492
- readonly "no-unreachable-loop": readonly ["error", {
493
- readonly ignore: readonly [];
494
- }];
495
- readonly "no-unsafe-finally": "error";
496
- readonly "no-unsafe-negation": readonly ["error", {
497
- readonly enforceForOrderingRelations: true;
498
- }];
499
- readonly "no-unsafe-optional-chaining": readonly ["error", {
500
- readonly disallowArithmeticOperators: true;
501
- }];
502
- readonly "no-unused-private-class-members": "error";
503
- readonly "no-unused-vars": readonly ["error", {
504
- readonly vars: "all";
505
- readonly args: "all";
506
- readonly caughtErrors: "all";
507
- readonly ignoreRestSiblings: false;
508
- readonly ignoreClassWithStaticInitBlock: false;
509
- readonly reportUsedIgnorePattern: true;
510
- }];
511
- readonly "no-use-before-define": readonly ["error", {
512
- readonly functions: true;
513
- readonly classes: true;
514
- readonly variables: true;
515
- readonly allowNamedExports: false;
516
- }];
517
- readonly "no-useless-assignment": "error";
518
- readonly "no-useless-backreference": "error";
519
- readonly "require-atomic-updates": readonly ["error", {
520
- readonly allowProperties: false;
521
- }];
522
- readonly "use-isnan": readonly ["error", {
523
- readonly enforceForSwitchCase: true;
524
- readonly enforceForIndexOf: true;
525
- }];
526
- readonly "valid-typeof": readonly ["error", {
527
- readonly requireStringLiterals: true;
528
- }];
529
- readonly "accessor-pairs": readonly ["error", {
530
- readonly setWithoutGet: true;
531
- readonly getWithoutSet: false;
532
- readonly enforceForClassMembers: true;
533
- }];
534
- readonly "arrow-body-style": readonly ["error", "as-needed", {
535
- readonly requireReturnForObjectLiteral: true;
536
- }];
537
- readonly "block-scoped-var": "error";
538
- readonly camelcase: "off";
539
- readonly "capitalized-comments": "off";
540
- readonly "class-methods-use-this": "off";
541
- readonly complexity: "off";
542
- readonly "consistent-return": readonly ["error", {
543
- readonly treatUndefinedAsUnspecified: false;
544
- }];
545
- readonly "consistent-this": "error";
546
- readonly curly: readonly ["error", "multi"];
547
- readonly "default-case": "off";
548
- readonly "default-case-last": "error";
549
- readonly "default-param-last": "error";
550
- readonly "dot-notation": readonly ["error", {
551
- readonly allowKeywords: true;
552
- }];
553
- readonly eqeqeq: readonly ["error", "always"];
554
- readonly "func-name-matching": "off";
555
- readonly "func-names": "off";
556
- readonly "func-style": "off";
557
- readonly "grouped-accessor-pairs": "off";
558
- readonly "guard-for-in": "off";
559
- readonly "id-denylist": "off";
560
- readonly "id-length": "off";
561
- readonly "id-match": "off";
562
- readonly "init-declarations": readonly ["error", "always"];
563
- readonly "logical-assignment-operators": readonly ["error", "always", {
564
- readonly enforceForIfStatements: true;
565
- }];
566
- readonly "max-classes-per-file": "off";
567
- readonly "max-depth": "off";
568
- readonly "max-lines": "off";
569
- readonly "max-lines-per-function": "off";
570
- readonly "max-nested-callbacks": "off";
571
- readonly "max-params": "off";
572
- readonly "max-statements": "off";
573
- readonly "multiline-comment-style": "off";
574
- readonly "new-cap": "off";
575
- readonly "no-alert": "error";
576
- readonly "no-array-constructor": "error";
577
- readonly "no-bitwise": readonly ["error", {
578
- readonly allow: readonly [];
579
- readonly int32Hint: true;
580
- }];
581
- readonly "no-caller": "error";
582
- readonly "no-case-declarations": "error";
583
- readonly "no-console": "off";
584
- readonly "no-continue": "error";
585
- readonly "no-delete-var": "error";
586
- readonly "no-div-regex": "error";
587
- readonly "no-else-return": "off";
588
- readonly "no-empty": readonly ["error", {
589
- readonly allowEmptyCatch: false;
590
- }];
591
- readonly "no-empty-function": readonly ["error", {
592
- readonly allow: readonly ["constructors"];
593
- }];
594
- readonly "no-empty-static-block": "error";
595
- readonly "no-eq-null": "error";
596
- readonly "no-eval": readonly ["error", {
597
- readonly allowIndirect: false;
598
- }];
599
- readonly "no-extend-native": readonly ["error", {
600
- readonly exceptions: readonly [];
601
- }];
602
- readonly "no-extra-bind": "error";
603
- readonly "no-extra-boolean-cast": readonly ["error", {
604
- readonly enforceForLogicalOperands: true;
605
- }];
606
- readonly "no-extra-label": "error";
607
- readonly "no-global-assign": readonly ["error", {
608
- readonly exceptions: readonly [];
609
- }];
610
- readonly "no-implicit-coercion": readonly ["error", {
611
- readonly boolean: true;
612
- readonly number: true;
613
- readonly string: true;
614
- readonly disallowTemplateShorthand: true;
615
- readonly allow: readonly [];
616
- }];
617
- readonly "no-implicit-globals": "off";
618
- readonly "no-implied-eval": "error";
619
- readonly "no-inline-comments": "off";
620
- readonly "no-invalid-this": readonly ["error", {
621
- readonly capIsConstructor: false;
622
- }];
623
- readonly "no-iterator": "error";
624
- readonly "no-label-var": "error";
625
- readonly "no-lone-blocks": "error";
626
- readonly "no-lonely-if": "off";
627
- readonly "no-loop-func": "error";
628
- readonly "no-magic-numbers": "off";
629
- readonly "no-multi-assign": readonly ["error", {
630
- readonly ignoreNonDeclaration: false;
631
- }];
632
- readonly "no-multi-str": "error";
633
- readonly "no-negated-condition": "off";
634
- readonly "no-nested-ternary": "off";
635
- readonly "no-new": "error";
636
- readonly "no-new-func": "error";
637
- readonly "no-new-wrappers": "error";
638
- readonly "no-nonoctal-decimal-escape": "error";
639
- readonly "no-object-constructor": "error";
640
- readonly "no-octal": "error";
641
- readonly "no-octal-escape": "error";
642
- readonly "no-param-reassign": readonly ["error", {
643
- readonly props: true;
644
- readonly ignorePropertyModificationsFor: readonly [];
645
- readonly ignorePropertyModificationsForRegex: readonly [];
646
- }];
647
- readonly "no-plusplus": readonly ["error", {
648
- readonly allowForLoopAfterthoughts: true;
649
- }];
650
- readonly "no-proto": "error";
651
- readonly "no-redeclare": readonly ["error", {
652
- readonly builtinGlobals: true;
653
- }];
654
- readonly "no-regex-spaces": "off";
655
- readonly "no-restricted-exports": "off";
656
- readonly "no-restricted-globals": "off";
657
- readonly "no-restricted-imports": "off";
658
- readonly "no-restricted-properties": "off";
659
- readonly "no-restricted-syntax": "off";
660
- readonly "no-return-assign": readonly ["error", "always"];
661
- readonly "no-script-url": "error";
662
- readonly "no-sequences": readonly ["error", {
663
- readonly allowInParentheses: true;
664
- }];
665
- readonly "no-shadow": "off";
666
- readonly "no-shadow-restricted-names": "error";
667
- readonly "no-ternary": "off";
668
- readonly "no-throw-literal": "error";
669
- readonly "no-undef-init": "error";
670
- readonly "no-undefined": "off";
671
- readonly "no-underscore-dangle": "off";
672
- readonly "no-unneeded-ternary": readonly ["error", {
673
- readonly defaultAssignment: false;
674
- }];
675
- readonly "no-unused-expressions": readonly ["error", {
676
- readonly allowShortCircuit: true;
677
- readonly allowTernary: true;
678
- readonly allowTaggedTemplates: true;
679
- readonly enforceForJSX: false;
680
- }];
681
- readonly "no-unused-labels": "error";
682
- readonly "no-useless-call": "error";
683
- readonly "no-useless-catch": "error";
684
- readonly "no-useless-computed-key": readonly ["error", {
685
- readonly enforceForClassMembers: true;
686
- }];
687
- readonly "no-useless-concat": "error";
688
- readonly "no-useless-constructor": "error";
689
- readonly "no-useless-escape": "error";
690
- readonly "no-useless-rename": readonly ["error", {
691
- readonly ignoreImport: false;
692
- readonly ignoreExport: false;
693
- readonly ignoreDestructuring: false;
694
- }];
695
- readonly "no-useless-return": "error";
696
- readonly "no-var": "error";
697
- readonly "no-void": readonly ["error", {
698
- readonly allowAsStatement: true;
699
- }];
700
- readonly "no-warning-comments": "off";
701
- readonly "no-with": "error";
702
- readonly "object-shorthand": readonly ["error", "always", {
703
- readonly avoidQuotes: true;
704
- readonly ignoreConstructors: false;
705
- readonly avoidExplicitReturnArrows: false;
706
- }];
707
- readonly "one-var": readonly ["error", {
708
- readonly var: "consecutive";
709
- readonly let: "consecutive";
710
- readonly const: "consecutive";
711
- readonly separateRequires: true;
712
- }];
713
- readonly "operator-assignment": readonly ["error", "always"];
714
- readonly "prefer-arrow-callback": readonly ["error", {
715
- readonly allowNamedFunctions: false;
716
- readonly allowUnboundThis: true;
717
- }];
718
- readonly "prefer-const": readonly ["error", {
719
- readonly destructuring: "all";
720
- readonly ignoreReadBeforeAssign: false;
721
- }];
722
- readonly "prefer-destructuring": readonly ["error", {
723
- readonly VariableDeclarator: {
724
- readonly array: true;
725
- readonly object: true;
726
- };
727
- readonly AssignmentExpression: {
728
- readonly array: false;
729
- readonly object: false;
730
- };
731
- }, {
732
- readonly enforceForRenamedProperties: true;
733
- }];
734
- readonly "prefer-exponentiation-operator": "error";
735
- readonly "prefer-named-capture-group": "off";
736
- readonly "prefer-numeric-literals": "error";
737
- readonly "prefer-object-has-own": "error";
738
- readonly "prefer-object-spread": "error";
739
- readonly "prefer-promise-reject-errors": readonly ["error", {
740
- readonly allowEmptyReject: false;
741
- }];
742
- readonly "prefer-regex-literals": readonly ["error", {
743
- readonly disallowRedundantWrapping: true;
744
- }];
745
- readonly "prefer-rest-params": "error";
746
- readonly "prefer-spread": "error";
747
- readonly "prefer-template": "error";
748
- readonly radix: readonly ["error", "as-needed"];
749
- readonly "require-await": "error";
750
- readonly "require-unicode-regexp": "error";
751
- readonly "require-yield": "error";
752
- readonly "sort-imports": "off";
753
- readonly "sort-keys": "off";
754
- readonly "sort-vars": "off";
755
- readonly strict: "off";
756
- readonly "symbol-description": "off";
757
- readonly "vars-on-top": "error";
758
- readonly yoda: readonly ["error", "never", {
759
- readonly exceptRange: false;
760
- readonly onlyEquality: false;
761
- }];
762
- readonly "unicode-bom": "off";
763
- }]];
764
- export default _default;
765
- //# sourceMappingURL=_js.d.ts.map