@pawover/eslint-rules 0.0.2 → 0.2.0

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