@pawover/kit-eslint-rules 0.0.6-alpha.0 → 0.1.0-alpha.2

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.
Files changed (43) hide show
  1. package/dist/index.d.ts +96 -69
  2. package/dist/index.js +4222 -61
  3. package/package.json +21 -48
  4. package/dist/core.antfu.cjs +0 -78
  5. package/dist/core.antfu.d.cts +0 -1
  6. package/dist/core.antfu.d.ts +0 -74
  7. package/dist/core.antfu.js +0 -79
  8. package/dist/core.imports.cjs +0 -59
  9. package/dist/core.imports.d.cts +0 -1
  10. package/dist/core.imports.d.ts +0 -61
  11. package/dist/core.imports.js +0 -59
  12. package/dist/core.importsSort.cjs +0 -7
  13. package/dist/core.importsSort.d.cts +0 -1
  14. package/dist/core.importsSort.d.ts +0 -7
  15. package/dist/core.importsSort.js +0 -7
  16. package/dist/core.javascript.cjs +0 -1208
  17. package/dist/core.javascript.d.cts +0 -1
  18. package/dist/core.javascript.d.ts +0 -1216
  19. package/dist/core.javascript.js +0 -1208
  20. package/dist/core.react.cjs +0 -551
  21. package/dist/core.react.d.cts +0 -1
  22. package/dist/core.react.d.ts +0 -551
  23. package/dist/core.react.js +0 -551
  24. package/dist/core.reactHooks.cjs +0 -107
  25. package/dist/core.reactHooks.d.cts +0 -1
  26. package/dist/core.reactHooks.d.ts +0 -107
  27. package/dist/core.reactHooks.js +0 -107
  28. package/dist/core.stylistic.cjs +0 -576
  29. package/dist/core.stylistic.d.cts +0 -1
  30. package/dist/core.stylistic.d.ts +0 -571
  31. package/dist/core.stylistic.js +0 -576
  32. package/dist/core.typescript.cjs +0 -905
  33. package/dist/core.typescript.d.cts +0 -1
  34. package/dist/core.typescript.d.ts +0 -917
  35. package/dist/core.typescript.js +0 -906
  36. package/dist/core.vue.cjs +0 -312
  37. package/dist/core.vue.d.cts +0 -1
  38. package/dist/core.vue.d.ts +0 -293
  39. package/dist/core.vue.js +0 -313
  40. package/dist/index.cjs +0 -126
  41. package/dist/index.d.cts +0 -1
  42. package/dist/preset-Cxv7kssz.js +0 -98
  43. package/dist/preset-D2hG0SBb.cjs +0 -103
