eslint-config-typed 4.0.5 → 4.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/rules/eslint-cypress-rules.d.mts +2 -2
- package/dist/types/rules/eslint-import-rules.d.mts +214 -168
- package/dist/types/rules/eslint-import-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-jest-rules.d.mts +47 -45
- package/dist/types/rules/eslint-jest-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-playwright-rules.d.mts +41 -34
- package/dist/types/rules/eslint-playwright-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-prefer-arrow-functions-rules.d.mts +6 -2
- package/dist/types/rules/eslint-prefer-arrow-functions-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-react-rules.d.mts +208 -185
- package/dist/types/rules/eslint-react-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-rules.d.mts +1244 -1073
- package/dist/types/rules/eslint-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-stylistic-rules.d.mts +707 -619
- package/dist/types/rules/eslint-stylistic-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-ts-restrictions-rules.d.mts +94 -76
- package/dist/types/rules/eslint-ts-restrictions-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-unicorn-rules.d.mts +145 -121
- package/dist/types/rules/eslint-unicorn-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-vitest-rules.d.mts +43 -42
- package/dist/types/rules/eslint-vitest-rules.d.mts.map +1 -1
- package/dist/types/rules/typescript-eslint-rules.d.mts +1973 -1763
- package/dist/types/rules/typescript-eslint-rules.d.mts.map +1 -1
- package/package.json +57 -57
- package/src/plugins/vitest-coding-style/rules/original-assert-api-type.test.mts +147 -143
- package/src/types/rules/eslint-cypress-rules.mts +2 -2
- package/src/types/rules/eslint-import-rules.mts +214 -168
- package/src/types/rules/eslint-jest-rules.mts +47 -45
- package/src/types/rules/eslint-playwright-rules.mts +41 -34
- package/src/types/rules/eslint-prefer-arrow-functions-rules.mts +6 -2
- package/src/types/rules/eslint-react-rules.mts +208 -185
- package/src/types/rules/eslint-rules.mts +1229 -1058
- package/src/types/rules/eslint-stylistic-rules.mts +707 -619
- package/src/types/rules/eslint-ts-restrictions-rules.mts +94 -76
- package/src/types/rules/eslint-unicorn-rules.mts +145 -121
- package/src/types/rules/eslint-vitest-rules.mts +43 -42
- package/src/types/rules/typescript-eslint-rules.mts +1973 -1763
|
@@ -147,57 +147,66 @@ namespace ArrayElementNewline {
|
|
|
147
147
|
* ### schema
|
|
148
148
|
*
|
|
149
149
|
* ```json
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
* "
|
|
153
|
-
* "
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
* "type": "boolean"
|
|
163
|
-
* },
|
|
164
|
-
* "multiline": {
|
|
165
|
-
* "type": "boolean"
|
|
166
|
-
* },
|
|
167
|
-
* "minItems": {
|
|
168
|
-
* "type": ["integer", "null"],
|
|
169
|
-
* "minimum": 0
|
|
170
|
-
* }
|
|
150
|
+
* [
|
|
151
|
+
* {
|
|
152
|
+
* "definitions": {
|
|
153
|
+
* "basicConfig": {
|
|
154
|
+
* "oneOf": [
|
|
155
|
+
* {
|
|
156
|
+
* "type": "string",
|
|
157
|
+
* "enum": [
|
|
158
|
+
* "always",
|
|
159
|
+
* "never",
|
|
160
|
+
* "consistent"
|
|
161
|
+
* ]
|
|
171
162
|
* },
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
*
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
187
|
-
*
|
|
188
|
-
* "$ref": "#/definitions/basicConfig"
|
|
163
|
+
* {
|
|
164
|
+
* "type": "object",
|
|
165
|
+
* "properties": {
|
|
166
|
+
* "consistent": {
|
|
167
|
+
* "type": "boolean"
|
|
168
|
+
* },
|
|
169
|
+
* "multiline": {
|
|
170
|
+
* "type": "boolean"
|
|
171
|
+
* },
|
|
172
|
+
* "minItems": {
|
|
173
|
+
* "type": [
|
|
174
|
+
* "integer",
|
|
175
|
+
* "null"
|
|
176
|
+
* ],
|
|
177
|
+
* "minimum": 0
|
|
178
|
+
* }
|
|
189
179
|
* },
|
|
190
|
-
* "
|
|
191
|
-
*
|
|
192
|
-
*
|
|
180
|
+
* "additionalProperties": false
|
|
181
|
+
* }
|
|
182
|
+
* ]
|
|
183
|
+
* }
|
|
184
|
+
* },
|
|
185
|
+
* "type": "array",
|
|
186
|
+
* "items": [
|
|
187
|
+
* {
|
|
188
|
+
* "oneOf": [
|
|
189
|
+
* {
|
|
190
|
+
* "$ref": "#/definitions/basicConfig"
|
|
193
191
|
* },
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
*
|
|
192
|
+
* {
|
|
193
|
+
* "type": "object",
|
|
194
|
+
* "properties": {
|
|
195
|
+
* "ArrayExpression": {
|
|
196
|
+
* "$ref": "#/definitions/basicConfig"
|
|
197
|
+
* },
|
|
198
|
+
* "ArrayPattern": {
|
|
199
|
+
* "$ref": "#/definitions/basicConfig"
|
|
200
|
+
* }
|
|
201
|
+
* },
|
|
202
|
+
* "additionalProperties": false,
|
|
203
|
+
* "minProperties": 1
|
|
204
|
+
* }
|
|
205
|
+
* ]
|
|
206
|
+
* }
|
|
207
|
+
* ]
|
|
208
|
+
* }
|
|
209
|
+
* ]
|
|
201
210
|
* ```
|
|
202
211
|
*/
|
|
203
212
|
export type Options =
|
|
@@ -436,71 +445,78 @@ namespace CommaDangle {
|
|
|
436
445
|
* ### schema
|
|
437
446
|
*
|
|
438
447
|
* ```json
|
|
439
|
-
*
|
|
440
|
-
*
|
|
441
|
-
* "
|
|
442
|
-
* "
|
|
443
|
-
*
|
|
448
|
+
* [
|
|
449
|
+
* {
|
|
450
|
+
* "$defs": {
|
|
451
|
+
* "value": {
|
|
452
|
+
* "type": "string",
|
|
453
|
+
* "enum": [
|
|
454
|
+
* "always-multiline",
|
|
455
|
+
* "always",
|
|
456
|
+
* "never",
|
|
457
|
+
* "only-multiline"
|
|
458
|
+
* ]
|
|
459
|
+
* },
|
|
460
|
+
* "valueWithIgnore": {
|
|
461
|
+
* "type": "string",
|
|
462
|
+
* "enum": [
|
|
463
|
+
* "always-multiline",
|
|
464
|
+
* "always",
|
|
465
|
+
* "never",
|
|
466
|
+
* "only-multiline",
|
|
467
|
+
* "ignore"
|
|
468
|
+
* ]
|
|
469
|
+
* }
|
|
444
470
|
* },
|
|
445
|
-
* "
|
|
446
|
-
*
|
|
447
|
-
*
|
|
448
|
-
* "
|
|
449
|
-
*
|
|
450
|
-
*
|
|
451
|
-
* "only-multiline",
|
|
452
|
-
* "ignore"
|
|
453
|
-
* ]
|
|
454
|
-
* }
|
|
455
|
-
* },
|
|
456
|
-
* "type": "array",
|
|
457
|
-
* "items": [
|
|
458
|
-
* {
|
|
459
|
-
* "oneOf": [
|
|
460
|
-
* {
|
|
461
|
-
* "$ref": "#/$defs/value"
|
|
462
|
-
* },
|
|
463
|
-
* {
|
|
464
|
-
* "type": "object",
|
|
465
|
-
* "properties": {
|
|
466
|
-
* "arrays": {
|
|
467
|
-
* "$ref": "#/$defs/valueWithIgnore"
|
|
468
|
-
* },
|
|
469
|
-
* "objects": {
|
|
470
|
-
* "$ref": "#/$defs/valueWithIgnore"
|
|
471
|
-
* },
|
|
472
|
-
* "imports": {
|
|
473
|
-
* "$ref": "#/$defs/valueWithIgnore"
|
|
474
|
-
* },
|
|
475
|
-
* "exports": {
|
|
476
|
-
* "$ref": "#/$defs/valueWithIgnore"
|
|
477
|
-
* },
|
|
478
|
-
* "functions": {
|
|
479
|
-
* "$ref": "#/$defs/valueWithIgnore"
|
|
480
|
-
* },
|
|
481
|
-
* "importAttributes": {
|
|
482
|
-
* "$ref": "#/$defs/valueWithIgnore"
|
|
483
|
-
* },
|
|
484
|
-
* "dynamicImports": {
|
|
485
|
-
* "$ref": "#/$defs/valueWithIgnore"
|
|
486
|
-
* },
|
|
487
|
-
* "enums": {
|
|
488
|
-
* "$ref": "#/$defs/valueWithIgnore"
|
|
489
|
-
* },
|
|
490
|
-
* "generics": {
|
|
491
|
-
* "$ref": "#/$defs/valueWithIgnore"
|
|
492
|
-
* },
|
|
493
|
-
* "tuples": {
|
|
494
|
-
* "$ref": "#/$defs/valueWithIgnore"
|
|
495
|
-
* }
|
|
471
|
+
* "type": "array",
|
|
472
|
+
* "items": [
|
|
473
|
+
* {
|
|
474
|
+
* "oneOf": [
|
|
475
|
+
* {
|
|
476
|
+
* "$ref": "#/$defs/value"
|
|
496
477
|
* },
|
|
497
|
-
*
|
|
498
|
-
*
|
|
499
|
-
*
|
|
500
|
-
*
|
|
501
|
-
*
|
|
502
|
-
*
|
|
503
|
-
*
|
|
478
|
+
* {
|
|
479
|
+
* "type": "object",
|
|
480
|
+
* "properties": {
|
|
481
|
+
* "arrays": {
|
|
482
|
+
* "$ref": "#/$defs/valueWithIgnore"
|
|
483
|
+
* },
|
|
484
|
+
* "objects": {
|
|
485
|
+
* "$ref": "#/$defs/valueWithIgnore"
|
|
486
|
+
* },
|
|
487
|
+
* "imports": {
|
|
488
|
+
* "$ref": "#/$defs/valueWithIgnore"
|
|
489
|
+
* },
|
|
490
|
+
* "exports": {
|
|
491
|
+
* "$ref": "#/$defs/valueWithIgnore"
|
|
492
|
+
* },
|
|
493
|
+
* "functions": {
|
|
494
|
+
* "$ref": "#/$defs/valueWithIgnore"
|
|
495
|
+
* },
|
|
496
|
+
* "importAttributes": {
|
|
497
|
+
* "$ref": "#/$defs/valueWithIgnore"
|
|
498
|
+
* },
|
|
499
|
+
* "dynamicImports": {
|
|
500
|
+
* "$ref": "#/$defs/valueWithIgnore"
|
|
501
|
+
* },
|
|
502
|
+
* "enums": {
|
|
503
|
+
* "$ref": "#/$defs/valueWithIgnore"
|
|
504
|
+
* },
|
|
505
|
+
* "generics": {
|
|
506
|
+
* "$ref": "#/$defs/valueWithIgnore"
|
|
507
|
+
* },
|
|
508
|
+
* "tuples": {
|
|
509
|
+
* "$ref": "#/$defs/valueWithIgnore"
|
|
510
|
+
* }
|
|
511
|
+
* },
|
|
512
|
+
* "additionalProperties": false
|
|
513
|
+
* }
|
|
514
|
+
* ]
|
|
515
|
+
* }
|
|
516
|
+
* ],
|
|
517
|
+
* "additionalItems": false
|
|
518
|
+
* }
|
|
519
|
+
* ]
|
|
504
520
|
* ```
|
|
505
521
|
*/
|
|
506
522
|
export type Options =
|
|
@@ -1606,53 +1622,59 @@ namespace FunctionCallSpacing {
|
|
|
1606
1622
|
* ### schema
|
|
1607
1623
|
*
|
|
1608
1624
|
* ```json
|
|
1609
|
-
*
|
|
1610
|
-
*
|
|
1611
|
-
*
|
|
1612
|
-
*
|
|
1613
|
-
*
|
|
1614
|
-
*
|
|
1615
|
-
*
|
|
1616
|
-
*
|
|
1617
|
-
*
|
|
1618
|
-
*
|
|
1619
|
-
*
|
|
1620
|
-
*
|
|
1621
|
-
*
|
|
1622
|
-
*
|
|
1623
|
-
*
|
|
1624
|
-
*
|
|
1625
|
-
*
|
|
1626
|
-
*
|
|
1627
|
-
*
|
|
1628
|
-
*
|
|
1629
|
-
*
|
|
1630
|
-
*
|
|
1631
|
-
*
|
|
1632
|
-
*
|
|
1633
|
-
* "type": "boolean"
|
|
1634
|
-
* },
|
|
1635
|
-
* "optionalChain": {
|
|
1636
|
-
* "type": "object",
|
|
1637
|
-
* "properties": {
|
|
1638
|
-
* "before": {
|
|
1639
|
-
* "type": "boolean"
|
|
1640
|
-
* },
|
|
1641
|
-
* "after": {
|
|
1642
|
-
* "type": "boolean"
|
|
1643
|
-
* }
|
|
1644
|
-
* },
|
|
1645
|
-
* "additionalProperties": false
|
|
1646
|
-
* }
|
|
1625
|
+
* [
|
|
1626
|
+
* {
|
|
1627
|
+
* "anyOf": [
|
|
1628
|
+
* {
|
|
1629
|
+
* "type": "array",
|
|
1630
|
+
* "items": [
|
|
1631
|
+
* {
|
|
1632
|
+
* "type": "string",
|
|
1633
|
+
* "enum": [
|
|
1634
|
+
* "never"
|
|
1635
|
+
* ]
|
|
1636
|
+
* }
|
|
1637
|
+
* ],
|
|
1638
|
+
* "minItems": 0,
|
|
1639
|
+
* "maxItems": 1
|
|
1640
|
+
* },
|
|
1641
|
+
* {
|
|
1642
|
+
* "type": "array",
|
|
1643
|
+
* "items": [
|
|
1644
|
+
* {
|
|
1645
|
+
* "type": "string",
|
|
1646
|
+
* "enum": [
|
|
1647
|
+
* "always"
|
|
1648
|
+
* ]
|
|
1647
1649
|
* },
|
|
1648
|
-
*
|
|
1649
|
-
*
|
|
1650
|
-
*
|
|
1651
|
-
*
|
|
1652
|
-
*
|
|
1653
|
-
*
|
|
1654
|
-
*
|
|
1655
|
-
*
|
|
1650
|
+
* {
|
|
1651
|
+
* "type": "object",
|
|
1652
|
+
* "properties": {
|
|
1653
|
+
* "allowNewlines": {
|
|
1654
|
+
* "type": "boolean"
|
|
1655
|
+
* },
|
|
1656
|
+
* "optionalChain": {
|
|
1657
|
+
* "type": "object",
|
|
1658
|
+
* "properties": {
|
|
1659
|
+
* "before": {
|
|
1660
|
+
* "type": "boolean"
|
|
1661
|
+
* },
|
|
1662
|
+
* "after": {
|
|
1663
|
+
* "type": "boolean"
|
|
1664
|
+
* }
|
|
1665
|
+
* },
|
|
1666
|
+
* "additionalProperties": false
|
|
1667
|
+
* }
|
|
1668
|
+
* },
|
|
1669
|
+
* "additionalProperties": false
|
|
1670
|
+
* }
|
|
1671
|
+
* ],
|
|
1672
|
+
* "minItems": 0,
|
|
1673
|
+
* "maxItems": 2
|
|
1674
|
+
* }
|
|
1675
|
+
* ]
|
|
1676
|
+
* }
|
|
1677
|
+
* ]
|
|
1656
1678
|
* ```
|
|
1657
1679
|
*/
|
|
1658
1680
|
export type Options =
|
|
@@ -2771,121 +2793,147 @@ namespace JsxCurlySpacing {
|
|
|
2771
2793
|
* ### schema
|
|
2772
2794
|
*
|
|
2773
2795
|
* ```json
|
|
2774
|
-
*
|
|
2775
|
-
*
|
|
2776
|
-
*
|
|
2777
|
-
*
|
|
2778
|
-
*
|
|
2779
|
-
*
|
|
2780
|
-
*
|
|
2781
|
-
*
|
|
2782
|
-
*
|
|
2783
|
-
* "
|
|
2784
|
-
* "
|
|
2785
|
-
*
|
|
2786
|
-
*
|
|
2787
|
-
*
|
|
2788
|
-
*
|
|
2789
|
-
*
|
|
2790
|
-
* "spacing": {
|
|
2791
|
-
* "type": "object",
|
|
2792
|
-
* "properties": {
|
|
2793
|
-
* "objectLiterals": {
|
|
2794
|
-
* "type": "string",
|
|
2795
|
-
* "enum": ["always", "never"]
|
|
2796
|
-
* }
|
|
2796
|
+
* [
|
|
2797
|
+
* {
|
|
2798
|
+
* "type": "array",
|
|
2799
|
+
* "items": [
|
|
2800
|
+
* {
|
|
2801
|
+
* "anyOf": [
|
|
2802
|
+
* {
|
|
2803
|
+
* "type": "object",
|
|
2804
|
+
* "additionalProperties": false,
|
|
2805
|
+
* "properties": {
|
|
2806
|
+
* "when": {
|
|
2807
|
+
* "type": "string",
|
|
2808
|
+
* "enum": [
|
|
2809
|
+
* "always",
|
|
2810
|
+
* "never"
|
|
2811
|
+
* ]
|
|
2797
2812
|
* },
|
|
2798
|
-
* "
|
|
2799
|
-
*
|
|
2800
|
-
*
|
|
2801
|
-
* "
|
|
2802
|
-
*
|
|
2803
|
-
*
|
|
2804
|
-
* "
|
|
2805
|
-
* "
|
|
2806
|
-
*
|
|
2807
|
-
* "
|
|
2808
|
-
*
|
|
2809
|
-
*
|
|
2810
|
-
*
|
|
2811
|
-
* },
|
|
2812
|
-
* "spacing": {
|
|
2813
|
-
* "type": "object",
|
|
2814
|
-
* "properties": {
|
|
2815
|
-
* "objectLiterals": {
|
|
2816
|
-
* "type": "string",
|
|
2817
|
-
* "enum": ["always", "never"]
|
|
2818
|
-
* }
|
|
2819
|
-
* },
|
|
2820
|
-
* "additionalProperties": false
|
|
2821
|
-
* }
|
|
2822
|
-
* },
|
|
2823
|
-
* "additionalProperties": false
|
|
2813
|
+
* "allowMultiline": {
|
|
2814
|
+
* "type": "boolean"
|
|
2815
|
+
* },
|
|
2816
|
+
* "spacing": {
|
|
2817
|
+
* "type": "object",
|
|
2818
|
+
* "properties": {
|
|
2819
|
+
* "objectLiterals": {
|
|
2820
|
+
* "type": "string",
|
|
2821
|
+
* "enum": [
|
|
2822
|
+
* "always",
|
|
2823
|
+
* "never"
|
|
2824
|
+
* ]
|
|
2825
|
+
* }
|
|
2824
2826
|
* },
|
|
2825
|
-
*
|
|
2826
|
-
*
|
|
2827
|
-
*
|
|
2828
|
-
*
|
|
2829
|
-
*
|
|
2830
|
-
*
|
|
2831
|
-
*
|
|
2832
|
-
*
|
|
2833
|
-
*
|
|
2834
|
-
*
|
|
2835
|
-
*
|
|
2836
|
-
*
|
|
2837
|
-
*
|
|
2838
|
-
*
|
|
2839
|
-
*
|
|
2840
|
-
*
|
|
2827
|
+
* "additionalProperties": false
|
|
2828
|
+
* },
|
|
2829
|
+
* "attributes": {
|
|
2830
|
+
* "anyOf": [
|
|
2831
|
+
* {
|
|
2832
|
+
* "type": "object",
|
|
2833
|
+
* "properties": {
|
|
2834
|
+
* "when": {
|
|
2835
|
+
* "type": "string",
|
|
2836
|
+
* "enum": [
|
|
2837
|
+
* "always",
|
|
2838
|
+
* "never"
|
|
2839
|
+
* ]
|
|
2840
|
+
* },
|
|
2841
|
+
* "allowMultiline": {
|
|
2842
|
+
* "type": "boolean"
|
|
2843
|
+
* },
|
|
2844
|
+
* "spacing": {
|
|
2845
|
+
* "type": "object",
|
|
2846
|
+
* "properties": {
|
|
2847
|
+
* "objectLiterals": {
|
|
2848
|
+
* "type": "string",
|
|
2849
|
+
* "enum": [
|
|
2850
|
+
* "always",
|
|
2851
|
+
* "never"
|
|
2852
|
+
* ]
|
|
2853
|
+
* }
|
|
2854
|
+
* },
|
|
2855
|
+
* "additionalProperties": false
|
|
2856
|
+
* }
|
|
2841
2857
|
* },
|
|
2842
|
-
* "
|
|
2843
|
-
*
|
|
2844
|
-
*
|
|
2845
|
-
*
|
|
2846
|
-
*
|
|
2847
|
-
*
|
|
2848
|
-
*
|
|
2858
|
+
* "additionalProperties": false
|
|
2859
|
+
* },
|
|
2860
|
+
* {
|
|
2861
|
+
* "type": "boolean"
|
|
2862
|
+
* }
|
|
2863
|
+
* ]
|
|
2864
|
+
* },
|
|
2865
|
+
* "children": {
|
|
2866
|
+
* "anyOf": [
|
|
2867
|
+
* {
|
|
2868
|
+
* "type": "object",
|
|
2869
|
+
* "properties": {
|
|
2870
|
+
* "when": {
|
|
2871
|
+
* "type": "string",
|
|
2872
|
+
* "enum": [
|
|
2873
|
+
* "always",
|
|
2874
|
+
* "never"
|
|
2875
|
+
* ]
|
|
2876
|
+
* },
|
|
2877
|
+
* "allowMultiline": {
|
|
2878
|
+
* "type": "boolean"
|
|
2849
2879
|
* },
|
|
2850
|
-
* "
|
|
2851
|
-
*
|
|
2880
|
+
* "spacing": {
|
|
2881
|
+
* "type": "object",
|
|
2882
|
+
* "properties": {
|
|
2883
|
+
* "objectLiterals": {
|
|
2884
|
+
* "type": "string",
|
|
2885
|
+
* "enum": [
|
|
2886
|
+
* "always",
|
|
2887
|
+
* "never"
|
|
2888
|
+
* ]
|
|
2889
|
+
* }
|
|
2890
|
+
* },
|
|
2891
|
+
* "additionalProperties": false
|
|
2892
|
+
* }
|
|
2893
|
+
* },
|
|
2894
|
+
* "additionalProperties": false
|
|
2852
2895
|
* },
|
|
2853
|
-
*
|
|
2854
|
-
*
|
|
2855
|
-
*
|
|
2856
|
-
*
|
|
2857
|
-
*
|
|
2858
|
-
* ]
|
|
2896
|
+
* {
|
|
2897
|
+
* "type": "boolean"
|
|
2898
|
+
* }
|
|
2899
|
+
* ]
|
|
2900
|
+
* }
|
|
2859
2901
|
* }
|
|
2902
|
+
* },
|
|
2903
|
+
* {
|
|
2904
|
+
* "type": "string",
|
|
2905
|
+
* "enum": [
|
|
2906
|
+
* "always",
|
|
2907
|
+
* "never"
|
|
2908
|
+
* ]
|
|
2860
2909
|
* }
|
|
2861
|
-
*
|
|
2862
|
-
* {
|
|
2863
|
-
* "type": "string",
|
|
2864
|
-
* "enum": ["always", "never"]
|
|
2865
|
-
* }
|
|
2866
|
-
* ]
|
|
2867
|
-
* },
|
|
2868
|
-
* {
|
|
2869
|
-
* "type": "object",
|
|
2870
|
-
* "properties": {
|
|
2871
|
-
* "allowMultiline": {
|
|
2872
|
-
* "type": "boolean"
|
|
2873
|
-
* },
|
|
2874
|
-
* "spacing": {
|
|
2875
|
-
* "type": "object",
|
|
2876
|
-
* "properties": {
|
|
2877
|
-
* "objectLiterals": {
|
|
2878
|
-
* "type": "string",
|
|
2879
|
-
* "enum": ["always", "never"]
|
|
2880
|
-
* }
|
|
2881
|
-
* },
|
|
2882
|
-
* "additionalProperties": false
|
|
2883
|
-
* }
|
|
2910
|
+
* ]
|
|
2884
2911
|
* },
|
|
2885
|
-
*
|
|
2886
|
-
*
|
|
2887
|
-
*
|
|
2888
|
-
*
|
|
2912
|
+
* {
|
|
2913
|
+
* "type": "object",
|
|
2914
|
+
* "properties": {
|
|
2915
|
+
* "allowMultiline": {
|
|
2916
|
+
* "type": "boolean"
|
|
2917
|
+
* },
|
|
2918
|
+
* "spacing": {
|
|
2919
|
+
* "type": "object",
|
|
2920
|
+
* "properties": {
|
|
2921
|
+
* "objectLiterals": {
|
|
2922
|
+
* "type": "string",
|
|
2923
|
+
* "enum": [
|
|
2924
|
+
* "always",
|
|
2925
|
+
* "never"
|
|
2926
|
+
* ]
|
|
2927
|
+
* }
|
|
2928
|
+
* },
|
|
2929
|
+
* "additionalProperties": false
|
|
2930
|
+
* }
|
|
2931
|
+
* },
|
|
2932
|
+
* "additionalProperties": false
|
|
2933
|
+
* }
|
|
2934
|
+
* ]
|
|
2935
|
+
* }
|
|
2936
|
+
* ]
|
|
2889
2937
|
* ```
|
|
2890
2938
|
*/
|
|
2891
2939
|
export type Options =
|
|
@@ -5877,10 +5925,10 @@ namespace ExpListStyle {
|
|
|
5877
5925
|
* "additionalProperties": false,
|
|
5878
5926
|
* "properties": {
|
|
5879
5927
|
* "singleLine": {
|
|
5880
|
-
* "$ref": "
|
|
5928
|
+
* "$ref": "#/$defs/singleLineConfig"
|
|
5881
5929
|
* },
|
|
5882
5930
|
* "multiline": {
|
|
5883
|
-
* "$ref": "
|
|
5931
|
+
* "$ref": "#/$defs/multiLineConfig"
|
|
5884
5932
|
* }
|
|
5885
5933
|
* }
|
|
5886
5934
|
* }
|
|
@@ -5889,92 +5937,92 @@ namespace ExpListStyle {
|
|
|
5889
5937
|
* "additionalProperties": false,
|
|
5890
5938
|
* "properties": {
|
|
5891
5939
|
* "singleLine": {
|
|
5892
|
-
* "$ref": "
|
|
5940
|
+
* "$ref": "#/$defs/singleLineConfig"
|
|
5893
5941
|
* },
|
|
5894
5942
|
* "multiLine": {
|
|
5895
|
-
* "$ref": "
|
|
5943
|
+
* "$ref": "#/$defs/multiLineConfig"
|
|
5896
5944
|
* },
|
|
5897
5945
|
* "overrides": {
|
|
5898
5946
|
* "type": "object",
|
|
5899
5947
|
* "additionalProperties": false,
|
|
5900
5948
|
* "properties": {
|
|
5901
5949
|
* "[]": {
|
|
5902
|
-
* "$ref": "
|
|
5950
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5903
5951
|
* },
|
|
5904
5952
|
* "{}": {
|
|
5905
|
-
* "$ref": "
|
|
5953
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5906
5954
|
* },
|
|
5907
5955
|
* "<>": {
|
|
5908
|
-
* "$ref": "
|
|
5956
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5909
5957
|
* },
|
|
5910
5958
|
* "()": {
|
|
5911
|
-
* "$ref": "
|
|
5959
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5912
5960
|
* },
|
|
5913
5961
|
* "ArrayExpression": {
|
|
5914
|
-
* "$ref": "
|
|
5962
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5915
5963
|
* },
|
|
5916
5964
|
* "ArrayPattern": {
|
|
5917
|
-
* "$ref": "
|
|
5965
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5918
5966
|
* },
|
|
5919
5967
|
* "ArrowFunctionExpression": {
|
|
5920
|
-
* "$ref": "
|
|
5968
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5921
5969
|
* },
|
|
5922
5970
|
* "CallExpression": {
|
|
5923
|
-
* "$ref": "
|
|
5971
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5924
5972
|
* },
|
|
5925
5973
|
* "ExportNamedDeclaration": {
|
|
5926
|
-
* "$ref": "
|
|
5974
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5927
5975
|
* },
|
|
5928
5976
|
* "FunctionDeclaration": {
|
|
5929
|
-
* "$ref": "
|
|
5977
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5930
5978
|
* },
|
|
5931
5979
|
* "FunctionExpression": {
|
|
5932
|
-
* "$ref": "
|
|
5980
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5933
5981
|
* },
|
|
5934
5982
|
* "ImportDeclaration": {
|
|
5935
|
-
* "$ref": "
|
|
5983
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5936
5984
|
* },
|
|
5937
5985
|
* "ImportAttributes": {
|
|
5938
|
-
* "$ref": "
|
|
5986
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5939
5987
|
* },
|
|
5940
5988
|
* "NewExpression": {
|
|
5941
|
-
* "$ref": "
|
|
5989
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5942
5990
|
* },
|
|
5943
5991
|
* "ObjectExpression": {
|
|
5944
|
-
* "$ref": "
|
|
5992
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5945
5993
|
* },
|
|
5946
5994
|
* "ObjectPattern": {
|
|
5947
|
-
* "$ref": "
|
|
5995
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5948
5996
|
* },
|
|
5949
5997
|
* "TSDeclareFunction": {
|
|
5950
|
-
* "$ref": "
|
|
5998
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5951
5999
|
* },
|
|
5952
6000
|
* "TSFunctionType": {
|
|
5953
|
-
* "$ref": "
|
|
6001
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5954
6002
|
* },
|
|
5955
6003
|
* "TSInterfaceBody": {
|
|
5956
|
-
* "$ref": "
|
|
6004
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5957
6005
|
* },
|
|
5958
6006
|
* "TSEnumBody": {
|
|
5959
|
-
* "$ref": "
|
|
6007
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5960
6008
|
* },
|
|
5961
6009
|
* "TSTupleType": {
|
|
5962
|
-
* "$ref": "
|
|
6010
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5963
6011
|
* },
|
|
5964
6012
|
* "TSTypeLiteral": {
|
|
5965
|
-
* "$ref": "
|
|
6013
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5966
6014
|
* },
|
|
5967
6015
|
* "TSTypeParameterDeclaration": {
|
|
5968
|
-
* "$ref": "
|
|
6016
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5969
6017
|
* },
|
|
5970
6018
|
* "TSTypeParameterInstantiation": {
|
|
5971
|
-
* "$ref": "
|
|
6019
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5972
6020
|
* },
|
|
5973
6021
|
* "JSONArrayExpression": {
|
|
5974
|
-
* "$ref": "
|
|
6022
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5975
6023
|
* },
|
|
5976
6024
|
* "JSONObjectExpression": {
|
|
5977
|
-
* "$ref": "
|
|
6025
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5978
6026
|
* }
|
|
5979
6027
|
* }
|
|
5980
6028
|
* }
|
|
@@ -6383,7 +6431,7 @@ namespace MemberDelimiterStyle {
|
|
|
6383
6431
|
* "type": "object",
|
|
6384
6432
|
* "properties": {
|
|
6385
6433
|
* "delimiter": {
|
|
6386
|
-
* "$ref": "
|
|
6434
|
+
* "$ref": "#/$defs/multiLineOption"
|
|
6387
6435
|
* },
|
|
6388
6436
|
* "requireLast": {
|
|
6389
6437
|
* "type": "boolean"
|
|
@@ -6395,7 +6443,7 @@ namespace MemberDelimiterStyle {
|
|
|
6395
6443
|
* "type": "object",
|
|
6396
6444
|
* "properties": {
|
|
6397
6445
|
* "delimiter": {
|
|
6398
|
-
* "$ref": "
|
|
6446
|
+
* "$ref": "#/$defs/singleLineOption"
|
|
6399
6447
|
* },
|
|
6400
6448
|
* "requireLast": {
|
|
6401
6449
|
* "type": "boolean"
|
|
@@ -6413,7 +6461,7 @@ namespace MemberDelimiterStyle {
|
|
|
6413
6461
|
* "type": "object",
|
|
6414
6462
|
* "properties": {
|
|
6415
6463
|
* "delimiter": {
|
|
6416
|
-
* "$ref": "
|
|
6464
|
+
* "$ref": "#/$defs/multiLineOption"
|
|
6417
6465
|
* },
|
|
6418
6466
|
* "requireLast": {
|
|
6419
6467
|
* "type": "boolean"
|
|
@@ -6425,7 +6473,7 @@ namespace MemberDelimiterStyle {
|
|
|
6425
6473
|
* "type": "object",
|
|
6426
6474
|
* "properties": {
|
|
6427
6475
|
* "delimiter": {
|
|
6428
|
-
* "$ref": "
|
|
6476
|
+
* "$ref": "#/$defs/singleLineOption"
|
|
6429
6477
|
* },
|
|
6430
6478
|
* "requireLast": {
|
|
6431
6479
|
* "type": "boolean"
|
|
@@ -6437,10 +6485,10 @@ namespace MemberDelimiterStyle {
|
|
|
6437
6485
|
* "type": "object",
|
|
6438
6486
|
* "properties": {
|
|
6439
6487
|
* "interface": {
|
|
6440
|
-
* "$ref": "
|
|
6488
|
+
* "$ref": "#/$defs/delimiterConfig"
|
|
6441
6489
|
* },
|
|
6442
6490
|
* "typeLiteral": {
|
|
6443
|
-
* "$ref": "
|
|
6491
|
+
* "$ref": "#/$defs/delimiterConfig"
|
|
6444
6492
|
* }
|
|
6445
6493
|
* },
|
|
6446
6494
|
* "additionalProperties": false
|
|
@@ -6513,42 +6561,49 @@ namespace MultilineCommentStyle {
|
|
|
6513
6561
|
* ### schema
|
|
6514
6562
|
*
|
|
6515
6563
|
* ```json
|
|
6516
|
-
*
|
|
6517
|
-
*
|
|
6518
|
-
*
|
|
6519
|
-
*
|
|
6520
|
-
*
|
|
6521
|
-
*
|
|
6522
|
-
*
|
|
6523
|
-
*
|
|
6524
|
-
*
|
|
6525
|
-
*
|
|
6526
|
-
*
|
|
6527
|
-
*
|
|
6528
|
-
*
|
|
6529
|
-
*
|
|
6530
|
-
*
|
|
6531
|
-
*
|
|
6532
|
-
*
|
|
6533
|
-
*
|
|
6534
|
-
*
|
|
6535
|
-
*
|
|
6536
|
-
*
|
|
6537
|
-
*
|
|
6538
|
-
*
|
|
6539
|
-
*
|
|
6540
|
-
* },
|
|
6541
|
-
* "checkExclamation": {
|
|
6542
|
-
* "type": "boolean"
|
|
6543
|
-
* }
|
|
6564
|
+
* [
|
|
6565
|
+
* {
|
|
6566
|
+
* "anyOf": [
|
|
6567
|
+
* {
|
|
6568
|
+
* "type": "array",
|
|
6569
|
+
* "items": [
|
|
6570
|
+
* {
|
|
6571
|
+
* "enum": [
|
|
6572
|
+
* "starred-block",
|
|
6573
|
+
* "bare-block"
|
|
6574
|
+
* ],
|
|
6575
|
+
* "type": "string"
|
|
6576
|
+
* }
|
|
6577
|
+
* ],
|
|
6578
|
+
* "additionalItems": false
|
|
6579
|
+
* },
|
|
6580
|
+
* {
|
|
6581
|
+
* "type": "array",
|
|
6582
|
+
* "items": [
|
|
6583
|
+
* {
|
|
6584
|
+
* "enum": [
|
|
6585
|
+
* "separate-lines"
|
|
6586
|
+
* ],
|
|
6587
|
+
* "type": "string"
|
|
6544
6588
|
* },
|
|
6545
|
-
*
|
|
6546
|
-
*
|
|
6547
|
-
*
|
|
6548
|
-
*
|
|
6549
|
-
*
|
|
6550
|
-
*
|
|
6551
|
-
*
|
|
6589
|
+
* {
|
|
6590
|
+
* "type": "object",
|
|
6591
|
+
* "properties": {
|
|
6592
|
+
* "checkJSDoc": {
|
|
6593
|
+
* "type": "boolean"
|
|
6594
|
+
* },
|
|
6595
|
+
* "checkExclamation": {
|
|
6596
|
+
* "type": "boolean"
|
|
6597
|
+
* }
|
|
6598
|
+
* },
|
|
6599
|
+
* "additionalProperties": false
|
|
6600
|
+
* }
|
|
6601
|
+
* ],
|
|
6602
|
+
* "additionalItems": false
|
|
6603
|
+
* }
|
|
6604
|
+
* ]
|
|
6605
|
+
* }
|
|
6606
|
+
* ]
|
|
6552
6607
|
* ```
|
|
6553
6608
|
*/
|
|
6554
6609
|
export type Options =
|
|
@@ -6772,97 +6827,108 @@ namespace NoExtraParens {
|
|
|
6772
6827
|
* ### schema
|
|
6773
6828
|
*
|
|
6774
6829
|
* ```json
|
|
6775
|
-
*
|
|
6776
|
-
*
|
|
6777
|
-
*
|
|
6778
|
-
*
|
|
6779
|
-
*
|
|
6780
|
-
*
|
|
6781
|
-
*
|
|
6782
|
-
*
|
|
6783
|
-
*
|
|
6784
|
-
*
|
|
6785
|
-
*
|
|
6786
|
-
*
|
|
6787
|
-
*
|
|
6788
|
-
*
|
|
6789
|
-
*
|
|
6790
|
-
*
|
|
6791
|
-
*
|
|
6792
|
-
*
|
|
6793
|
-
*
|
|
6794
|
-
*
|
|
6795
|
-
*
|
|
6796
|
-
*
|
|
6797
|
-
*
|
|
6798
|
-
*
|
|
6799
|
-
*
|
|
6800
|
-
*
|
|
6801
|
-
* "
|
|
6802
|
-
*
|
|
6803
|
-
*
|
|
6804
|
-
*
|
|
6805
|
-
* "type": "boolean"
|
|
6806
|
-
* },
|
|
6807
|
-
* "returnAssign": {
|
|
6808
|
-
* "type": "boolean"
|
|
6809
|
-
* },
|
|
6810
|
-
* "ignoreJSX": {
|
|
6811
|
-
* "type": "string",
|
|
6812
|
-
* "enum": ["none", "all", "single-line", "multi-line"]
|
|
6813
|
-
* },
|
|
6814
|
-
* "enforceForArrowConditionals": {
|
|
6815
|
-
* "type": "boolean"
|
|
6816
|
-
* },
|
|
6817
|
-
* "enforceForSequenceExpressions": {
|
|
6818
|
-
* "type": "boolean"
|
|
6819
|
-
* },
|
|
6820
|
-
* "enforceForNewInMemberExpressions": {
|
|
6821
|
-
* "type": "boolean"
|
|
6822
|
-
* },
|
|
6823
|
-
* "enforceForFunctionPrototypeMethods": {
|
|
6824
|
-
* "type": "boolean"
|
|
6825
|
-
* },
|
|
6826
|
-
* "allowParensAfterCommentPattern": {
|
|
6827
|
-
* "type": "string"
|
|
6828
|
-
* },
|
|
6829
|
-
* "nestedConditionalExpressions": {
|
|
6830
|
-
* "type": "boolean"
|
|
6831
|
-
* },
|
|
6832
|
-
* "allowNodesInSpreadElement": {
|
|
6833
|
-
* "type": "object",
|
|
6834
|
-
* "properties": {
|
|
6835
|
-
* "ConditionalExpression": {
|
|
6836
|
-
* "type": "boolean"
|
|
6837
|
-
* },
|
|
6838
|
-
* "LogicalExpression": {
|
|
6839
|
-
* "type": "boolean"
|
|
6840
|
-
* },
|
|
6841
|
-
* "AwaitExpression": {
|
|
6842
|
-
* "type": "boolean"
|
|
6843
|
-
* }
|
|
6830
|
+
* [
|
|
6831
|
+
* {
|
|
6832
|
+
* "anyOf": [
|
|
6833
|
+
* {
|
|
6834
|
+
* "type": "array",
|
|
6835
|
+
* "items": [
|
|
6836
|
+
* {
|
|
6837
|
+
* "type": "string",
|
|
6838
|
+
* "enum": [
|
|
6839
|
+
* "functions"
|
|
6840
|
+
* ]
|
|
6841
|
+
* }
|
|
6842
|
+
* ],
|
|
6843
|
+
* "minItems": 0,
|
|
6844
|
+
* "maxItems": 1
|
|
6845
|
+
* },
|
|
6846
|
+
* {
|
|
6847
|
+
* "type": "array",
|
|
6848
|
+
* "items": [
|
|
6849
|
+
* {
|
|
6850
|
+
* "type": "string",
|
|
6851
|
+
* "enum": [
|
|
6852
|
+
* "all"
|
|
6853
|
+
* ]
|
|
6854
|
+
* },
|
|
6855
|
+
* {
|
|
6856
|
+
* "type": "object",
|
|
6857
|
+
* "properties": {
|
|
6858
|
+
* "conditionalAssign": {
|
|
6859
|
+
* "type": "boolean"
|
|
6844
6860
|
* },
|
|
6845
|
-
* "
|
|
6846
|
-
*
|
|
6847
|
-
*
|
|
6848
|
-
* "
|
|
6849
|
-
*
|
|
6861
|
+
* "ternaryOperandBinaryExpressions": {
|
|
6862
|
+
* "type": "boolean"
|
|
6863
|
+
* },
|
|
6864
|
+
* "nestedBinaryExpressions": {
|
|
6865
|
+
* "type": "boolean"
|
|
6866
|
+
* },
|
|
6867
|
+
* "returnAssign": {
|
|
6868
|
+
* "type": "boolean"
|
|
6869
|
+
* },
|
|
6870
|
+
* "ignoreJSX": {
|
|
6850
6871
|
* "type": "string",
|
|
6851
|
-
* "
|
|
6872
|
+
* "enum": [
|
|
6873
|
+
* "none",
|
|
6874
|
+
* "all",
|
|
6875
|
+
* "single-line",
|
|
6876
|
+
* "multi-line"
|
|
6877
|
+
* ]
|
|
6878
|
+
* },
|
|
6879
|
+
* "enforceForArrowConditionals": {
|
|
6880
|
+
* "type": "boolean"
|
|
6881
|
+
* },
|
|
6882
|
+
* "enforceForSequenceExpressions": {
|
|
6883
|
+
* "type": "boolean"
|
|
6884
|
+
* },
|
|
6885
|
+
* "enforceForNewInMemberExpressions": {
|
|
6886
|
+
* "type": "boolean"
|
|
6887
|
+
* },
|
|
6888
|
+
* "enforceForFunctionPrototypeMethods": {
|
|
6889
|
+
* "type": "boolean"
|
|
6890
|
+
* },
|
|
6891
|
+
* "allowParensAfterCommentPattern": {
|
|
6892
|
+
* "type": "string"
|
|
6893
|
+
* },
|
|
6894
|
+
* "nestedConditionalExpressions": {
|
|
6895
|
+
* "type": "boolean"
|
|
6896
|
+
* },
|
|
6897
|
+
* "allowNodesInSpreadElement": {
|
|
6898
|
+
* "type": "object",
|
|
6899
|
+
* "properties": {
|
|
6900
|
+
* "ConditionalExpression": {
|
|
6901
|
+
* "type": "boolean"
|
|
6902
|
+
* },
|
|
6903
|
+
* "LogicalExpression": {
|
|
6904
|
+
* "type": "boolean"
|
|
6905
|
+
* },
|
|
6906
|
+
* "AwaitExpression": {
|
|
6907
|
+
* "type": "boolean"
|
|
6908
|
+
* }
|
|
6909
|
+
* },
|
|
6910
|
+
* "additionalProperties": false
|
|
6911
|
+
* },
|
|
6912
|
+
* "ignoredNodes": {
|
|
6913
|
+
* "type": "array",
|
|
6914
|
+
* "items": {
|
|
6852
6915
|
* "type": "string",
|
|
6853
|
-
* "
|
|
6916
|
+
* "not": {
|
|
6917
|
+
* "type": "string",
|
|
6918
|
+
* "pattern": ":exit$"
|
|
6919
|
+
* }
|
|
6854
6920
|
* }
|
|
6855
6921
|
* }
|
|
6856
|
-
* }
|
|
6857
|
-
*
|
|
6858
|
-
*
|
|
6859
|
-
*
|
|
6860
|
-
*
|
|
6861
|
-
*
|
|
6862
|
-
*
|
|
6863
|
-
*
|
|
6864
|
-
*
|
|
6865
|
-
*
|
|
6922
|
+
* },
|
|
6923
|
+
* "additionalProperties": false
|
|
6924
|
+
* }
|
|
6925
|
+
* ],
|
|
6926
|
+
* "minItems": 0,
|
|
6927
|
+
* "maxItems": 2
|
|
6928
|
+
* }
|
|
6929
|
+
* ]
|
|
6930
|
+
* }
|
|
6931
|
+
* ]
|
|
6866
6932
|
* ```
|
|
6867
6933
|
*/
|
|
6868
6934
|
export type Options =
|
|
@@ -8211,109 +8277,119 @@ namespace PaddingLineBetweenStatements {
|
|
|
8211
8277
|
* ### schema
|
|
8212
8278
|
*
|
|
8213
8279
|
* ```json
|
|
8214
|
-
*
|
|
8215
|
-
*
|
|
8216
|
-
* "
|
|
8217
|
-
* "
|
|
8218
|
-
*
|
|
8219
|
-
*
|
|
8220
|
-
*
|
|
8221
|
-
*
|
|
8222
|
-
*
|
|
8223
|
-
*
|
|
8224
|
-
*
|
|
8225
|
-
*
|
|
8226
|
-
* "
|
|
8227
|
-
* "
|
|
8228
|
-
*
|
|
8229
|
-
*
|
|
8230
|
-
*
|
|
8231
|
-
*
|
|
8232
|
-
*
|
|
8233
|
-
*
|
|
8234
|
-
*
|
|
8235
|
-
*
|
|
8236
|
-
*
|
|
8237
|
-
*
|
|
8238
|
-
*
|
|
8239
|
-
*
|
|
8240
|
-
*
|
|
8241
|
-
*
|
|
8242
|
-
*
|
|
8243
|
-
*
|
|
8244
|
-
*
|
|
8245
|
-
*
|
|
8246
|
-
*
|
|
8247
|
-
*
|
|
8248
|
-
*
|
|
8249
|
-
*
|
|
8250
|
-
*
|
|
8251
|
-
*
|
|
8252
|
-
*
|
|
8253
|
-
*
|
|
8254
|
-
*
|
|
8255
|
-
*
|
|
8256
|
-
*
|
|
8257
|
-
*
|
|
8258
|
-
*
|
|
8259
|
-
*
|
|
8260
|
-
*
|
|
8261
|
-
*
|
|
8262
|
-
*
|
|
8263
|
-
*
|
|
8264
|
-
*
|
|
8265
|
-
*
|
|
8266
|
-
*
|
|
8267
|
-
*
|
|
8268
|
-
*
|
|
8269
|
-
*
|
|
8270
|
-
*
|
|
8271
|
-
*
|
|
8272
|
-
*
|
|
8273
|
-
*
|
|
8274
|
-
*
|
|
8275
|
-
*
|
|
8276
|
-
*
|
|
8277
|
-
*
|
|
8278
|
-
*
|
|
8279
|
-
*
|
|
8280
|
-
*
|
|
8281
|
-
*
|
|
8282
|
-
*
|
|
8283
|
-
*
|
|
8284
|
-
*
|
|
8285
|
-
*
|
|
8286
|
-
*
|
|
8287
|
-
*
|
|
8288
|
-
*
|
|
8280
|
+
* [
|
|
8281
|
+
* {
|
|
8282
|
+
* "$defs": {
|
|
8283
|
+
* "paddingType": {
|
|
8284
|
+
* "type": "string",
|
|
8285
|
+
* "enum": [
|
|
8286
|
+
* "any",
|
|
8287
|
+
* "never",
|
|
8288
|
+
* "always"
|
|
8289
|
+
* ]
|
|
8290
|
+
* },
|
|
8291
|
+
* "statementType": {
|
|
8292
|
+
* "type": "string",
|
|
8293
|
+
* "enum": [
|
|
8294
|
+
* "*",
|
|
8295
|
+
* "exports",
|
|
8296
|
+
* "require",
|
|
8297
|
+
* "directive",
|
|
8298
|
+
* "iife",
|
|
8299
|
+
* "block",
|
|
8300
|
+
* "empty",
|
|
8301
|
+
* "function",
|
|
8302
|
+
* "ts-method",
|
|
8303
|
+
* "break",
|
|
8304
|
+
* "case",
|
|
8305
|
+
* "class",
|
|
8306
|
+
* "continue",
|
|
8307
|
+
* "debugger",
|
|
8308
|
+
* "default",
|
|
8309
|
+
* "do",
|
|
8310
|
+
* "for",
|
|
8311
|
+
* "if",
|
|
8312
|
+
* "import",
|
|
8313
|
+
* "switch",
|
|
8314
|
+
* "throw",
|
|
8315
|
+
* "try",
|
|
8316
|
+
* "while",
|
|
8317
|
+
* "with",
|
|
8318
|
+
* "cjs-export",
|
|
8319
|
+
* "cjs-import",
|
|
8320
|
+
* "enum",
|
|
8321
|
+
* "interface",
|
|
8322
|
+
* "function-overload",
|
|
8323
|
+
* "block-like",
|
|
8324
|
+
* "singleline-block-like",
|
|
8325
|
+
* "multiline-block-like",
|
|
8326
|
+
* "expression",
|
|
8327
|
+
* "singleline-expression",
|
|
8328
|
+
* "multiline-expression",
|
|
8329
|
+
* "return",
|
|
8330
|
+
* "singleline-return",
|
|
8331
|
+
* "multiline-return",
|
|
8332
|
+
* "export",
|
|
8333
|
+
* "singleline-export",
|
|
8334
|
+
* "multiline-export",
|
|
8335
|
+
* "var",
|
|
8336
|
+
* "singleline-var",
|
|
8337
|
+
* "multiline-var",
|
|
8338
|
+
* "let",
|
|
8339
|
+
* "singleline-let",
|
|
8340
|
+
* "multiline-let",
|
|
8341
|
+
* "const",
|
|
8342
|
+
* "singleline-const",
|
|
8343
|
+
* "multiline-const",
|
|
8344
|
+
* "using",
|
|
8345
|
+
* "singleline-using",
|
|
8346
|
+
* "multiline-using",
|
|
8347
|
+
* "type",
|
|
8348
|
+
* "singleline-type",
|
|
8349
|
+
* "multiline-type"
|
|
8350
|
+
* ]
|
|
8351
|
+
* },
|
|
8352
|
+
* "statementOption": {
|
|
8353
|
+
* "anyOf": [
|
|
8354
|
+
* {
|
|
8289
8355
|
* "$ref": "#/$defs/statementType"
|
|
8290
8356
|
* },
|
|
8291
|
-
*
|
|
8292
|
-
*
|
|
8293
|
-
*
|
|
8357
|
+
* {
|
|
8358
|
+
* "type": "array",
|
|
8359
|
+
* "items": {
|
|
8360
|
+
* "$ref": "#/$defs/statementType"
|
|
8361
|
+
* },
|
|
8362
|
+
* "minItems": 1,
|
|
8363
|
+
* "uniqueItems": true,
|
|
8364
|
+
* "additionalItems": false
|
|
8365
|
+
* }
|
|
8366
|
+
* ]
|
|
8367
|
+
* }
|
|
8368
|
+
* },
|
|
8369
|
+
* "type": "array",
|
|
8370
|
+
* "additionalItems": false,
|
|
8371
|
+
* "items": {
|
|
8372
|
+
* "type": "object",
|
|
8373
|
+
* "properties": {
|
|
8374
|
+
* "blankLine": {
|
|
8375
|
+
* "$ref": "#/$defs/paddingType"
|
|
8376
|
+
* },
|
|
8377
|
+
* "prev": {
|
|
8378
|
+
* "$ref": "#/$defs/statementOption"
|
|
8379
|
+
* },
|
|
8380
|
+
* "next": {
|
|
8381
|
+
* "$ref": "#/$defs/statementOption"
|
|
8294
8382
|
* }
|
|
8383
|
+
* },
|
|
8384
|
+
* "additionalProperties": false,
|
|
8385
|
+
* "required": [
|
|
8386
|
+
* "blankLine",
|
|
8387
|
+
* "prev",
|
|
8388
|
+
* "next"
|
|
8295
8389
|
* ]
|
|
8296
8390
|
* }
|
|
8297
|
-
* },
|
|
8298
|
-
* "type": "array",
|
|
8299
|
-
* "additionalItems": false,
|
|
8300
|
-
* "items": {
|
|
8301
|
-
* "type": "object",
|
|
8302
|
-
* "properties": {
|
|
8303
|
-
* "blankLine": {
|
|
8304
|
-
* "$ref": "#/$defs/paddingType"
|
|
8305
|
-
* },
|
|
8306
|
-
* "prev": {
|
|
8307
|
-
* "$ref": "#/$defs/statementOption"
|
|
8308
|
-
* },
|
|
8309
|
-
* "next": {
|
|
8310
|
-
* "$ref": "#/$defs/statementOption"
|
|
8311
|
-
* }
|
|
8312
|
-
* },
|
|
8313
|
-
* "additionalProperties": false,
|
|
8314
|
-
* "required": ["blankLine", "prev", "next"]
|
|
8315
8391
|
* }
|
|
8316
|
-
*
|
|
8392
|
+
* ]
|
|
8317
8393
|
* ```
|
|
8318
8394
|
*/
|
|
8319
8395
|
export type PaddingType = 'any' | 'never' | 'always';
|
|
@@ -8411,57 +8487,59 @@ namespace QuoteProps {
|
|
|
8411
8487
|
* ### schema
|
|
8412
8488
|
*
|
|
8413
8489
|
* ```json
|
|
8414
|
-
*
|
|
8415
|
-
*
|
|
8416
|
-
*
|
|
8417
|
-
*
|
|
8418
|
-
*
|
|
8419
|
-
*
|
|
8420
|
-
*
|
|
8421
|
-
*
|
|
8422
|
-
* "
|
|
8423
|
-
*
|
|
8424
|
-
*
|
|
8425
|
-
*
|
|
8426
|
-
*
|
|
8427
|
-
*
|
|
8428
|
-
*
|
|
8429
|
-
*
|
|
8430
|
-
*
|
|
8431
|
-
*
|
|
8432
|
-
*
|
|
8433
|
-
*
|
|
8434
|
-
*
|
|
8435
|
-
*
|
|
8436
|
-
*
|
|
8437
|
-
*
|
|
8438
|
-
* "
|
|
8439
|
-
*
|
|
8440
|
-
*
|
|
8441
|
-
*
|
|
8442
|
-
*
|
|
8443
|
-
*
|
|
8444
|
-
* {
|
|
8445
|
-
* "type": "object",
|
|
8446
|
-
* "properties": {
|
|
8447
|
-
* "keywords": {
|
|
8448
|
-
* "type": "boolean"
|
|
8449
|
-
* },
|
|
8450
|
-
* "unnecessary": {
|
|
8451
|
-
* "type": "boolean"
|
|
8452
|
-
* },
|
|
8453
|
-
* "numbers": {
|
|
8454
|
-
* "type": "boolean"
|
|
8455
|
-
* }
|
|
8490
|
+
* [
|
|
8491
|
+
* {
|
|
8492
|
+
* "anyOf": [
|
|
8493
|
+
* {
|
|
8494
|
+
* "type": "array",
|
|
8495
|
+
* "items": [
|
|
8496
|
+
* {
|
|
8497
|
+
* "type": "string",
|
|
8498
|
+
* "enum": [
|
|
8499
|
+
* "always",
|
|
8500
|
+
* "as-needed",
|
|
8501
|
+
* "consistent",
|
|
8502
|
+
* "consistent-as-needed"
|
|
8503
|
+
* ]
|
|
8504
|
+
* }
|
|
8505
|
+
* ],
|
|
8506
|
+
* "minItems": 0,
|
|
8507
|
+
* "maxItems": 1
|
|
8508
|
+
* },
|
|
8509
|
+
* {
|
|
8510
|
+
* "type": "array",
|
|
8511
|
+
* "items": [
|
|
8512
|
+
* {
|
|
8513
|
+
* "type": "string",
|
|
8514
|
+
* "enum": [
|
|
8515
|
+
* "always",
|
|
8516
|
+
* "as-needed",
|
|
8517
|
+
* "consistent",
|
|
8518
|
+
* "consistent-as-needed"
|
|
8519
|
+
* ]
|
|
8456
8520
|
* },
|
|
8457
|
-
*
|
|
8458
|
-
*
|
|
8459
|
-
*
|
|
8460
|
-
*
|
|
8461
|
-
*
|
|
8462
|
-
*
|
|
8463
|
-
*
|
|
8464
|
-
*
|
|
8521
|
+
* {
|
|
8522
|
+
* "type": "object",
|
|
8523
|
+
* "properties": {
|
|
8524
|
+
* "keywords": {
|
|
8525
|
+
* "type": "boolean"
|
|
8526
|
+
* },
|
|
8527
|
+
* "unnecessary": {
|
|
8528
|
+
* "type": "boolean"
|
|
8529
|
+
* },
|
|
8530
|
+
* "numbers": {
|
|
8531
|
+
* "type": "boolean"
|
|
8532
|
+
* }
|
|
8533
|
+
* },
|
|
8534
|
+
* "additionalProperties": false
|
|
8535
|
+
* }
|
|
8536
|
+
* ],
|
|
8537
|
+
* "minItems": 0,
|
|
8538
|
+
* "maxItems": 2
|
|
8539
|
+
* }
|
|
8540
|
+
* ]
|
|
8541
|
+
* }
|
|
8542
|
+
* ]
|
|
8465
8543
|
* ```
|
|
8466
8544
|
*/
|
|
8467
8545
|
export type Options =
|
|
@@ -8621,54 +8699,64 @@ namespace Semi {
|
|
|
8621
8699
|
* ### schema
|
|
8622
8700
|
*
|
|
8623
8701
|
* ```json
|
|
8624
|
-
*
|
|
8625
|
-
*
|
|
8626
|
-
*
|
|
8627
|
-
*
|
|
8628
|
-
*
|
|
8629
|
-
*
|
|
8630
|
-
*
|
|
8631
|
-
*
|
|
8632
|
-
*
|
|
8633
|
-
*
|
|
8634
|
-
*
|
|
8635
|
-
* "properties": {
|
|
8636
|
-
* "beforeStatementContinuationChars": {
|
|
8637
|
-
* "type": "string",
|
|
8638
|
-
* "enum": ["always", "any", "never"]
|
|
8639
|
-
* }
|
|
8702
|
+
* [
|
|
8703
|
+
* {
|
|
8704
|
+
* "anyOf": [
|
|
8705
|
+
* {
|
|
8706
|
+
* "type": "array",
|
|
8707
|
+
* "items": [
|
|
8708
|
+
* {
|
|
8709
|
+
* "type": "string",
|
|
8710
|
+
* "enum": [
|
|
8711
|
+
* "never"
|
|
8712
|
+
* ]
|
|
8640
8713
|
* },
|
|
8641
|
-
*
|
|
8642
|
-
*
|
|
8643
|
-
*
|
|
8644
|
-
*
|
|
8645
|
-
*
|
|
8646
|
-
*
|
|
8647
|
-
*
|
|
8648
|
-
*
|
|
8649
|
-
*
|
|
8650
|
-
*
|
|
8651
|
-
*
|
|
8652
|
-
* "enum": ["always"]
|
|
8653
|
-
* },
|
|
8654
|
-
* {
|
|
8655
|
-
* "type": "object",
|
|
8656
|
-
* "properties": {
|
|
8657
|
-
* "omitLastInOneLineBlock": {
|
|
8658
|
-
* "type": "boolean"
|
|
8714
|
+
* {
|
|
8715
|
+
* "type": "object",
|
|
8716
|
+
* "properties": {
|
|
8717
|
+
* "beforeStatementContinuationChars": {
|
|
8718
|
+
* "type": "string",
|
|
8719
|
+
* "enum": [
|
|
8720
|
+
* "always",
|
|
8721
|
+
* "any",
|
|
8722
|
+
* "never"
|
|
8723
|
+
* ]
|
|
8724
|
+
* }
|
|
8659
8725
|
* },
|
|
8660
|
-
* "
|
|
8661
|
-
*
|
|
8662
|
-
*
|
|
8726
|
+
* "additionalProperties": false
|
|
8727
|
+
* }
|
|
8728
|
+
* ],
|
|
8729
|
+
* "minItems": 0,
|
|
8730
|
+
* "maxItems": 2
|
|
8731
|
+
* },
|
|
8732
|
+
* {
|
|
8733
|
+
* "type": "array",
|
|
8734
|
+
* "items": [
|
|
8735
|
+
* {
|
|
8736
|
+
* "type": "string",
|
|
8737
|
+
* "enum": [
|
|
8738
|
+
* "always"
|
|
8739
|
+
* ]
|
|
8663
8740
|
* },
|
|
8664
|
-
*
|
|
8665
|
-
*
|
|
8666
|
-
*
|
|
8667
|
-
*
|
|
8668
|
-
*
|
|
8669
|
-
*
|
|
8670
|
-
*
|
|
8671
|
-
*
|
|
8741
|
+
* {
|
|
8742
|
+
* "type": "object",
|
|
8743
|
+
* "properties": {
|
|
8744
|
+
* "omitLastInOneLineBlock": {
|
|
8745
|
+
* "type": "boolean"
|
|
8746
|
+
* },
|
|
8747
|
+
* "omitLastInOneLineClassBody": {
|
|
8748
|
+
* "type": "boolean"
|
|
8749
|
+
* }
|
|
8750
|
+
* },
|
|
8751
|
+
* "additionalProperties": false
|
|
8752
|
+
* }
|
|
8753
|
+
* ],
|
|
8754
|
+
* "minItems": 0,
|
|
8755
|
+
* "maxItems": 2
|
|
8756
|
+
* }
|
|
8757
|
+
* ]
|
|
8758
|
+
* }
|
|
8759
|
+
* ]
|
|
8672
8760
|
* ```
|
|
8673
8761
|
*/
|
|
8674
8762
|
export type Options =
|
|
@@ -9398,22 +9486,22 @@ namespace TypeAnnotationSpacing {
|
|
|
9398
9486
|
* "type": "object",
|
|
9399
9487
|
* "properties": {
|
|
9400
9488
|
* "colon": {
|
|
9401
|
-
* "$ref": "
|
|
9489
|
+
* "$ref": "#/$defs/spacingConfig"
|
|
9402
9490
|
* },
|
|
9403
9491
|
* "arrow": {
|
|
9404
|
-
* "$ref": "
|
|
9492
|
+
* "$ref": "#/$defs/spacingConfig"
|
|
9405
9493
|
* },
|
|
9406
9494
|
* "variable": {
|
|
9407
|
-
* "$ref": "
|
|
9495
|
+
* "$ref": "#/$defs/spacingConfig"
|
|
9408
9496
|
* },
|
|
9409
9497
|
* "parameter": {
|
|
9410
|
-
* "$ref": "
|
|
9498
|
+
* "$ref": "#/$defs/spacingConfig"
|
|
9411
9499
|
* },
|
|
9412
9500
|
* "property": {
|
|
9413
|
-
* "$ref": "
|
|
9501
|
+
* "$ref": "#/$defs/spacingConfig"
|
|
9414
9502
|
* },
|
|
9415
9503
|
* "returnType": {
|
|
9416
|
-
* "$ref": "
|
|
9504
|
+
* "$ref": "#/$defs/spacingConfig"
|
|
9417
9505
|
* }
|
|
9418
9506
|
* },
|
|
9419
9507
|
* "additionalProperties": false
|