@jpp-toolkit/eslint-config 0.0.11

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.
@@ -0,0 +1,746 @@
1
+ import stylistic from '@stylistic/eslint-plugin';
2
+ import { defineConfig } from 'eslint/config';
3
+
4
+ /**
5
+ * Stylistic configuration.
6
+ * @see {@link https://eslint.style/rules}
7
+ */
8
+ export const stylisticConfig = defineConfig({
9
+ name: 'stylistic-config',
10
+ plugins: { '@stylistic': stylistic },
11
+ rules: {
12
+ /**
13
+ * Enforce linebreaks after opening and before closing array brackets.
14
+ * @fixable
15
+ * @see {@link https://eslint.style/rules/array-bracket-newline}
16
+ */
17
+ // '@stylistic/array-bracket-newline': 'error',
18
+
19
+ /**
20
+ * Enforce consistent spacing inside array brackets.
21
+ * @config recommended
22
+ * @fixable
23
+ * @see {@link https://eslint.style/rules/array-bracket-spacing}
24
+ */
25
+ // '@stylistic/array-bracket-spacing': 'error',
26
+
27
+ /**
28
+ * Enforce line breaks after each array element.
29
+ * @fixable
30
+ * @see {@link https://eslint.style/rules/array-element-newline}
31
+ */
32
+ // '@stylistic/array-element-newline': 'error',
33
+
34
+ /**
35
+ * Require parentheses around arrow function arguments.
36
+ * @config recommended
37
+ * @fixable
38
+ * @see {@link https://eslint.style/rules/arrow-parens}
39
+ */
40
+ // '@stylistic/arrow-parens': 'error',
41
+
42
+ /**
43
+ * Enforce consistent spacing before and after the arrow in arrow functions.
44
+ * @config recommended
45
+ * @fixable
46
+ * @see {@link https://eslint.style/rules/arrow-spacing}
47
+ */
48
+ // '@stylistic/arrow-spacing': 'error',
49
+
50
+ /**
51
+ * Disallow or enforce spaces inside of blocks after opening block and before closing block.
52
+ * @config recommended
53
+ * @fixable
54
+ * @see {@link https://eslint.style/rules/block-spacing}
55
+ */
56
+ // '@stylistic/block-spacing': 'error',
57
+
58
+ /**
59
+ * Enforce consistent brace style for blocks.
60
+ * @config recommended
61
+ * @fixable
62
+ * @see {@link https://eslint.style/rules/brace-style}
63
+ */
64
+ // '@stylistic/brace-style': 'error',
65
+
66
+ /**
67
+ * Require or disallow trailing commas.
68
+ * @config recommended
69
+ * @fixable
70
+ * @see {@link https://eslint.style/rules/comma-dangle}
71
+ */
72
+ // '@stylistic/comma-dangle': 'error',
73
+
74
+ /**
75
+ * Enforce consistent spacing before and after commas.
76
+ * @config recommended
77
+ * @fixable
78
+ * @see {@link https://eslint.style/rules/comma-spacing}
79
+ */
80
+ // '@stylistic/comma-spacing': 'error',
81
+
82
+ /**
83
+ * Enforce consistent comma style.
84
+ * @config recommended
85
+ * @fixable
86
+ * @see {@link https://eslint.style/rules/comma-style}
87
+ */
88
+ // '@stylistic/comma-style': 'error',
89
+
90
+ /**
91
+ * Enforce consistent spacing inside computed property brackets.
92
+ * @config recommended
93
+ * @fixable
94
+ * @see {@link https://eslint.style/rules/computed-property-spacing}
95
+ */
96
+ // '@stylistic/computed-property-spacing': 'error',
97
+
98
+ /**
99
+ * Enforce consistent line breaks after opening and before closing braces.
100
+ * @fixable
101
+ * @see {@link https://eslint.style/rules/curly-newline}
102
+ */
103
+ // '@stylistic/curly-newline': 'error',
104
+
105
+ /**
106
+ * Enforce consistent newlines before and after dots.
107
+ * @config recommended
108
+ * @fixable
109
+ * @see {@link https://eslint.style/rules/dot-location}
110
+ */
111
+ // '@stylistic/dot-location': 'error',
112
+
113
+ /**
114
+ * Require or disallow newline at the end of files.
115
+ * @config recommended
116
+ * @fixable
117
+ * @see {@link https://eslint.style/rules/eol-last}
118
+ */
119
+ // '@stylistic/eol-last': 'error',
120
+
121
+ /**
122
+ * Enforce line breaks between arguments of a function call.
123
+ * @fixable
124
+ * @see {@link https://eslint.style/rules/function-call-argument-newline}
125
+ */
126
+ // '@stylistic/function-call-argument-newline': 'error',
127
+
128
+ /**
129
+ * Require or disallow spacing between function identifiers and their invocations.
130
+ * @fixable
131
+ * @see {@link https://eslint.style/rules/function-call-spacing}
132
+ */
133
+ // '@stylistic/function-call-spacing': 'error',
134
+
135
+ /**
136
+ * Enforce consistent line breaks inside function parentheses.
137
+ * @fixable
138
+ * @see {@link https://eslint.style/rules/function-paren-newline}
139
+ */
140
+ // '@stylistic/function-paren-newline': 'error',
141
+
142
+ /**
143
+ * Enforce consistent spacing around `*` operators in generator functions.
144
+ * @config recommended
145
+ * @fixable
146
+ * @see {@link https://eslint.style/rules/generator-star-spacing}
147
+ */
148
+ // '@stylistic/generator-star-spacing': 'error',
149
+
150
+ /**
151
+ * Enforce the location of arrow function bodies.
152
+ * @fixable
153
+ * @see {@link https://eslint.style/rules/implicit-arrow-linebreak}
154
+ */
155
+ // '@stylistic/implicit-arrow-linebreak': 'error',
156
+
157
+ /**
158
+ * Enforce consistent indentation.
159
+ * @config recommended
160
+ * @fixable
161
+ * @see {@link https://eslint.style/rules/indent}
162
+ */
163
+ // '@stylistic/indent': 'error',
164
+
165
+ /**
166
+ * Indentation for binary operators.
167
+ * @config recommended
168
+ * @fixable
169
+ * @see {@link https://eslint.style/rules/indent-binary-ops}
170
+ */
171
+ // '@stylistic/indent-binary-ops': 'error',
172
+
173
+ /**
174
+ * Enforce or disallow spaces inside of curly braces in JSX attributes and expressions.
175
+ * @see {@link https://eslint.style/rules/jsx-child-element-spacing}
176
+ */
177
+ // '@stylistic/jsx-child-element-spacing': 'error',
178
+
179
+ /**
180
+ * Enforce closing bracket location in JSX.
181
+ * @config recommended
182
+ * @fixable
183
+ * @see {@link https://eslint.style/rules/jsx-closing-bracket-location}
184
+ */
185
+ // '@stylistic/jsx-closing-bracket-location': 'error',
186
+
187
+ /**
188
+ * Enforce closing tag location for multiline JSX.
189
+ * @config recommended
190
+ * @fixable
191
+ * @see {@link https://eslint.style/rules/jsx-closing-tag-location}
192
+ */
193
+ // '@stylistic/jsx-closing-tag-location': 'error',
194
+
195
+ /**
196
+ * Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes.
197
+ * @config recommended
198
+ * @fixable
199
+ * @see {@link https://eslint.style/rules/jsx-curly-brace-presence}
200
+ */
201
+ // '@stylistic/jsx-curly-brace-presence': 'error',
202
+
203
+ /**
204
+ * Enforce consistent linebreaks in curly braces in JSX attributes and expressions.
205
+ * @config recommended
206
+ * @fixable
207
+ * @see {@link https://eslint.style/rules/jsx-curly-newline}
208
+ */
209
+ // '@stylistic/jsx-curly-newline': 'error',
210
+
211
+ /**
212
+ * Enforce or disallow spaces inside of curly braces in JSX attributes and expressions.
213
+ * @config recommended
214
+ * @fixable
215
+ * @see {@link https://eslint.style/rules/jsx-curly-spacing}
216
+ */
217
+ // '@stylistic/jsx-curly-spacing': 'error',
218
+
219
+ /**
220
+ * Enforce or disallow spaces around equal signs in JSX attributes.
221
+ * @config recommended
222
+ * @fixable
223
+ * @see {@link https://eslint.style/rules/jsx-equals-spacing}
224
+ */
225
+ // '@stylistic/jsx-equals-spacing': 'error',
226
+
227
+ /**
228
+ * Enforce proper position of the first property in JSX.
229
+ * @config recommended
230
+ * @fixable
231
+ * @see {@link https://eslint.style/rules/jsx-first-prop-new-line}
232
+ */
233
+ // '@stylistic/jsx-first-prop-new-line': 'error',
234
+
235
+ /**
236
+ * Enforce line breaks before and after JSX elements when they are used as arguments to a function.
237
+ * @config recommended
238
+ * @fixable
239
+ * @see {@link https://eslint.style/rules/jsx-function-call-newline}
240
+ */
241
+ // '@stylistic/jsx-function-call-newline': 'error',
242
+
243
+ /**
244
+ * Enforce JSX indentation. Deprecated, use `indent` rule instead.
245
+ * @fixable
246
+ * @see {@link https://eslint.style/rules/jsx-indent}
247
+ */
248
+ // '@stylistic/jsx-indent': 'error',
249
+
250
+ /**
251
+ * Enforce props indentation in JSX.
252
+ * @config recommended
253
+ * @fixable
254
+ * @see {@link https://eslint.style/rules/jsx-indent-props}
255
+ */
256
+ // '@stylistic/jsx-indent-props': 'error',
257
+
258
+ /**
259
+ * Enforce maximum of props on a single line in JSX.
260
+ * @config recommended
261
+ * @fixable
262
+ * @see {@link https://eslint.style/rules/jsx-max-props-per-line}
263
+ */
264
+ // '@stylistic/jsx-max-props-per-line': 'error',
265
+
266
+ /**
267
+ * Require or prevent a new line after jsx elements and expressions.
268
+ * @fixable
269
+ * @see {@link https://eslint.style/rules/jsx-newline}
270
+ */
271
+ // '@stylistic/jsx-newline': 'error',
272
+
273
+ /**
274
+ * Require one JSX element per line.
275
+ * @config recommended
276
+ * @fixable
277
+ * @see {@link https://eslint.style/rules/jsx-one-expression-per-line}
278
+ */
279
+ // '@stylistic/jsx-one-expression-per-line': 'error',
280
+
281
+ /**
282
+ * Enforce PascalCase for user-defined JSX components.
283
+ * @see {@link https://eslint.style/rules/jsx-pascal-case}
284
+ */
285
+ // '@stylistic/jsx-pascal-case': 'error',
286
+
287
+ /**
288
+ * Disallow multiple spaces between inline JSX props. Deprecated, use `no-multi-spaces` rule instead.
289
+ * @fixable
290
+ * @see {@link https://eslint.style/rules/jsx-props-no-multi-spaces}
291
+ */
292
+ // '@stylistic/jsx-props-no-multi-spaces': 'error',
293
+
294
+ /**
295
+ * Enforce the consistent use of either double or single quotes in JSX attributes.
296
+ * @config recommended
297
+ * @fixable
298
+ * @see {@link https://eslint.style/rules/jsx-quotes}
299
+ */
300
+ // '@stylistic/jsx-quotes': 'error',
301
+
302
+ /**
303
+ * Disallow extra closing tags for components without children.
304
+ * @fixable
305
+ * @see {@link https://eslint.style/rules/jsx-self-closing-comp}
306
+ */
307
+ // '@stylistic/jsx-self-closing-comp': 'error',
308
+
309
+ /**
310
+ * Enforce props alphabetical sorting.
311
+ * @fixable
312
+ * @see {@link https://eslint.style/rules/jsx-sort-props}
313
+ */
314
+ // '@stylistic/jsx-sort-props': 'error',
315
+
316
+ /**
317
+ * Enforce whitespace in and around the JSX opening and closing brackets.
318
+ * @config recommended
319
+ * @fixable
320
+ * @see {@link https://eslint.style/rules/jsx-tag-spacing}
321
+ */
322
+ // '@stylistic/jsx-tag-spacing': 'error',
323
+
324
+ /**
325
+ * Disallow missing parentheses around multiline JSX.
326
+ * @config recommended
327
+ * @fixable
328
+ * @see {@link https://eslint.style/rules/jsx-wrap-multilines}
329
+ */
330
+ // '@stylistic/jsx-wrap-multilines': 'error',
331
+
332
+ /**
333
+ * Enforce consistent spacing between property names and type annotations in types and interfaces.
334
+ * @config recommended
335
+ * @fixable
336
+ * @see {@link https://eslint.style/rules/key-spacing}
337
+ */
338
+ // '@stylistic/key-spacing': 'error',
339
+
340
+ /**
341
+ * Enforce consistent spacing before and after keywords.
342
+ * @config recommended
343
+ * @fixable
344
+ * @see {@link https://eslint.style/rules/keyword-spacing}
345
+ */
346
+ // '@stylistic/keyword-spacing': 'error',
347
+
348
+ /**
349
+ * Enforce position of line comments.
350
+ * @see {@link https://eslint.style/rules/line-comment-position}
351
+ */
352
+ // '@stylistic/line-comment-position': 'error',
353
+
354
+ /**
355
+ * Enforce consistent linebreak style.
356
+ * @fixable
357
+ * @see {@link https://eslint.style/rules/linebreak-style}
358
+ */
359
+ // '@stylistic/linebreak-style': 'error',
360
+
361
+ /**
362
+ * Require empty lines around comments.
363
+ * @fixable
364
+ * @see {@link https://eslint.style/rules/lines-around-comment}
365
+ */
366
+ // '@stylistic/lines-around-comment': 'error',
367
+
368
+ /**
369
+ * Require or disallow an empty line between class members.
370
+ * @config recommended
371
+ * @fixable
372
+ * @see {@link https://eslint.style/rules/lines-between-class-members}
373
+ */
374
+ // '@stylistic/lines-between-class-members': 'error',
375
+
376
+ /**
377
+ * Enforce consistent spacing and line break styles inside brackets.
378
+ * @fixable
379
+ * @experimental
380
+ * @see {@link https://eslint.style/rules/list-style}
381
+ */
382
+ // '@stylistic/list-style': 'error',
383
+
384
+ /**
385
+ * Enforce a maximum line length.
386
+ * @see {@link https://eslint.style/rules/max-len}
387
+ */
388
+ // '@stylistic/max-len': 'error',
389
+
390
+ /**
391
+ * Enforce a maximum number of statements allowed per line.
392
+ * @config recommended
393
+ * @see {@link https://eslint.style/rules/max-statements-per-line}
394
+ */
395
+ // '@stylistic/max-statements-per-line': 'error',
396
+
397
+ /**
398
+ * Require a specific member delimiter style for interfaces and type literals.
399
+ * @config recommended
400
+ * @fixable
401
+ * @see {@link https://eslint.style/rules/member-delimiter-style}
402
+ */
403
+ // '@stylistic/member-delimiter-style': 'error',
404
+
405
+ /**
406
+ * Enforce a particular style for multiline comments.
407
+ * @fixable
408
+ * @see {@link https://eslint.style/rules/multiline-comment-style}
409
+ */
410
+ // '@stylistic/multiline-comment-style': 'error',
411
+
412
+ /**
413
+ * Enforce newlines between operands of ternary expressions.
414
+ * @config recommended
415
+ * @fixable
416
+ * @see {@link https://eslint.style/rules/multiline-ternary}
417
+ */
418
+ // '@stylistic/multiline-ternary': 'error',
419
+
420
+ /**
421
+ * Enforce or disallow parentheses when invoking a constructor with no arguments.
422
+ * @config recommended
423
+ * @fixable
424
+ * @see {@link https://eslint.style/rules/new-parens}
425
+ */
426
+ // '@stylistic/new-parens': 'error',
427
+
428
+ /**
429
+ * Require a newline after each call in a method chain.
430
+ * @fixable
431
+ * @see {@link https://eslint.style/rules/newline-per-chained-call}
432
+ */
433
+ // '@stylistic/newline-per-chained-call': 'error',
434
+
435
+ /**
436
+ * Disallow arrow functions where they could be confused with comparisons.
437
+ * @fixable
438
+ * @see {@link https://eslint.style/rules/no-confusing-arrow}
439
+ */
440
+ // '@stylistic/no-confusing-arrow': 'error',
441
+
442
+ /**
443
+ * Disallow unnecessary parentheses.
444
+ * @config recommended
445
+ * @fixable
446
+ * @see {@link https://eslint.style/rules/no-extra-parens}
447
+ */
448
+ // '@stylistic/no-extra-parens': 'error',
449
+
450
+ /**
451
+ * Disallow unnecessary semicolons.
452
+ * @fixable
453
+ * @see {@link https://eslint.style/rules/no-extra-semi}
454
+ */
455
+ // '@stylistic/no-extra-semi': 'error',
456
+
457
+ /**
458
+ * Disallow leading or trailing decimal points in numeric literals.
459
+ * @config recommended
460
+ * @fixable
461
+ * @see {@link https://eslint.style/rules/no-floating-decimal}
462
+ */
463
+ // '@stylistic/no-floating-decimal': 'error',
464
+
465
+ /**
466
+ * Disallow mixed binary operators.
467
+ * @config recommended
468
+ * @see {@link https://eslint.style/rules/no-mixed-operators}
469
+ */
470
+ // '@stylistic/no-mixed-operators': 'error',
471
+
472
+ /**
473
+ * Disallow mixed spaces and tabs for indentation.
474
+ * @config recommended
475
+ * @see {@link https://eslint.style/rules/no-mixed-spaces-and-tabs}
476
+ */
477
+ // '@stylistic/no-mixed-spaces-and-tabs': 'error',
478
+
479
+ /**
480
+ * Disallow multiple spaces.
481
+ * @config recommended
482
+ * @fixable
483
+ * @see {@link https://eslint.style/rules/no-multi-spaces}
484
+ */
485
+ // '@stylistic/no-multi-spaces': 'error',
486
+
487
+ /**
488
+ * Disallow multiple empty lines.
489
+ * @config recommended
490
+ * @fixable
491
+ * @see {@link https://eslint.style/rules/no-multiple-empty-lines}
492
+ */
493
+ // '@stylistic/no-multiple-empty-lines': 'error',
494
+
495
+ /**
496
+ * Disallow all tabs.
497
+ * @config recommended
498
+ * @see {@link https://eslint.style/rules/no-tabs}
499
+ */
500
+ // '@stylistic/no-tabs': 'error',
501
+
502
+ /**
503
+ * Disallow trailing whitespace at the end of lines.
504
+ * @config recommended
505
+ * @fixable
506
+ * @see {@link https://eslint.style/rules/no-trailing-spaces}
507
+ */
508
+ // '@stylistic/no-trailing-spaces': 'error',
509
+
510
+ /**
511
+ * Disallow whitespace before properties.
512
+ * @config recommended
513
+ * @fixable
514
+ * @see {@link https://eslint.style/rules/no-whitespace-before-property}
515
+ */
516
+ // '@stylistic/no-whitespace-before-property': 'error',
517
+
518
+ /**
519
+ * Enforce the location of single-line statements.
520
+ * @fixable
521
+ * @see {@link https://eslint.style/rules/nonblock-statement-body-position}
522
+ */
523
+ // '@stylistic/nonblock-statement-body-position': 'error',
524
+
525
+ /**
526
+ * Enforce consistent line breaks after opening and before closing braces.
527
+ * @fixable
528
+ * @see {@link https://eslint.style/rules/object-curly-newline}
529
+ */
530
+ // '@stylistic/object-curly-newline': 'error',
531
+
532
+ /**
533
+ * Enforce consistent spacing inside braces.
534
+ * @config recommended
535
+ * @fixable
536
+ * @see {@link https://eslint.style/rules/object-curly-spacing}
537
+ */
538
+ // '@stylistic/object-curly-spacing': 'error',
539
+
540
+ /**
541
+ * Enforce placing object properties on separate lines.
542
+ * @fixable
543
+ * @see {@link https://eslint.style/rules/object-property-newline}
544
+ */
545
+ // '@stylistic/object-property-newline': 'error',
546
+
547
+ /**
548
+ * Require or disallow newlines around variable declarations.
549
+ * @fixable
550
+ * @see {@link https://eslint.style/rules/one-var-declaration-per-line}
551
+ */
552
+ // '@stylistic/one-var-declaration-per-line': 'error',
553
+
554
+ /**
555
+ * Enforce consistent linebreak style for operators.
556
+ * @config recommended
557
+ * @fixable
558
+ * @see {@link https://eslint.style/rules/operator-linebreak}
559
+ */
560
+ // '@stylistic/operator-linebreak': 'error',
561
+
562
+ /**
563
+ * Require or disallow padding within blocks.
564
+ * @config recommended
565
+ * @fixable
566
+ * @see {@link https://eslint.style/rules/padded-blocks}
567
+ */
568
+ // '@stylistic/padded-blocks': 'error',
569
+
570
+ /**
571
+ * Require or disallow padding lines between statements.
572
+ * @fixable
573
+ * @see {@link https://eslint.style/rules/padding-line-between-statements}
574
+ */
575
+ // '@stylistic/padding-line-between-statements': 'error',
576
+
577
+ /**
578
+ * Require quotes around object literal, type literal, interfaces and enums property names.
579
+ * @config recommended
580
+ * @fixable
581
+ * @see {@link https://eslint.style/rules/quote-props}
582
+ */
583
+ // '@stylistic/quote-props': 'error',
584
+
585
+ /**
586
+ * Enforce the consistent use of either backticks, double, or single quotes.
587
+ * @config recommended
588
+ * @fixable
589
+ * @see {@link https://eslint.style/rules/quotes}
590
+ */
591
+ '@stylistic/quotes': [
592
+ 'error',
593
+ 'single',
594
+ { avoidEscape: true, allowTemplateLiterals: false },
595
+ ],
596
+
597
+ /**
598
+ * Enforce spacing between rest and spread operators and their expressions.
599
+ * @config recommended
600
+ * @fixable
601
+ * @see {@link https://eslint.style/rules/rest-spread-spacing}
602
+ */
603
+ // '@stylistic/rest-spread-spacing': 'error',
604
+
605
+ /**
606
+ * Require or disallow semicolons instead of ASI.
607
+ * @config recommended
608
+ * @fixable
609
+ * @see {@link https://eslint.style/rules/semi}
610
+ */
611
+ // '@stylistic/semi': 'error',
612
+
613
+ /**
614
+ * Enforce consistent spacing before and after semicolons.
615
+ * @config recommended
616
+ * @fixable
617
+ * @see {@link https://eslint.style/rules/semi-spacing}
618
+ */
619
+ // '@stylistic/semi-spacing': 'error',
620
+
621
+ /**
622
+ * Enforce location of semicolons.
623
+ * @fixable
624
+ * @see {@link https://eslint.style/rules/semi-style}
625
+ */
626
+ // '@stylistic/semi-style': 'error',
627
+
628
+ /**
629
+ * Enforce consistent spacing before blocks.
630
+ * @config recommended
631
+ * @fixable
632
+ * @see {@link https://eslint.style/rules/space-before-blocks}
633
+ */
634
+ // '@stylistic/space-before-blocks': 'error',
635
+
636
+ /**
637
+ * Enforce consistent spacing before function parenthesis.
638
+ * @config recommended
639
+ * @fixable
640
+ * @see {@link https://eslint.style/rules/space-before-function-paren}
641
+ */
642
+ // '@stylistic/space-before-function-paren': 'error',
643
+
644
+ /**
645
+ * Enforce consistent spacing inside parentheses.
646
+ * @config recommended
647
+ * @fixable
648
+ * @see {@link https://eslint.style/rules/space-in-parens}
649
+ */
650
+ // '@stylistic/space-in-parens': 'error',
651
+
652
+ /**
653
+ * Require spacing around infix operators.
654
+ * @config recommended
655
+ * @fixable
656
+ * @see {@link https://eslint.style/rules/space-infix-ops}
657
+ */
658
+ // '@stylistic/space-infix-ops': 'error',
659
+
660
+ /**
661
+ * Enforce consistent spacing before or after unary operators.
662
+ * @config recommended
663
+ * @fixable
664
+ * @see {@link https://eslint.style/rules/space-unary-ops}
665
+ */
666
+ // '@stylistic/space-unary-ops': 'error',
667
+
668
+ /**
669
+ * Enforce consistent spacing after the `//` or `/*` in a comment.
670
+ * @config recommended
671
+ * @fixable
672
+ * @see {@link https://eslint.style/rules/spaced-comment}
673
+ */
674
+ // '@stylistic/spaced-comment': 'error',
675
+
676
+ /**
677
+ * Enforce spacing around colons of switch statements.
678
+ * @fixable
679
+ * @see {@link https://eslint.style/rules/switch-colon-spacing}
680
+ */
681
+ // '@stylistic/switch-colon-spacing': 'error',
682
+
683
+ /**
684
+ * Require or disallow spacing around embedded expressions of template strings.
685
+ * @config recommended
686
+ * @fixable
687
+ * @see {@link https://eslint.style/rules/template-curly-spacing}
688
+ */
689
+ // '@stylistic/template-curly-spacing': 'error',
690
+
691
+ /**
692
+ * Require or disallow spacing between template tags and their literals.
693
+ * @config recommended
694
+ * @fixable
695
+ * @see {@link https://eslint.style/rules/template-tag-spacing}
696
+ */
697
+ // '@stylistic/template-tag-spacing': 'error',
698
+
699
+ /**
700
+ * Require consistent spacing around type annotations.
701
+ * @config recommended
702
+ * @fixable
703
+ * @see {@link https://eslint.style/rules/type-annotation-spacing}
704
+ */
705
+ // '@stylistic/type-annotation-spacing': 'error',
706
+
707
+ /**
708
+ * Enforces consistent spacing inside TypeScript type generics.
709
+ * @config recommended
710
+ * @fixable
711
+ * @see {@link https://eslint.style/rules/type-generic-spacing}
712
+ */
713
+ // '@stylistic/type-generic-spacing': 'error',
714
+
715
+ /**
716
+ * Expect space before the type declaration in the named tuple.
717
+ * @config recommended
718
+ * @fixable
719
+ * @see {@link https://eslint.style/rules/type-named-tuple-spacing}
720
+ */
721
+ // '@stylistic/type-named-tuple-spacing': 'error',
722
+
723
+ /**
724
+ * Require parentheses around immediate `function` invocations.
725
+ * @config recommended
726
+ * @fixable
727
+ * @see {@link https://eslint.style/rules/wrap-iife}
728
+ */
729
+ // '@stylistic/wrap-iife': 'error',
730
+
731
+ /**
732
+ * Require parenthesis around regex literals.
733
+ * @fixable
734
+ * @see {@link https://eslint.style/rules/wrap-regex}
735
+ */
736
+ // '@stylistic/wrap-regex': 'error',
737
+
738
+ /**
739
+ * Require or disallow spacing around the `*` in `yield*` expressions.
740
+ * @config recommended
741
+ * @fixable
742
+ * @see {@link https://eslint.style/rules/yield-star-spacing}
743
+ */
744
+ // '@stylistic/yield-star-spacing': 'error',
745
+ },
746
+ });