@@ -1,571 +0,0 @@
1
- //#region src/core.stylistic.d.ts
2
- declare const _default: {
3
- /**
4
- * @desc 统一强制数组/对象/函数参数等列表结构的括号间距与换行风格(取代原分散的 7 条规则)
5
- * @descEN Enforce consistent spacing and line break styles inside brackets (arrays, objects, function arguments)
6
- * @see https://eslint.style/rules/list-style
7
- */
8
- "stylistic/list-style": (number | {
9
- empty: string;
10
- singleLine: {
11
- spacing: string;
12
- maxItems: number;
13
- };
14
- multiLine: {
15
- minItems: number;
16
- };
17
- overrides: {
18
- "{}": {
19
- singleLine: {
20
- spacing: string;
21
- };
22
- };
23
- };
24
- })[];
25
- /**
26
- * @desc 要求箭头函数参数使用圆括号
27
- * @descEN Require parentheses around arrow function arguments
28
- * @see https://eslint.style/rules/arrow-parens
29
- */
30
- "stylistic/arrow-parens": number;
31
- /**
32
- * @desc 强制箭头函数箭头前后间距一致
33
- * @descEN Enforce consistent spacing before and after the arrow in arrow functions
34
- * @see https://eslint.style/rules/arrow-spacing
35
- */
36
- "stylistic/arrow-spacing": number;
37
- /**
38
- * @desc 强制代码块内单行或多行空格风格
39
- * @descEN Disallow or enforce spaces inside of blocks after opening block and before closing block
40
- * @see https://eslint.style/rules/block-spacing
41
- */
42
- "stylistic/block-spacing": number;
43
- /**
44
- * @desc 强制大括号风格一致
45
- * @descEN Enforce consistent brace style for blocks
46
- * @see https://eslint.style/rules/brace-style
47
- */
48
- "stylistic/brace-style": number;
49
- /**
50
- * @desc 要求或禁止尾逗号
51
- * @descEN Require or disallow trailing commas
52
- * @see https://eslint.style/rules/comma-dangle
53
- */
54
- "stylistic/comma-dangle": (string | number)[];
55
- /**
56
- * @desc 强制逗号前后间距一致
57
- * @descEN Enforce consistent spacing before and after commas
58
- * @see https://eslint.style/rules/comma-spacing
59
- */
60
- "stylistic/comma-spacing": number;
61
- /**
62
- * @desc 强制逗号风格(行首/行尾)
63
- * @descEN Enforce consistent comma style
64
- * @see https://eslint.style/rules/comma-style
65
- */
66
- "stylistic/comma-style": number;
67
- /**
68
- * @desc 强制计算属性括号内间距一致
69
- * @descEN Enforce consistent spacing inside computed property brackets
70
- * @see https://eslint.style/rules/computed-property-spacing
71
- */
72
- "stylistic/computed-property-spacing": number;
73
- /**
74
- * @desc 强制花括号前后换行风格
75
- * @descEN Enforce consistent line breaks after opening and before closing braces
76
- * @see https://eslint.style/rules/curly-newline
77
- */
78
- "stylistic/curly-newline": number;
79
- /**
80
- * @desc 强制点操作符前后换行风格
81
- * @descEN Enforce consistent newlines before and after dots
82
- * @see https://eslint.style/rules/dot-location
83
- */
84
- "stylistic/dot-location": number;
85
- /**
86
- * @desc 要求或禁止文件末尾空行
87
- * @descEN Require or disallow newline at the end of files
88
- * @see https://eslint.style/rules/eol-last
89
- */
90
- "stylistic/eol-last": number;
91
- /**
92
- * @desc 要求或禁止函数标识符及其调用间的空格
93
- * @descEN Require or disallow spacing between function identifiers and their invocations
94
- * @see https://eslint.style/rules/function-call-spacing
95
- */
96
- "stylistic/function-call-spacing": number;
97
- /**
98
- * @desc 强制 generator 函数中 * 周边间距一致
99
- * @descEN Enforce consistent spacing around `*` operators in generator functions
100
- * @see https://eslint.style/rules/generator-star-spacing
101
- */
102
- "stylistic/generator-star-spacing": number;
103
- /**
104
- * @desc 强制箭头函数体的换行位置
105
- * @descEN Enforce the location of arrow function bodies
106
- * @see https://eslint.style/rules/implicit-arrow-linebreak
107
- */
108
- "stylistic/implicit-arrow-linebreak": number;
109
- /**
110
- * @desc 强制一致的缩进
111
- * @descEN Enforce consistent indentation
112
- * @see https://eslint.style/rules/indent
113
- */
114
- "stylistic/indent": number[];
115
- /**
116
- * @desc 二元运算符的缩进
117
- * @descEN Indentation for binary operators
118
- * @see https://eslint.style/rules/indent-binary-ops
119
- */
120
- "stylistic/indent-binary-ops": number[];
121
- /**
122
- * @desc 强制或禁止 JSX 属性/表达式花括号内空格
123
- * @descEN Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
124
- * @see https://eslint.style/rules/jsx-child-element-spacing
125
- */
126
- "stylistic/jsx-child-element-spacing": number;
127
- /**
128
- * @desc 强制 JSX 闭合括号位置
129
- * @descEN Enforce closing bracket location in JSX
130
- * @see https://eslint.style/rules/jsx-closing-bracket-location
131
- */
132
- "stylistic/jsx-closing-bracket-location": number;
133
- /**
134
- * @desc 强制多行 JSX 闭合标签位置
135
- * @descEN Enforce closing tag location for multiline JSX
136
- * @see https://eslint.style/rules/jsx-closing-tag-location
137
- */
138
- "stylistic/jsx-closing-tag-location": number;
139
- /**
140
- * @desc 禁止不必要的 JSX 花括号表达式
141
- * @descEN Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes
142
- * @see https://eslint.style/rules/jsx-curly-brace-presence
143
- */
144
- "stylistic/jsx-curly-brace-presence": number;
145
- /**
146
- * @desc 强制 JSX 花括号内换行风格一致
147
- * @descEN Enforce consistent linebreaks in curly braces in JSX attributes and expressions
148
- * @see https://eslint.style/rules/jsx-curly-newline
149
- */
150
- "stylistic/jsx-curly-newline": number;
151
- /**
152
- * @desc 强制或禁止 JSX 花括号内空格
153
- * @descEN Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
154
- * @see https://eslint.style/rules/jsx-curly-spacing
155
- */
156
- "stylistic/jsx-curly-spacing": number;
157
- /**
158
- * @desc 强制或禁止 JSX 等号周围空格
159
- * @descEN Enforce or disallow spaces around equal signs in JSX attributes
160
- * @see https://eslint.style/rules/jsx-equals-spacing
161
- */
162
- "stylistic/jsx-equals-spacing": number;
163
- /**
164
- * @desc 强制 JSX 第一个属性的位置
165
- * @descEN Enforce proper position of the first property in JSX
166
- * @see https://eslint.style/rules/jsx-first-prop-new-line
167
- */
168
- "stylistic/jsx-first-prop-new-line": (string | number)[];
169
- /**
170
- * @desc 强制 JSX 作为函数参数时前后换行
171
- * @descEN Enforce line breaks before and after JSX elements when they are used as arguments to a function
172
- * @see https://eslint.style/rules/jsx-function-call-newline
173
- */
174
- "stylistic/jsx-function-call-newline": number;
175
- /**
176
- * @desc 强制 JSX props 缩进
177
- * @descEN Enforce props indentation in JSX
178
- * @see https://eslint.style/rules/jsx-indent-props
179
- */
180
- "stylistic/jsx-indent-props": number[];
181
- /**
182
- * @desc 强制单行 JSX props 最大数量
183
- * @descEN Enforce maximum of props on a single line in JSX
184
- * @see https://eslint.style/rules/jsx-max-props-per-line
185
- */
186
- "stylistic/jsx-max-props-per-line": number;
187
- /**
188
- * @desc 要求或禁止 JSX 元素后换行
189
- * @descEN Require or prevent a new line after jsx elements and expressions
190
- * @see https://eslint.style/rules/jsx-newline
191
- */
192
- "stylistic/jsx-newline": number;
193
- /**
194
- * @desc 要求每行一个 JSX 表达式
195
- * @descEN Require one JSX element per line
196
- * @see https://eslint.style/rules/jsx-one-expression-per-line
197
- */
198
- "stylistic/jsx-one-expression-per-line": (number | {
199
- allow: string;
200
- })[];
201
- /**
202
- * @desc 强制用户自定义 JSX 组件使用 PascalCase
203
- * @descEN Enforce PascalCase for user-defined JSX components
204
- * @see https://eslint.style/rules/jsx-pascal-case
205
- */
206
- "stylistic/jsx-pascal-case": (number | {
207
- allowNamespace: boolean;
208
- allowAllCaps: boolean;
209
- })[];
210
- /**
211
- * @desc 强制 JSX 属性中一致使用双引号或单引号
212
- * @descEN Enforce the consistent use of either double or single quotes in JSX attributes
213
- * @see https://eslint.style/rules/jsx-quotes
214
- */
215
- "stylistic/jsx-quotes": number;
216
- /**
217
- * @desc 禁止无子组件的额外闭合标签
218
- * @descEN Disallow extra closing tags for components without children
219
- * @see https://eslint.style/rules/jsx-self-closing-comp
220
- */
221
- "stylistic/jsx-self-closing-comp": number;
222
- /**
223
- * @desc 强制 JSX 标签内和标签周围空格
224
- * @descEN Enforce whitespace in and around the JSX opening and closing brackets
225
- * @see https://eslint.style/rules/jsx-tag-spacing
226
- */
227
- "stylistic/jsx-tag-spacing": (number | {
228
- beforeClosing: string;
229
- })[];
230
- /**
231
- * @desc 禁止多行 JSX 缺少括号
232
- * @descEN Disallow missing parentheses around multiline JSX
233
- * @see https://eslint.style/rules/jsx-wrap-multilines
234
- */
235
- "stylistic/jsx-wrap-multilines": (number | {
236
- declaration: string;
237
- assignment: string;
238
- return: string;
239
- arrow: string;
240
- condition: string;
241
- logical: string;
242
- prop: string;
243
- propertyValue: string;
244
- })[];
245
- /**
246
- * @desc 强制对象字面量属性键值间间距
247
- * @descEN Enforce consistent spacing between keys and values in object literal properties
248
- * @see https://eslint.style/rules/key-spacing
249
- */
250
- "stylistic/key-spacing": number;
251
- /**
252
- * @desc 强制关键字前后间距一致
253
- * @descEN Enforce consistent spacing before and after keywords
254
- * @see https://eslint.style/rules/keyword-spacing
255
- */
256
- "stylistic/keyword-spacing": number;
257
- /**
258
- * @desc 强制行注释位置
259
- * @descEN Enforce position of line comments
260
- * @see https://eslint.style/rules/line-comment-position
261
- */
262
- "stylistic/line-comment-position": number;
263
- /**
264
- * @desc 强制一致的换行符风格
265
- * @descEN Enforce consistent linebreak style
266
- * @see https://eslint.style/rules/linebreak-style
267
- */
268
- "stylistic/linebreak-style": number;
269
- /**
270
- * @desc 要求注释周围有空行
271
- * @descEN Require empty lines around comments
272
- * @see https://eslint.style/rules/lines-around-comment
273
- */
274
- "stylistic/lines-around-comment": number;
275
- /**
276
- * @desc 要求或禁止类成员间空行
277
- * @descEN Require or disallow an empty line between class members
278
- * @see https://eslint.style/rules/lines-between-class-members
279
- */
280
- "stylistic/lines-between-class-members": number;
281
- /**
282
- * @desc 强制最大行长度
283
- * @descEN Enforce a maximum line length
284
- * @see https://eslint.style/rules/max-len
285
- */
286
- "stylistic/max-len": number;
287
- /**
288
- * @desc 强制每行最大语句数
289
- * @descEN Enforce a maximum number of statements allowed per line
290
- * @see https://eslint.style/rules/max-statements-per-line
291
- */
292
- "stylistic/max-statements-per-line": number;
293
- /**
294
- * @desc 要求接口和类型字面量使用特定的成员分隔符风格
295
- * @descEN Require a specific member delimiter style for interfaces and type literals
296
- * @see https://eslint.style/rules/member-delimiter-style
297
- */
298
- "stylistic/member-delimiter-style": number;
299
- /**
300
- * @desc 强制多行注释风格
301
- * @descEN Enforce a particular style for multiline comments
302
- * @see https://eslint.style/rules/multiline-comment-style
303
- */
304
- "stylistic/multiline-comment-style": number;
305
- /**
306
- * @desc 强制三元表达式操作数间换行
307
- * @descEN Enforce newlines between operands of ternary expressions
308
- * @see https://eslint.style/rules/multiline-ternary
309
- */
310
- "stylistic/multiline-ternary": (string | number)[];
311
- /**
312
- * @desc 要求或禁止无参构造函数调用时使用括号
313
- * @descEN Enforce or disallow parentheses when invoking a constructor with no arguments
314
- * @see https://eslint.style/rules/new-parens
315
- */
316
- "stylistic/new-parens": number;
317
- /**
318
- * @desc 要求链式调用每行一个
319
- * @descEN Require a newline after each call in a method chain
320
- * @see https://eslint.style/rules/newline-per-chained-call
321
- */
322
- "stylistic/newline-per-chained-call": number;
323
- /**
324
- * @desc 禁止可能与比较混淆的箭头函数
325
- * @descEN Disallow arrow functions where they could be confused with comparisons
326
- * @see https://eslint.style/rules/no-confusing-arrow
327
- */
328
- "stylistic/no-confusing-arrow": number;
329
- /**
330
- * @desc 禁止不必要的括号
331
- * @descEN Disallow unnecessary parentheses
332
- * @see https://eslint.style/rules/no-extra-parens
333
- */
334
- "stylistic/no-extra-parens": number;
335
- /**
336
- * @desc 禁止不必要的分号
337
- * @descEN Disallow unnecessary semicolons
338
- * @see https://eslint.style/rules/no-extra-semi
339
- */
340
- "stylistic/no-extra-semi": number;
341
- /**
342
- * @desc 禁止数字字面量中前导或尾随小数点
343
- * @descEN Disallow leading or trailing decimal points in numeric literals
344
- * @see https://eslint.style/rules/no-floating-decimal
345
- */
346
- "stylistic/no-floating-decimal": number;
347
- /**
348
- * @desc 禁止混用的二元运算符
349
- * @descEN Disallow mixed binary operators
350
- * @see https://eslint.style/rules/no-mixed-operators
351
- */
352
- "stylistic/no-mixed-operators": number;
353
- /**
354
- * @desc 禁止混用空格和制表符
355
- * @descEN Disallow mixed spaces and tabs for indentation
356
- * @see https://eslint.style/rules/no-mixed-spaces-and-tabs
357
- */
358
- "stylistic/no-mixed-spaces-and-tabs": number;
359
- /**
360
- * @desc 禁止多个空格
361
- * @descEN Disallow multiple spaces
362
- * @see https://eslint.style/rules/no-multi-spaces
363
- */
364
- "stylistic/no-multi-spaces": (number | {
365
- exceptions: {
366
- Property: boolean;
367
- ImportAttribute: boolean;
368
- };
369
- })[];
370
- /**
371
- * @desc 禁止多个空行
372
- * @descEN Disallow multiple empty lines
373
- * @see https://eslint.style/rules/no-multiple-empty-lines
374
- */
375
- "stylistic/no-multiple-empty-lines": (number | {
376
- max: number;
377
- maxEOF: number;
378
- maxBOF: number;
379
- })[];
380
- /**
381
- * @desc 禁止使用制表符
382
- * @descEN Disallow all tabs
383
- * @see https://eslint.style/rules/no-tabs
384
- */
385
- "stylistic/no-tabs": number;
386
- /**
387
- * @desc 禁止行尾尾随空格
388
- * @descEN Disallow trailing whitespace at the end of lines
389
- * @see https://eslint.style/rules/no-trailing-spaces
390
- */
391
- "stylistic/no-trailing-spaces": number;
392
- /**
393
- * @desc 禁止属性前有空格
394
- * @descEN Disallow whitespace before properties
395
- * @see https://eslint.style/rules/no-whitespace-before-property
396
- */
397
- "stylistic/no-whitespace-before-property": number;
398
- /**
399
- * @desc 强制单行语句体的位置
400
- * @descEN Enforce the location of single-line statements
401
- * @see https://eslint.style/rules/nonblock-statement-body-position
402
- */
403
- "stylistic/nonblock-statement-body-position": number;
404
- /**
405
- * @desc 强制对象属性分行放置
406
- * @descEN Enforce placing object properties on separate lines
407
- * @see https://eslint.style/rules/object-property-newline
408
- */
409
- "stylistic/object-property-newline": number;
410
- /**
411
- * @desc 要求或禁止变量声明间换行
412
- * @descEN Require or disallow newlines around variable declarations
413
- * @see https://eslint.style/rules/one-var-declaration-per-line
414
- */
415
- "stylistic/one-var-declaration-per-line": number;
416
- /**
417
- * @desc 强制运算符换行风格
418
- * @descEN Enforce consistent linebreak style for operators
419
- * @see https://eslint.style/rules/operator-linebreak
420
- */
421
- "stylistic/operator-linebreak": (string | number)[];
422
- /**
423
- * @desc 要求或禁止代码块内填充空行
424
- * @descEN Require or disallow padding within blocks
425
- * @see https://eslint.style/rules/padded-blocks
426
- */
427
- "stylistic/padded-blocks": number;
428
- /**
429
- * @desc 要求或禁止语句间填充空行
430
- * @descEN Require or disallow padding lines between statements
431
- * @see https://eslint.style/rules/padding-line-between-statements
432
- */
433
- "stylistic/padding-line-between-statements": (number | {
434
- blankLine: string;
435
- prev: string;
436
- next: string;
437
- })[];
438
- /**
439
- * @desc 要求对象字面量属性名使用引号
440
- * @descEN Require quotes around object literal, type literal, interfaces and enums property names
441
- * @see https://eslint.style/rules/quote-props
442
- */
443
- "stylistic/quote-props": (string | number)[];
444
- /**
445
- * @desc 强制一致使用反引号/双引号/单引号
446
- * @descEN Enforce the consistent use of either backticks, double, or single quotes
447
- * @see https://eslint.style/rules/quotes
448
- */
449
- "stylistic/quotes": number;
450
- /**
451
- * @desc 强制剩余/展开运算符与其表达式间距
452
- * @descEN Enforce spacing between rest and spread operators and their expressions
453
- * @see https://eslint.style/rules/rest-spread-spacing
454
- */
455
- "stylistic/rest-spread-spacing": number;
456
- /**
457
- * @desc 要求或禁止分号
458
- * @descEN Require or disallow semicolons instead of ASI
459
- * @see https://eslint.style/rules/semi
460
- */
461
- "stylistic/semi": number;
462
- /**
463
- * @desc 强制分号前后间距一致
464
- * @descEN Enforce consistent spacing before and after semicolons
465
- * @see https://eslint.style/rules/semi-spacing
466
- */
467
- "stylistic/semi-spacing": number;
468
- /**
469
- * @desc 强制分号位置
470
- * @descEN Enforce location of semicolons
471
- * @see https://eslint.style/rules/semi-style
472
- */
473
- "stylistic/semi-style": number;
474
- /**
475
- * @desc 强制代码块前空格一致
476
- * @descEN Enforce consistent spacing before blocks
477
- * @see https://eslint.style/rules/space-before-blocks
478
- */
479
- "stylistic/space-before-blocks": number;
480
- /**
481
- * @desc 强制函数括号前空格一致
482
- * @descEN Enforce consistent spacing before function parenthesis
483
- * @see https://eslint.style/rules/space-before-function-paren
484
- */
485
- "stylistic/space-before-function-paren": (number | {
486
- anonymous: string;
487
- named: string;
488
- asyncArrow: string;
489
- catch: string;
490
- })[];
491
- /**
492
- * @desc 强制括号内间距一致
493
- * @descEN Enforce consistent spacing inside parentheses
494
- * @see https://eslint.style/rules/space-in-parens
495
- */
496
- "stylistic/space-in-parens": number;
497
- /**
498
- * @desc 要求中缀运算符周围空格
499
- * @descEN Require spacing around infix operators
500
- * @see https://eslint.style/rules/space-infix-ops
501
- */
502
- "stylistic/space-infix-ops": number;
503
- /**
504
- * @desc 强制一元运算符前后空格一致
505
- * @descEN Enforce consistent spacing before or after unary operators
506
- * @see https://eslint.style/rules/space-unary-ops
507
- */
508
- "stylistic/space-unary-ops": number;
509
- /**
510
- * @desc 强制注释中 // 或 /* 后空格一致
511
- * @descEN Enforce consistent spacing after the `//` or `/*` in a comment
512
- * @see https://eslint.style/rules/spaced-comment
513
- */
514
- "stylistic/spaced-comment": number;
515
- /**
516
- * @desc 强制 switch 语句冒号周围空格
517
- * @descEN Enforce spacing around colons of switch statements
518
- * @see https://eslint.style/rules/switch-colon-spacing
519
- */
520
- "stylistic/switch-colon-spacing": number;
521
- /**
522
- * @desc 要求或禁止模板字符串中表达式周围空格
523
- * @descEN Require or disallow spacing around embedded expressions of template strings
524
- * @see https://eslint.style/rules/template-curly-spacing
525
- */
526
- "stylistic/template-curly-spacing": number;
527
- /**
528
- * @desc 要求或禁止模板标签与其字面量间空格
529
- * @descEN Require or disallow spacing between template tags and their literals
530
- * @see https://eslint.style/rules/template-tag-spacing
531
- */
532
- "stylistic/template-tag-spacing": number;
533
- /**
534
- * @desc 要求类型注解周围间距一致
535
- * @descEN Require consistent spacing around type annotations
536
- * @see https://eslint.style/rules/type-annotation-spacing
537
- */
538
- "stylistic/type-annotation-spacing": number;
539
- /**
540
- * @desc 强制 TypeScript 泛型内间距一致
541
- * @descEN Enforces consistent spacing inside TypeScript type generics
542
- * @see https://eslint.style/rules/type-generic-spacing
543
- */
544
- "stylistic/type-generic-spacing": number;
545
- /**
546
- * @desc 要求具名元组中类型声明前有空格
547
- * @descEN Expect space before the type declaration in the named tuple
548
- * @see https://eslint.style/rules/type-named-tuple-spacing
549
- */
550
- "stylistic/type-named-tuple-spacing": number;
551
- /**
552
- * @desc 要求立即调用的函数表达式周围有括号
553
- * @descEN Require parentheses around immediate `function` invocations
554
- * @see https://eslint.style/rules/wrap-iife
555
- */
556
- "stylistic/wrap-iife": number;
557
- /**
558
- * @desc 要求正则字面量周围有括号
559
- * @descEN Require parenthesis around regex literals
560
- * @see https://eslint.style/rules/wrap-regex
561
- */
562
- "stylistic/wrap-regex": number;
563
- /**
564
- * @desc 要求或禁止 yield* 中 * 周围空格
565
- * @descEN Require or disallow spacing around the `*` in `yield*` expressions
566
- * @see https://eslint.style/rules/yield-star-spacing
567
- */
568
- "stylistic/yield-star-spacing": number;
569
- };
570
- //#endregion
571
- export { _default as default };