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
|
@@ -126,57 +126,66 @@ declare namespace ArrayElementNewline {
|
|
|
126
126
|
* ### schema
|
|
127
127
|
*
|
|
128
128
|
* ```json
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
* "
|
|
132
|
-
* "
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
* "type": "boolean"
|
|
142
|
-
* },
|
|
143
|
-
* "multiline": {
|
|
144
|
-
* "type": "boolean"
|
|
145
|
-
* },
|
|
146
|
-
* "minItems": {
|
|
147
|
-
* "type": ["integer", "null"],
|
|
148
|
-
* "minimum": 0
|
|
149
|
-
* }
|
|
129
|
+
* [
|
|
130
|
+
* {
|
|
131
|
+
* "definitions": {
|
|
132
|
+
* "basicConfig": {
|
|
133
|
+
* "oneOf": [
|
|
134
|
+
* {
|
|
135
|
+
* "type": "string",
|
|
136
|
+
* "enum": [
|
|
137
|
+
* "always",
|
|
138
|
+
* "never",
|
|
139
|
+
* "consistent"
|
|
140
|
+
* ]
|
|
150
141
|
* },
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
* "$ref": "#/definitions/basicConfig"
|
|
142
|
+
* {
|
|
143
|
+
* "type": "object",
|
|
144
|
+
* "properties": {
|
|
145
|
+
* "consistent": {
|
|
146
|
+
* "type": "boolean"
|
|
147
|
+
* },
|
|
148
|
+
* "multiline": {
|
|
149
|
+
* "type": "boolean"
|
|
150
|
+
* },
|
|
151
|
+
* "minItems": {
|
|
152
|
+
* "type": [
|
|
153
|
+
* "integer",
|
|
154
|
+
* "null"
|
|
155
|
+
* ],
|
|
156
|
+
* "minimum": 0
|
|
157
|
+
* }
|
|
168
158
|
* },
|
|
169
|
-
* "
|
|
170
|
-
*
|
|
171
|
-
*
|
|
159
|
+
* "additionalProperties": false
|
|
160
|
+
* }
|
|
161
|
+
* ]
|
|
162
|
+
* }
|
|
163
|
+
* },
|
|
164
|
+
* "type": "array",
|
|
165
|
+
* "items": [
|
|
166
|
+
* {
|
|
167
|
+
* "oneOf": [
|
|
168
|
+
* {
|
|
169
|
+
* "$ref": "#/definitions/basicConfig"
|
|
172
170
|
* },
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
171
|
+
* {
|
|
172
|
+
* "type": "object",
|
|
173
|
+
* "properties": {
|
|
174
|
+
* "ArrayExpression": {
|
|
175
|
+
* "$ref": "#/definitions/basicConfig"
|
|
176
|
+
* },
|
|
177
|
+
* "ArrayPattern": {
|
|
178
|
+
* "$ref": "#/definitions/basicConfig"
|
|
179
|
+
* }
|
|
180
|
+
* },
|
|
181
|
+
* "additionalProperties": false,
|
|
182
|
+
* "minProperties": 1
|
|
183
|
+
* }
|
|
184
|
+
* ]
|
|
185
|
+
* }
|
|
186
|
+
* ]
|
|
187
|
+
* }
|
|
188
|
+
* ]
|
|
180
189
|
* ```
|
|
181
190
|
*/
|
|
182
191
|
type Options = readonly [] | readonly [
|
|
@@ -380,71 +389,78 @@ declare namespace CommaDangle {
|
|
|
380
389
|
* ### schema
|
|
381
390
|
*
|
|
382
391
|
* ```json
|
|
383
|
-
*
|
|
384
|
-
*
|
|
385
|
-
* "
|
|
386
|
-
* "
|
|
387
|
-
*
|
|
392
|
+
* [
|
|
393
|
+
* {
|
|
394
|
+
* "$defs": {
|
|
395
|
+
* "value": {
|
|
396
|
+
* "type": "string",
|
|
397
|
+
* "enum": [
|
|
398
|
+
* "always-multiline",
|
|
399
|
+
* "always",
|
|
400
|
+
* "never",
|
|
401
|
+
* "only-multiline"
|
|
402
|
+
* ]
|
|
403
|
+
* },
|
|
404
|
+
* "valueWithIgnore": {
|
|
405
|
+
* "type": "string",
|
|
406
|
+
* "enum": [
|
|
407
|
+
* "always-multiline",
|
|
408
|
+
* "always",
|
|
409
|
+
* "never",
|
|
410
|
+
* "only-multiline",
|
|
411
|
+
* "ignore"
|
|
412
|
+
* ]
|
|
413
|
+
* }
|
|
388
414
|
* },
|
|
389
|
-
* "
|
|
390
|
-
*
|
|
391
|
-
*
|
|
392
|
-
* "
|
|
393
|
-
*
|
|
394
|
-
*
|
|
395
|
-
* "only-multiline",
|
|
396
|
-
* "ignore"
|
|
397
|
-
* ]
|
|
398
|
-
* }
|
|
399
|
-
* },
|
|
400
|
-
* "type": "array",
|
|
401
|
-
* "items": [
|
|
402
|
-
* {
|
|
403
|
-
* "oneOf": [
|
|
404
|
-
* {
|
|
405
|
-
* "$ref": "#/$defs/value"
|
|
406
|
-
* },
|
|
407
|
-
* {
|
|
408
|
-
* "type": "object",
|
|
409
|
-
* "properties": {
|
|
410
|
-
* "arrays": {
|
|
411
|
-
* "$ref": "#/$defs/valueWithIgnore"
|
|
412
|
-
* },
|
|
413
|
-
* "objects": {
|
|
414
|
-
* "$ref": "#/$defs/valueWithIgnore"
|
|
415
|
-
* },
|
|
416
|
-
* "imports": {
|
|
417
|
-
* "$ref": "#/$defs/valueWithIgnore"
|
|
418
|
-
* },
|
|
419
|
-
* "exports": {
|
|
420
|
-
* "$ref": "#/$defs/valueWithIgnore"
|
|
421
|
-
* },
|
|
422
|
-
* "functions": {
|
|
423
|
-
* "$ref": "#/$defs/valueWithIgnore"
|
|
424
|
-
* },
|
|
425
|
-
* "importAttributes": {
|
|
426
|
-
* "$ref": "#/$defs/valueWithIgnore"
|
|
427
|
-
* },
|
|
428
|
-
* "dynamicImports": {
|
|
429
|
-
* "$ref": "#/$defs/valueWithIgnore"
|
|
430
|
-
* },
|
|
431
|
-
* "enums": {
|
|
432
|
-
* "$ref": "#/$defs/valueWithIgnore"
|
|
433
|
-
* },
|
|
434
|
-
* "generics": {
|
|
435
|
-
* "$ref": "#/$defs/valueWithIgnore"
|
|
436
|
-
* },
|
|
437
|
-
* "tuples": {
|
|
438
|
-
* "$ref": "#/$defs/valueWithIgnore"
|
|
439
|
-
* }
|
|
415
|
+
* "type": "array",
|
|
416
|
+
* "items": [
|
|
417
|
+
* {
|
|
418
|
+
* "oneOf": [
|
|
419
|
+
* {
|
|
420
|
+
* "$ref": "#/$defs/value"
|
|
440
421
|
* },
|
|
441
|
-
*
|
|
442
|
-
*
|
|
443
|
-
*
|
|
444
|
-
*
|
|
445
|
-
*
|
|
446
|
-
*
|
|
447
|
-
*
|
|
422
|
+
* {
|
|
423
|
+
* "type": "object",
|
|
424
|
+
* "properties": {
|
|
425
|
+
* "arrays": {
|
|
426
|
+
* "$ref": "#/$defs/valueWithIgnore"
|
|
427
|
+
* },
|
|
428
|
+
* "objects": {
|
|
429
|
+
* "$ref": "#/$defs/valueWithIgnore"
|
|
430
|
+
* },
|
|
431
|
+
* "imports": {
|
|
432
|
+
* "$ref": "#/$defs/valueWithIgnore"
|
|
433
|
+
* },
|
|
434
|
+
* "exports": {
|
|
435
|
+
* "$ref": "#/$defs/valueWithIgnore"
|
|
436
|
+
* },
|
|
437
|
+
* "functions": {
|
|
438
|
+
* "$ref": "#/$defs/valueWithIgnore"
|
|
439
|
+
* },
|
|
440
|
+
* "importAttributes": {
|
|
441
|
+
* "$ref": "#/$defs/valueWithIgnore"
|
|
442
|
+
* },
|
|
443
|
+
* "dynamicImports": {
|
|
444
|
+
* "$ref": "#/$defs/valueWithIgnore"
|
|
445
|
+
* },
|
|
446
|
+
* "enums": {
|
|
447
|
+
* "$ref": "#/$defs/valueWithIgnore"
|
|
448
|
+
* },
|
|
449
|
+
* "generics": {
|
|
450
|
+
* "$ref": "#/$defs/valueWithIgnore"
|
|
451
|
+
* },
|
|
452
|
+
* "tuples": {
|
|
453
|
+
* "$ref": "#/$defs/valueWithIgnore"
|
|
454
|
+
* }
|
|
455
|
+
* },
|
|
456
|
+
* "additionalProperties": false
|
|
457
|
+
* }
|
|
458
|
+
* ]
|
|
459
|
+
* }
|
|
460
|
+
* ],
|
|
461
|
+
* "additionalItems": false
|
|
462
|
+
* }
|
|
463
|
+
* ]
|
|
448
464
|
* ```
|
|
449
465
|
*/
|
|
450
466
|
type Options = readonly [] | readonly [
|
|
@@ -1448,53 +1464,59 @@ declare namespace FunctionCallSpacing {
|
|
|
1448
1464
|
* ### schema
|
|
1449
1465
|
*
|
|
1450
1466
|
* ```json
|
|
1451
|
-
*
|
|
1452
|
-
*
|
|
1453
|
-
*
|
|
1454
|
-
*
|
|
1455
|
-
*
|
|
1456
|
-
*
|
|
1457
|
-
*
|
|
1458
|
-
*
|
|
1459
|
-
*
|
|
1460
|
-
*
|
|
1461
|
-
*
|
|
1462
|
-
*
|
|
1463
|
-
*
|
|
1464
|
-
*
|
|
1465
|
-
*
|
|
1466
|
-
*
|
|
1467
|
-
*
|
|
1468
|
-
*
|
|
1469
|
-
*
|
|
1470
|
-
*
|
|
1471
|
-
*
|
|
1472
|
-
*
|
|
1473
|
-
*
|
|
1474
|
-
*
|
|
1475
|
-
* "type": "boolean"
|
|
1476
|
-
* },
|
|
1477
|
-
* "optionalChain": {
|
|
1478
|
-
* "type": "object",
|
|
1479
|
-
* "properties": {
|
|
1480
|
-
* "before": {
|
|
1481
|
-
* "type": "boolean"
|
|
1482
|
-
* },
|
|
1483
|
-
* "after": {
|
|
1484
|
-
* "type": "boolean"
|
|
1485
|
-
* }
|
|
1486
|
-
* },
|
|
1487
|
-
* "additionalProperties": false
|
|
1488
|
-
* }
|
|
1467
|
+
* [
|
|
1468
|
+
* {
|
|
1469
|
+
* "anyOf": [
|
|
1470
|
+
* {
|
|
1471
|
+
* "type": "array",
|
|
1472
|
+
* "items": [
|
|
1473
|
+
* {
|
|
1474
|
+
* "type": "string",
|
|
1475
|
+
* "enum": [
|
|
1476
|
+
* "never"
|
|
1477
|
+
* ]
|
|
1478
|
+
* }
|
|
1479
|
+
* ],
|
|
1480
|
+
* "minItems": 0,
|
|
1481
|
+
* "maxItems": 1
|
|
1482
|
+
* },
|
|
1483
|
+
* {
|
|
1484
|
+
* "type": "array",
|
|
1485
|
+
* "items": [
|
|
1486
|
+
* {
|
|
1487
|
+
* "type": "string",
|
|
1488
|
+
* "enum": [
|
|
1489
|
+
* "always"
|
|
1490
|
+
* ]
|
|
1489
1491
|
* },
|
|
1490
|
-
*
|
|
1491
|
-
*
|
|
1492
|
-
*
|
|
1493
|
-
*
|
|
1494
|
-
*
|
|
1495
|
-
*
|
|
1496
|
-
*
|
|
1497
|
-
*
|
|
1492
|
+
* {
|
|
1493
|
+
* "type": "object",
|
|
1494
|
+
* "properties": {
|
|
1495
|
+
* "allowNewlines": {
|
|
1496
|
+
* "type": "boolean"
|
|
1497
|
+
* },
|
|
1498
|
+
* "optionalChain": {
|
|
1499
|
+
* "type": "object",
|
|
1500
|
+
* "properties": {
|
|
1501
|
+
* "before": {
|
|
1502
|
+
* "type": "boolean"
|
|
1503
|
+
* },
|
|
1504
|
+
* "after": {
|
|
1505
|
+
* "type": "boolean"
|
|
1506
|
+
* }
|
|
1507
|
+
* },
|
|
1508
|
+
* "additionalProperties": false
|
|
1509
|
+
* }
|
|
1510
|
+
* },
|
|
1511
|
+
* "additionalProperties": false
|
|
1512
|
+
* }
|
|
1513
|
+
* ],
|
|
1514
|
+
* "minItems": 0,
|
|
1515
|
+
* "maxItems": 2
|
|
1516
|
+
* }
|
|
1517
|
+
* ]
|
|
1518
|
+
* }
|
|
1519
|
+
* ]
|
|
1498
1520
|
* ```
|
|
1499
1521
|
*/
|
|
1500
1522
|
type Options = readonly [] | readonly ['never'] | readonly ['always'] | readonly [
|
|
@@ -2513,121 +2535,147 @@ declare namespace JsxCurlySpacing {
|
|
|
2513
2535
|
* ### schema
|
|
2514
2536
|
*
|
|
2515
2537
|
* ```json
|
|
2516
|
-
*
|
|
2517
|
-
*
|
|
2518
|
-
*
|
|
2519
|
-
*
|
|
2520
|
-
*
|
|
2521
|
-
*
|
|
2522
|
-
*
|
|
2523
|
-
*
|
|
2524
|
-
*
|
|
2525
|
-
* "
|
|
2526
|
-
* "
|
|
2527
|
-
*
|
|
2528
|
-
*
|
|
2529
|
-
*
|
|
2530
|
-
*
|
|
2531
|
-
*
|
|
2532
|
-
* "spacing": {
|
|
2533
|
-
* "type": "object",
|
|
2534
|
-
* "properties": {
|
|
2535
|
-
* "objectLiterals": {
|
|
2536
|
-
* "type": "string",
|
|
2537
|
-
* "enum": ["always", "never"]
|
|
2538
|
-
* }
|
|
2538
|
+
* [
|
|
2539
|
+
* {
|
|
2540
|
+
* "type": "array",
|
|
2541
|
+
* "items": [
|
|
2542
|
+
* {
|
|
2543
|
+
* "anyOf": [
|
|
2544
|
+
* {
|
|
2545
|
+
* "type": "object",
|
|
2546
|
+
* "additionalProperties": false,
|
|
2547
|
+
* "properties": {
|
|
2548
|
+
* "when": {
|
|
2549
|
+
* "type": "string",
|
|
2550
|
+
* "enum": [
|
|
2551
|
+
* "always",
|
|
2552
|
+
* "never"
|
|
2553
|
+
* ]
|
|
2539
2554
|
* },
|
|
2540
|
-
* "
|
|
2541
|
-
*
|
|
2542
|
-
*
|
|
2543
|
-
* "
|
|
2544
|
-
*
|
|
2545
|
-
*
|
|
2546
|
-
* "
|
|
2547
|
-
* "
|
|
2548
|
-
*
|
|
2549
|
-
* "
|
|
2550
|
-
*
|
|
2551
|
-
*
|
|
2552
|
-
*
|
|
2553
|
-
* },
|
|
2554
|
-
* "spacing": {
|
|
2555
|
-
* "type": "object",
|
|
2556
|
-
* "properties": {
|
|
2557
|
-
* "objectLiterals": {
|
|
2558
|
-
* "type": "string",
|
|
2559
|
-
* "enum": ["always", "never"]
|
|
2560
|
-
* }
|
|
2561
|
-
* },
|
|
2562
|
-
* "additionalProperties": false
|
|
2563
|
-
* }
|
|
2564
|
-
* },
|
|
2565
|
-
* "additionalProperties": false
|
|
2555
|
+
* "allowMultiline": {
|
|
2556
|
+
* "type": "boolean"
|
|
2557
|
+
* },
|
|
2558
|
+
* "spacing": {
|
|
2559
|
+
* "type": "object",
|
|
2560
|
+
* "properties": {
|
|
2561
|
+
* "objectLiterals": {
|
|
2562
|
+
* "type": "string",
|
|
2563
|
+
* "enum": [
|
|
2564
|
+
* "always",
|
|
2565
|
+
* "never"
|
|
2566
|
+
* ]
|
|
2567
|
+
* }
|
|
2566
2568
|
* },
|
|
2567
|
-
*
|
|
2568
|
-
*
|
|
2569
|
-
*
|
|
2570
|
-
*
|
|
2571
|
-
*
|
|
2572
|
-
*
|
|
2573
|
-
*
|
|
2574
|
-
*
|
|
2575
|
-
*
|
|
2576
|
-
*
|
|
2577
|
-
*
|
|
2578
|
-
*
|
|
2579
|
-
*
|
|
2580
|
-
*
|
|
2581
|
-
*
|
|
2582
|
-
*
|
|
2569
|
+
* "additionalProperties": false
|
|
2570
|
+
* },
|
|
2571
|
+
* "attributes": {
|
|
2572
|
+
* "anyOf": [
|
|
2573
|
+
* {
|
|
2574
|
+
* "type": "object",
|
|
2575
|
+
* "properties": {
|
|
2576
|
+
* "when": {
|
|
2577
|
+
* "type": "string",
|
|
2578
|
+
* "enum": [
|
|
2579
|
+
* "always",
|
|
2580
|
+
* "never"
|
|
2581
|
+
* ]
|
|
2582
|
+
* },
|
|
2583
|
+
* "allowMultiline": {
|
|
2584
|
+
* "type": "boolean"
|
|
2585
|
+
* },
|
|
2586
|
+
* "spacing": {
|
|
2587
|
+
* "type": "object",
|
|
2588
|
+
* "properties": {
|
|
2589
|
+
* "objectLiterals": {
|
|
2590
|
+
* "type": "string",
|
|
2591
|
+
* "enum": [
|
|
2592
|
+
* "always",
|
|
2593
|
+
* "never"
|
|
2594
|
+
* ]
|
|
2595
|
+
* }
|
|
2596
|
+
* },
|
|
2597
|
+
* "additionalProperties": false
|
|
2598
|
+
* }
|
|
2583
2599
|
* },
|
|
2584
|
-
* "
|
|
2585
|
-
*
|
|
2586
|
-
*
|
|
2587
|
-
*
|
|
2588
|
-
*
|
|
2589
|
-
*
|
|
2590
|
-
*
|
|
2600
|
+
* "additionalProperties": false
|
|
2601
|
+
* },
|
|
2602
|
+
* {
|
|
2603
|
+
* "type": "boolean"
|
|
2604
|
+
* }
|
|
2605
|
+
* ]
|
|
2606
|
+
* },
|
|
2607
|
+
* "children": {
|
|
2608
|
+
* "anyOf": [
|
|
2609
|
+
* {
|
|
2610
|
+
* "type": "object",
|
|
2611
|
+
* "properties": {
|
|
2612
|
+
* "when": {
|
|
2613
|
+
* "type": "string",
|
|
2614
|
+
* "enum": [
|
|
2615
|
+
* "always",
|
|
2616
|
+
* "never"
|
|
2617
|
+
* ]
|
|
2618
|
+
* },
|
|
2619
|
+
* "allowMultiline": {
|
|
2620
|
+
* "type": "boolean"
|
|
2591
2621
|
* },
|
|
2592
|
-
* "
|
|
2593
|
-
*
|
|
2622
|
+
* "spacing": {
|
|
2623
|
+
* "type": "object",
|
|
2624
|
+
* "properties": {
|
|
2625
|
+
* "objectLiterals": {
|
|
2626
|
+
* "type": "string",
|
|
2627
|
+
* "enum": [
|
|
2628
|
+
* "always",
|
|
2629
|
+
* "never"
|
|
2630
|
+
* ]
|
|
2631
|
+
* }
|
|
2632
|
+
* },
|
|
2633
|
+
* "additionalProperties": false
|
|
2634
|
+
* }
|
|
2635
|
+
* },
|
|
2636
|
+
* "additionalProperties": false
|
|
2594
2637
|
* },
|
|
2595
|
-
*
|
|
2596
|
-
*
|
|
2597
|
-
*
|
|
2598
|
-
*
|
|
2599
|
-
*
|
|
2600
|
-
* ]
|
|
2638
|
+
* {
|
|
2639
|
+
* "type": "boolean"
|
|
2640
|
+
* }
|
|
2641
|
+
* ]
|
|
2642
|
+
* }
|
|
2601
2643
|
* }
|
|
2644
|
+
* },
|
|
2645
|
+
* {
|
|
2646
|
+
* "type": "string",
|
|
2647
|
+
* "enum": [
|
|
2648
|
+
* "always",
|
|
2649
|
+
* "never"
|
|
2650
|
+
* ]
|
|
2602
2651
|
* }
|
|
2603
|
-
*
|
|
2604
|
-
* {
|
|
2605
|
-
* "type": "string",
|
|
2606
|
-
* "enum": ["always", "never"]
|
|
2607
|
-
* }
|
|
2608
|
-
* ]
|
|
2609
|
-
* },
|
|
2610
|
-
* {
|
|
2611
|
-
* "type": "object",
|
|
2612
|
-
* "properties": {
|
|
2613
|
-
* "allowMultiline": {
|
|
2614
|
-
* "type": "boolean"
|
|
2615
|
-
* },
|
|
2616
|
-
* "spacing": {
|
|
2617
|
-
* "type": "object",
|
|
2618
|
-
* "properties": {
|
|
2619
|
-
* "objectLiterals": {
|
|
2620
|
-
* "type": "string",
|
|
2621
|
-
* "enum": ["always", "never"]
|
|
2622
|
-
* }
|
|
2623
|
-
* },
|
|
2624
|
-
* "additionalProperties": false
|
|
2625
|
-
* }
|
|
2652
|
+
* ]
|
|
2626
2653
|
* },
|
|
2627
|
-
*
|
|
2628
|
-
*
|
|
2629
|
-
*
|
|
2630
|
-
*
|
|
2654
|
+
* {
|
|
2655
|
+
* "type": "object",
|
|
2656
|
+
* "properties": {
|
|
2657
|
+
* "allowMultiline": {
|
|
2658
|
+
* "type": "boolean"
|
|
2659
|
+
* },
|
|
2660
|
+
* "spacing": {
|
|
2661
|
+
* "type": "object",
|
|
2662
|
+
* "properties": {
|
|
2663
|
+
* "objectLiterals": {
|
|
2664
|
+
* "type": "string",
|
|
2665
|
+
* "enum": [
|
|
2666
|
+
* "always",
|
|
2667
|
+
* "never"
|
|
2668
|
+
* ]
|
|
2669
|
+
* }
|
|
2670
|
+
* },
|
|
2671
|
+
* "additionalProperties": false
|
|
2672
|
+
* }
|
|
2673
|
+
* },
|
|
2674
|
+
* "additionalProperties": false
|
|
2675
|
+
* }
|
|
2676
|
+
* ]
|
|
2677
|
+
* }
|
|
2678
|
+
* ]
|
|
2631
2679
|
* ```
|
|
2632
2680
|
*/
|
|
2633
2681
|
type Options = readonly [] | readonly [
|
|
@@ -5468,10 +5516,10 @@ declare namespace ExpListStyle {
|
|
|
5468
5516
|
* "additionalProperties": false,
|
|
5469
5517
|
* "properties": {
|
|
5470
5518
|
* "singleLine": {
|
|
5471
|
-
* "$ref": "
|
|
5519
|
+
* "$ref": "#/$defs/singleLineConfig"
|
|
5472
5520
|
* },
|
|
5473
5521
|
* "multiline": {
|
|
5474
|
-
* "$ref": "
|
|
5522
|
+
* "$ref": "#/$defs/multiLineConfig"
|
|
5475
5523
|
* }
|
|
5476
5524
|
* }
|
|
5477
5525
|
* }
|
|
@@ -5480,92 +5528,92 @@ declare namespace ExpListStyle {
|
|
|
5480
5528
|
* "additionalProperties": false,
|
|
5481
5529
|
* "properties": {
|
|
5482
5530
|
* "singleLine": {
|
|
5483
|
-
* "$ref": "
|
|
5531
|
+
* "$ref": "#/$defs/singleLineConfig"
|
|
5484
5532
|
* },
|
|
5485
5533
|
* "multiLine": {
|
|
5486
|
-
* "$ref": "
|
|
5534
|
+
* "$ref": "#/$defs/multiLineConfig"
|
|
5487
5535
|
* },
|
|
5488
5536
|
* "overrides": {
|
|
5489
5537
|
* "type": "object",
|
|
5490
5538
|
* "additionalProperties": false,
|
|
5491
5539
|
* "properties": {
|
|
5492
5540
|
* "[]": {
|
|
5493
|
-
* "$ref": "
|
|
5541
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5494
5542
|
* },
|
|
5495
5543
|
* "{}": {
|
|
5496
|
-
* "$ref": "
|
|
5544
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5497
5545
|
* },
|
|
5498
5546
|
* "<>": {
|
|
5499
|
-
* "$ref": "
|
|
5547
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5500
5548
|
* },
|
|
5501
5549
|
* "()": {
|
|
5502
|
-
* "$ref": "
|
|
5550
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5503
5551
|
* },
|
|
5504
5552
|
* "ArrayExpression": {
|
|
5505
|
-
* "$ref": "
|
|
5553
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5506
5554
|
* },
|
|
5507
5555
|
* "ArrayPattern": {
|
|
5508
|
-
* "$ref": "
|
|
5556
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5509
5557
|
* },
|
|
5510
5558
|
* "ArrowFunctionExpression": {
|
|
5511
|
-
* "$ref": "
|
|
5559
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5512
5560
|
* },
|
|
5513
5561
|
* "CallExpression": {
|
|
5514
|
-
* "$ref": "
|
|
5562
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5515
5563
|
* },
|
|
5516
5564
|
* "ExportNamedDeclaration": {
|
|
5517
|
-
* "$ref": "
|
|
5565
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5518
5566
|
* },
|
|
5519
5567
|
* "FunctionDeclaration": {
|
|
5520
|
-
* "$ref": "
|
|
5568
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5521
5569
|
* },
|
|
5522
5570
|
* "FunctionExpression": {
|
|
5523
|
-
* "$ref": "
|
|
5571
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5524
5572
|
* },
|
|
5525
5573
|
* "ImportDeclaration": {
|
|
5526
|
-
* "$ref": "
|
|
5574
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5527
5575
|
* },
|
|
5528
5576
|
* "ImportAttributes": {
|
|
5529
|
-
* "$ref": "
|
|
5577
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5530
5578
|
* },
|
|
5531
5579
|
* "NewExpression": {
|
|
5532
|
-
* "$ref": "
|
|
5580
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5533
5581
|
* },
|
|
5534
5582
|
* "ObjectExpression": {
|
|
5535
|
-
* "$ref": "
|
|
5583
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5536
5584
|
* },
|
|
5537
5585
|
* "ObjectPattern": {
|
|
5538
|
-
* "$ref": "
|
|
5586
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5539
5587
|
* },
|
|
5540
5588
|
* "TSDeclareFunction": {
|
|
5541
|
-
* "$ref": "
|
|
5589
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5542
5590
|
* },
|
|
5543
5591
|
* "TSFunctionType": {
|
|
5544
|
-
* "$ref": "
|
|
5592
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5545
5593
|
* },
|
|
5546
5594
|
* "TSInterfaceBody": {
|
|
5547
|
-
* "$ref": "
|
|
5595
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5548
5596
|
* },
|
|
5549
5597
|
* "TSEnumBody": {
|
|
5550
|
-
* "$ref": "
|
|
5598
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5551
5599
|
* },
|
|
5552
5600
|
* "TSTupleType": {
|
|
5553
|
-
* "$ref": "
|
|
5601
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5554
5602
|
* },
|
|
5555
5603
|
* "TSTypeLiteral": {
|
|
5556
|
-
* "$ref": "
|
|
5604
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5557
5605
|
* },
|
|
5558
5606
|
* "TSTypeParameterDeclaration": {
|
|
5559
|
-
* "$ref": "
|
|
5607
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5560
5608
|
* },
|
|
5561
5609
|
* "TSTypeParameterInstantiation": {
|
|
5562
|
-
* "$ref": "
|
|
5610
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5563
5611
|
* },
|
|
5564
5612
|
* "JSONArrayExpression": {
|
|
5565
|
-
* "$ref": "
|
|
5613
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5566
5614
|
* },
|
|
5567
5615
|
* "JSONObjectExpression": {
|
|
5568
|
-
* "$ref": "
|
|
5616
|
+
* "$ref": "#/$defs/baseConfig"
|
|
5569
5617
|
* }
|
|
5570
5618
|
* }
|
|
5571
5619
|
* }
|
|
@@ -5924,7 +5972,7 @@ declare namespace MemberDelimiterStyle {
|
|
|
5924
5972
|
* "type": "object",
|
|
5925
5973
|
* "properties": {
|
|
5926
5974
|
* "delimiter": {
|
|
5927
|
-
* "$ref": "
|
|
5975
|
+
* "$ref": "#/$defs/multiLineOption"
|
|
5928
5976
|
* },
|
|
5929
5977
|
* "requireLast": {
|
|
5930
5978
|
* "type": "boolean"
|
|
@@ -5936,7 +5984,7 @@ declare namespace MemberDelimiterStyle {
|
|
|
5936
5984
|
* "type": "object",
|
|
5937
5985
|
* "properties": {
|
|
5938
5986
|
* "delimiter": {
|
|
5939
|
-
* "$ref": "
|
|
5987
|
+
* "$ref": "#/$defs/singleLineOption"
|
|
5940
5988
|
* },
|
|
5941
5989
|
* "requireLast": {
|
|
5942
5990
|
* "type": "boolean"
|
|
@@ -5954,7 +6002,7 @@ declare namespace MemberDelimiterStyle {
|
|
|
5954
6002
|
* "type": "object",
|
|
5955
6003
|
* "properties": {
|
|
5956
6004
|
* "delimiter": {
|
|
5957
|
-
* "$ref": "
|
|
6005
|
+
* "$ref": "#/$defs/multiLineOption"
|
|
5958
6006
|
* },
|
|
5959
6007
|
* "requireLast": {
|
|
5960
6008
|
* "type": "boolean"
|
|
@@ -5966,7 +6014,7 @@ declare namespace MemberDelimiterStyle {
|
|
|
5966
6014
|
* "type": "object",
|
|
5967
6015
|
* "properties": {
|
|
5968
6016
|
* "delimiter": {
|
|
5969
|
-
* "$ref": "
|
|
6017
|
+
* "$ref": "#/$defs/singleLineOption"
|
|
5970
6018
|
* },
|
|
5971
6019
|
* "requireLast": {
|
|
5972
6020
|
* "type": "boolean"
|
|
@@ -5978,10 +6026,10 @@ declare namespace MemberDelimiterStyle {
|
|
|
5978
6026
|
* "type": "object",
|
|
5979
6027
|
* "properties": {
|
|
5980
6028
|
* "interface": {
|
|
5981
|
-
* "$ref": "
|
|
6029
|
+
* "$ref": "#/$defs/delimiterConfig"
|
|
5982
6030
|
* },
|
|
5983
6031
|
* "typeLiteral": {
|
|
5984
|
-
* "$ref": "
|
|
6032
|
+
* "$ref": "#/$defs/delimiterConfig"
|
|
5985
6033
|
* }
|
|
5986
6034
|
* },
|
|
5987
6035
|
* "additionalProperties": false
|
|
@@ -6046,42 +6094,49 @@ declare namespace MultilineCommentStyle {
|
|
|
6046
6094
|
* ### schema
|
|
6047
6095
|
*
|
|
6048
6096
|
* ```json
|
|
6049
|
-
*
|
|
6050
|
-
*
|
|
6051
|
-
*
|
|
6052
|
-
*
|
|
6053
|
-
*
|
|
6054
|
-
*
|
|
6055
|
-
*
|
|
6056
|
-
*
|
|
6057
|
-
*
|
|
6058
|
-
*
|
|
6059
|
-
*
|
|
6060
|
-
*
|
|
6061
|
-
*
|
|
6062
|
-
*
|
|
6063
|
-
*
|
|
6064
|
-
*
|
|
6065
|
-
*
|
|
6066
|
-
*
|
|
6067
|
-
*
|
|
6068
|
-
*
|
|
6069
|
-
*
|
|
6070
|
-
*
|
|
6071
|
-
*
|
|
6072
|
-
*
|
|
6073
|
-
* },
|
|
6074
|
-
* "checkExclamation": {
|
|
6075
|
-
* "type": "boolean"
|
|
6076
|
-
* }
|
|
6097
|
+
* [
|
|
6098
|
+
* {
|
|
6099
|
+
* "anyOf": [
|
|
6100
|
+
* {
|
|
6101
|
+
* "type": "array",
|
|
6102
|
+
* "items": [
|
|
6103
|
+
* {
|
|
6104
|
+
* "enum": [
|
|
6105
|
+
* "starred-block",
|
|
6106
|
+
* "bare-block"
|
|
6107
|
+
* ],
|
|
6108
|
+
* "type": "string"
|
|
6109
|
+
* }
|
|
6110
|
+
* ],
|
|
6111
|
+
* "additionalItems": false
|
|
6112
|
+
* },
|
|
6113
|
+
* {
|
|
6114
|
+
* "type": "array",
|
|
6115
|
+
* "items": [
|
|
6116
|
+
* {
|
|
6117
|
+
* "enum": [
|
|
6118
|
+
* "separate-lines"
|
|
6119
|
+
* ],
|
|
6120
|
+
* "type": "string"
|
|
6077
6121
|
* },
|
|
6078
|
-
*
|
|
6079
|
-
*
|
|
6080
|
-
*
|
|
6081
|
-
*
|
|
6082
|
-
*
|
|
6083
|
-
*
|
|
6084
|
-
*
|
|
6122
|
+
* {
|
|
6123
|
+
* "type": "object",
|
|
6124
|
+
* "properties": {
|
|
6125
|
+
* "checkJSDoc": {
|
|
6126
|
+
* "type": "boolean"
|
|
6127
|
+
* },
|
|
6128
|
+
* "checkExclamation": {
|
|
6129
|
+
* "type": "boolean"
|
|
6130
|
+
* }
|
|
6131
|
+
* },
|
|
6132
|
+
* "additionalProperties": false
|
|
6133
|
+
* }
|
|
6134
|
+
* ],
|
|
6135
|
+
* "additionalItems": false
|
|
6136
|
+
* }
|
|
6137
|
+
* ]
|
|
6138
|
+
* }
|
|
6139
|
+
* ]
|
|
6085
6140
|
* ```
|
|
6086
6141
|
*/
|
|
6087
6142
|
type Options = readonly [] | readonly ['starred-block' | 'bare-block'] | readonly ['separate-lines'] | readonly [
|
|
@@ -6274,97 +6329,108 @@ declare namespace NoExtraParens {
|
|
|
6274
6329
|
* ### schema
|
|
6275
6330
|
*
|
|
6276
6331
|
* ```json
|
|
6277
|
-
*
|
|
6278
|
-
*
|
|
6279
|
-
*
|
|
6280
|
-
*
|
|
6281
|
-
*
|
|
6282
|
-
*
|
|
6283
|
-
*
|
|
6284
|
-
*
|
|
6285
|
-
*
|
|
6286
|
-
*
|
|
6287
|
-
*
|
|
6288
|
-
*
|
|
6289
|
-
*
|
|
6290
|
-
*
|
|
6291
|
-
*
|
|
6292
|
-
*
|
|
6293
|
-
*
|
|
6294
|
-
*
|
|
6295
|
-
*
|
|
6296
|
-
*
|
|
6297
|
-
*
|
|
6298
|
-
*
|
|
6299
|
-
*
|
|
6300
|
-
*
|
|
6301
|
-
*
|
|
6302
|
-
*
|
|
6303
|
-
* "
|
|
6304
|
-
*
|
|
6305
|
-
*
|
|
6306
|
-
*
|
|
6307
|
-
* "type": "boolean"
|
|
6308
|
-
* },
|
|
6309
|
-
* "returnAssign": {
|
|
6310
|
-
* "type": "boolean"
|
|
6311
|
-
* },
|
|
6312
|
-
* "ignoreJSX": {
|
|
6313
|
-
* "type": "string",
|
|
6314
|
-
* "enum": ["none", "all", "single-line", "multi-line"]
|
|
6315
|
-
* },
|
|
6316
|
-
* "enforceForArrowConditionals": {
|
|
6317
|
-
* "type": "boolean"
|
|
6318
|
-
* },
|
|
6319
|
-
* "enforceForSequenceExpressions": {
|
|
6320
|
-
* "type": "boolean"
|
|
6321
|
-
* },
|
|
6322
|
-
* "enforceForNewInMemberExpressions": {
|
|
6323
|
-
* "type": "boolean"
|
|
6324
|
-
* },
|
|
6325
|
-
* "enforceForFunctionPrototypeMethods": {
|
|
6326
|
-
* "type": "boolean"
|
|
6327
|
-
* },
|
|
6328
|
-
* "allowParensAfterCommentPattern": {
|
|
6329
|
-
* "type": "string"
|
|
6330
|
-
* },
|
|
6331
|
-
* "nestedConditionalExpressions": {
|
|
6332
|
-
* "type": "boolean"
|
|
6333
|
-
* },
|
|
6334
|
-
* "allowNodesInSpreadElement": {
|
|
6335
|
-
* "type": "object",
|
|
6336
|
-
* "properties": {
|
|
6337
|
-
* "ConditionalExpression": {
|
|
6338
|
-
* "type": "boolean"
|
|
6339
|
-
* },
|
|
6340
|
-
* "LogicalExpression": {
|
|
6341
|
-
* "type": "boolean"
|
|
6342
|
-
* },
|
|
6343
|
-
* "AwaitExpression": {
|
|
6344
|
-
* "type": "boolean"
|
|
6345
|
-
* }
|
|
6332
|
+
* [
|
|
6333
|
+
* {
|
|
6334
|
+
* "anyOf": [
|
|
6335
|
+
* {
|
|
6336
|
+
* "type": "array",
|
|
6337
|
+
* "items": [
|
|
6338
|
+
* {
|
|
6339
|
+
* "type": "string",
|
|
6340
|
+
* "enum": [
|
|
6341
|
+
* "functions"
|
|
6342
|
+
* ]
|
|
6343
|
+
* }
|
|
6344
|
+
* ],
|
|
6345
|
+
* "minItems": 0,
|
|
6346
|
+
* "maxItems": 1
|
|
6347
|
+
* },
|
|
6348
|
+
* {
|
|
6349
|
+
* "type": "array",
|
|
6350
|
+
* "items": [
|
|
6351
|
+
* {
|
|
6352
|
+
* "type": "string",
|
|
6353
|
+
* "enum": [
|
|
6354
|
+
* "all"
|
|
6355
|
+
* ]
|
|
6356
|
+
* },
|
|
6357
|
+
* {
|
|
6358
|
+
* "type": "object",
|
|
6359
|
+
* "properties": {
|
|
6360
|
+
* "conditionalAssign": {
|
|
6361
|
+
* "type": "boolean"
|
|
6346
6362
|
* },
|
|
6347
|
-
* "
|
|
6348
|
-
*
|
|
6349
|
-
*
|
|
6350
|
-
* "
|
|
6351
|
-
*
|
|
6363
|
+
* "ternaryOperandBinaryExpressions": {
|
|
6364
|
+
* "type": "boolean"
|
|
6365
|
+
* },
|
|
6366
|
+
* "nestedBinaryExpressions": {
|
|
6367
|
+
* "type": "boolean"
|
|
6368
|
+
* },
|
|
6369
|
+
* "returnAssign": {
|
|
6370
|
+
* "type": "boolean"
|
|
6371
|
+
* },
|
|
6372
|
+
* "ignoreJSX": {
|
|
6352
6373
|
* "type": "string",
|
|
6353
|
-
* "
|
|
6374
|
+
* "enum": [
|
|
6375
|
+
* "none",
|
|
6376
|
+
* "all",
|
|
6377
|
+
* "single-line",
|
|
6378
|
+
* "multi-line"
|
|
6379
|
+
* ]
|
|
6380
|
+
* },
|
|
6381
|
+
* "enforceForArrowConditionals": {
|
|
6382
|
+
* "type": "boolean"
|
|
6383
|
+
* },
|
|
6384
|
+
* "enforceForSequenceExpressions": {
|
|
6385
|
+
* "type": "boolean"
|
|
6386
|
+
* },
|
|
6387
|
+
* "enforceForNewInMemberExpressions": {
|
|
6388
|
+
* "type": "boolean"
|
|
6389
|
+
* },
|
|
6390
|
+
* "enforceForFunctionPrototypeMethods": {
|
|
6391
|
+
* "type": "boolean"
|
|
6392
|
+
* },
|
|
6393
|
+
* "allowParensAfterCommentPattern": {
|
|
6394
|
+
* "type": "string"
|
|
6395
|
+
* },
|
|
6396
|
+
* "nestedConditionalExpressions": {
|
|
6397
|
+
* "type": "boolean"
|
|
6398
|
+
* },
|
|
6399
|
+
* "allowNodesInSpreadElement": {
|
|
6400
|
+
* "type": "object",
|
|
6401
|
+
* "properties": {
|
|
6402
|
+
* "ConditionalExpression": {
|
|
6403
|
+
* "type": "boolean"
|
|
6404
|
+
* },
|
|
6405
|
+
* "LogicalExpression": {
|
|
6406
|
+
* "type": "boolean"
|
|
6407
|
+
* },
|
|
6408
|
+
* "AwaitExpression": {
|
|
6409
|
+
* "type": "boolean"
|
|
6410
|
+
* }
|
|
6411
|
+
* },
|
|
6412
|
+
* "additionalProperties": false
|
|
6413
|
+
* },
|
|
6414
|
+
* "ignoredNodes": {
|
|
6415
|
+
* "type": "array",
|
|
6416
|
+
* "items": {
|
|
6354
6417
|
* "type": "string",
|
|
6355
|
-
* "
|
|
6418
|
+
* "not": {
|
|
6419
|
+
* "type": "string",
|
|
6420
|
+
* "pattern": ":exit$"
|
|
6421
|
+
* }
|
|
6356
6422
|
* }
|
|
6357
6423
|
* }
|
|
6358
|
-
* }
|
|
6359
|
-
*
|
|
6360
|
-
*
|
|
6361
|
-
*
|
|
6362
|
-
*
|
|
6363
|
-
*
|
|
6364
|
-
*
|
|
6365
|
-
*
|
|
6366
|
-
*
|
|
6367
|
-
*
|
|
6424
|
+
* },
|
|
6425
|
+
* "additionalProperties": false
|
|
6426
|
+
* }
|
|
6427
|
+
* ],
|
|
6428
|
+
* "minItems": 0,
|
|
6429
|
+
* "maxItems": 2
|
|
6430
|
+
* }
|
|
6431
|
+
* ]
|
|
6432
|
+
* }
|
|
6433
|
+
* ]
|
|
6368
6434
|
* ```
|
|
6369
6435
|
*/
|
|
6370
6436
|
type Options = readonly [] | readonly ['functions'] | readonly ['all'] | readonly [
|
|
@@ -7521,109 +7587,119 @@ declare namespace PaddingLineBetweenStatements {
|
|
|
7521
7587
|
* ### schema
|
|
7522
7588
|
*
|
|
7523
7589
|
* ```json
|
|
7524
|
-
*
|
|
7525
|
-
*
|
|
7526
|
-
* "
|
|
7527
|
-
* "
|
|
7528
|
-
*
|
|
7529
|
-
*
|
|
7530
|
-
*
|
|
7531
|
-
*
|
|
7532
|
-
*
|
|
7533
|
-
*
|
|
7534
|
-
*
|
|
7535
|
-
*
|
|
7536
|
-
* "
|
|
7537
|
-
* "
|
|
7538
|
-
*
|
|
7539
|
-
*
|
|
7540
|
-
*
|
|
7541
|
-
*
|
|
7542
|
-
*
|
|
7543
|
-
*
|
|
7544
|
-
*
|
|
7545
|
-
*
|
|
7546
|
-
*
|
|
7547
|
-
*
|
|
7548
|
-
*
|
|
7549
|
-
*
|
|
7550
|
-
*
|
|
7551
|
-
*
|
|
7552
|
-
*
|
|
7553
|
-
*
|
|
7554
|
-
*
|
|
7555
|
-
*
|
|
7556
|
-
*
|
|
7557
|
-
*
|
|
7558
|
-
*
|
|
7559
|
-
*
|
|
7560
|
-
*
|
|
7561
|
-
*
|
|
7562
|
-
*
|
|
7563
|
-
*
|
|
7564
|
-
*
|
|
7565
|
-
*
|
|
7566
|
-
*
|
|
7567
|
-
*
|
|
7568
|
-
*
|
|
7569
|
-
*
|
|
7570
|
-
*
|
|
7571
|
-
*
|
|
7572
|
-
*
|
|
7573
|
-
*
|
|
7574
|
-
*
|
|
7575
|
-
*
|
|
7576
|
-
*
|
|
7577
|
-
*
|
|
7578
|
-
*
|
|
7579
|
-
*
|
|
7580
|
-
*
|
|
7581
|
-
*
|
|
7582
|
-
*
|
|
7583
|
-
*
|
|
7584
|
-
*
|
|
7585
|
-
*
|
|
7586
|
-
*
|
|
7587
|
-
*
|
|
7588
|
-
*
|
|
7589
|
-
*
|
|
7590
|
-
*
|
|
7591
|
-
*
|
|
7592
|
-
*
|
|
7593
|
-
*
|
|
7594
|
-
*
|
|
7595
|
-
*
|
|
7596
|
-
*
|
|
7597
|
-
*
|
|
7598
|
-
*
|
|
7590
|
+
* [
|
|
7591
|
+
* {
|
|
7592
|
+
* "$defs": {
|
|
7593
|
+
* "paddingType": {
|
|
7594
|
+
* "type": "string",
|
|
7595
|
+
* "enum": [
|
|
7596
|
+
* "any",
|
|
7597
|
+
* "never",
|
|
7598
|
+
* "always"
|
|
7599
|
+
* ]
|
|
7600
|
+
* },
|
|
7601
|
+
* "statementType": {
|
|
7602
|
+
* "type": "string",
|
|
7603
|
+
* "enum": [
|
|
7604
|
+
* "*",
|
|
7605
|
+
* "exports",
|
|
7606
|
+
* "require",
|
|
7607
|
+
* "directive",
|
|
7608
|
+
* "iife",
|
|
7609
|
+
* "block",
|
|
7610
|
+
* "empty",
|
|
7611
|
+
* "function",
|
|
7612
|
+
* "ts-method",
|
|
7613
|
+
* "break",
|
|
7614
|
+
* "case",
|
|
7615
|
+
* "class",
|
|
7616
|
+
* "continue",
|
|
7617
|
+
* "debugger",
|
|
7618
|
+
* "default",
|
|
7619
|
+
* "do",
|
|
7620
|
+
* "for",
|
|
7621
|
+
* "if",
|
|
7622
|
+
* "import",
|
|
7623
|
+
* "switch",
|
|
7624
|
+
* "throw",
|
|
7625
|
+
* "try",
|
|
7626
|
+
* "while",
|
|
7627
|
+
* "with",
|
|
7628
|
+
* "cjs-export",
|
|
7629
|
+
* "cjs-import",
|
|
7630
|
+
* "enum",
|
|
7631
|
+
* "interface",
|
|
7632
|
+
* "function-overload",
|
|
7633
|
+
* "block-like",
|
|
7634
|
+
* "singleline-block-like",
|
|
7635
|
+
* "multiline-block-like",
|
|
7636
|
+
* "expression",
|
|
7637
|
+
* "singleline-expression",
|
|
7638
|
+
* "multiline-expression",
|
|
7639
|
+
* "return",
|
|
7640
|
+
* "singleline-return",
|
|
7641
|
+
* "multiline-return",
|
|
7642
|
+
* "export",
|
|
7643
|
+
* "singleline-export",
|
|
7644
|
+
* "multiline-export",
|
|
7645
|
+
* "var",
|
|
7646
|
+
* "singleline-var",
|
|
7647
|
+
* "multiline-var",
|
|
7648
|
+
* "let",
|
|
7649
|
+
* "singleline-let",
|
|
7650
|
+
* "multiline-let",
|
|
7651
|
+
* "const",
|
|
7652
|
+
* "singleline-const",
|
|
7653
|
+
* "multiline-const",
|
|
7654
|
+
* "using",
|
|
7655
|
+
* "singleline-using",
|
|
7656
|
+
* "multiline-using",
|
|
7657
|
+
* "type",
|
|
7658
|
+
* "singleline-type",
|
|
7659
|
+
* "multiline-type"
|
|
7660
|
+
* ]
|
|
7661
|
+
* },
|
|
7662
|
+
* "statementOption": {
|
|
7663
|
+
* "anyOf": [
|
|
7664
|
+
* {
|
|
7599
7665
|
* "$ref": "#/$defs/statementType"
|
|
7600
7666
|
* },
|
|
7601
|
-
*
|
|
7602
|
-
*
|
|
7603
|
-
*
|
|
7667
|
+
* {
|
|
7668
|
+
* "type": "array",
|
|
7669
|
+
* "items": {
|
|
7670
|
+
* "$ref": "#/$defs/statementType"
|
|
7671
|
+
* },
|
|
7672
|
+
* "minItems": 1,
|
|
7673
|
+
* "uniqueItems": true,
|
|
7674
|
+
* "additionalItems": false
|
|
7675
|
+
* }
|
|
7676
|
+
* ]
|
|
7677
|
+
* }
|
|
7678
|
+
* },
|
|
7679
|
+
* "type": "array",
|
|
7680
|
+
* "additionalItems": false,
|
|
7681
|
+
* "items": {
|
|
7682
|
+
* "type": "object",
|
|
7683
|
+
* "properties": {
|
|
7684
|
+
* "blankLine": {
|
|
7685
|
+
* "$ref": "#/$defs/paddingType"
|
|
7686
|
+
* },
|
|
7687
|
+
* "prev": {
|
|
7688
|
+
* "$ref": "#/$defs/statementOption"
|
|
7689
|
+
* },
|
|
7690
|
+
* "next": {
|
|
7691
|
+
* "$ref": "#/$defs/statementOption"
|
|
7604
7692
|
* }
|
|
7693
|
+
* },
|
|
7694
|
+
* "additionalProperties": false,
|
|
7695
|
+
* "required": [
|
|
7696
|
+
* "blankLine",
|
|
7697
|
+
* "prev",
|
|
7698
|
+
* "next"
|
|
7605
7699
|
* ]
|
|
7606
7700
|
* }
|
|
7607
|
-
* },
|
|
7608
|
-
* "type": "array",
|
|
7609
|
-
* "additionalItems": false,
|
|
7610
|
-
* "items": {
|
|
7611
|
-
* "type": "object",
|
|
7612
|
-
* "properties": {
|
|
7613
|
-
* "blankLine": {
|
|
7614
|
-
* "$ref": "#/$defs/paddingType"
|
|
7615
|
-
* },
|
|
7616
|
-
* "prev": {
|
|
7617
|
-
* "$ref": "#/$defs/statementOption"
|
|
7618
|
-
* },
|
|
7619
|
-
* "next": {
|
|
7620
|
-
* "$ref": "#/$defs/statementOption"
|
|
7621
|
-
* }
|
|
7622
|
-
* },
|
|
7623
|
-
* "additionalProperties": false,
|
|
7624
|
-
* "required": ["blankLine", "prev", "next"]
|
|
7625
7701
|
* }
|
|
7626
|
-
*
|
|
7702
|
+
* ]
|
|
7627
7703
|
* ```
|
|
7628
7704
|
*/
|
|
7629
7705
|
type PaddingType = 'any' | 'never' | 'always';
|
|
@@ -7655,57 +7731,59 @@ declare namespace QuoteProps {
|
|
|
7655
7731
|
* ### schema
|
|
7656
7732
|
*
|
|
7657
7733
|
* ```json
|
|
7658
|
-
*
|
|
7659
|
-
*
|
|
7660
|
-
*
|
|
7661
|
-
*
|
|
7662
|
-
*
|
|
7663
|
-
*
|
|
7664
|
-
*
|
|
7665
|
-
*
|
|
7666
|
-
* "
|
|
7667
|
-
*
|
|
7668
|
-
*
|
|
7669
|
-
*
|
|
7670
|
-
*
|
|
7671
|
-
*
|
|
7672
|
-
*
|
|
7673
|
-
*
|
|
7674
|
-
*
|
|
7675
|
-
*
|
|
7676
|
-
*
|
|
7677
|
-
*
|
|
7678
|
-
*
|
|
7679
|
-
*
|
|
7680
|
-
*
|
|
7681
|
-
*
|
|
7682
|
-
* "
|
|
7683
|
-
*
|
|
7684
|
-
*
|
|
7685
|
-
*
|
|
7686
|
-
*
|
|
7687
|
-
*
|
|
7688
|
-
* {
|
|
7689
|
-
* "type": "object",
|
|
7690
|
-
* "properties": {
|
|
7691
|
-
* "keywords": {
|
|
7692
|
-
* "type": "boolean"
|
|
7693
|
-
* },
|
|
7694
|
-
* "unnecessary": {
|
|
7695
|
-
* "type": "boolean"
|
|
7696
|
-
* },
|
|
7697
|
-
* "numbers": {
|
|
7698
|
-
* "type": "boolean"
|
|
7699
|
-
* }
|
|
7734
|
+
* [
|
|
7735
|
+
* {
|
|
7736
|
+
* "anyOf": [
|
|
7737
|
+
* {
|
|
7738
|
+
* "type": "array",
|
|
7739
|
+
* "items": [
|
|
7740
|
+
* {
|
|
7741
|
+
* "type": "string",
|
|
7742
|
+
* "enum": [
|
|
7743
|
+
* "always",
|
|
7744
|
+
* "as-needed",
|
|
7745
|
+
* "consistent",
|
|
7746
|
+
* "consistent-as-needed"
|
|
7747
|
+
* ]
|
|
7748
|
+
* }
|
|
7749
|
+
* ],
|
|
7750
|
+
* "minItems": 0,
|
|
7751
|
+
* "maxItems": 1
|
|
7752
|
+
* },
|
|
7753
|
+
* {
|
|
7754
|
+
* "type": "array",
|
|
7755
|
+
* "items": [
|
|
7756
|
+
* {
|
|
7757
|
+
* "type": "string",
|
|
7758
|
+
* "enum": [
|
|
7759
|
+
* "always",
|
|
7760
|
+
* "as-needed",
|
|
7761
|
+
* "consistent",
|
|
7762
|
+
* "consistent-as-needed"
|
|
7763
|
+
* ]
|
|
7700
7764
|
* },
|
|
7701
|
-
*
|
|
7702
|
-
*
|
|
7703
|
-
*
|
|
7704
|
-
*
|
|
7705
|
-
*
|
|
7706
|
-
*
|
|
7707
|
-
*
|
|
7708
|
-
*
|
|
7765
|
+
* {
|
|
7766
|
+
* "type": "object",
|
|
7767
|
+
* "properties": {
|
|
7768
|
+
* "keywords": {
|
|
7769
|
+
* "type": "boolean"
|
|
7770
|
+
* },
|
|
7771
|
+
* "unnecessary": {
|
|
7772
|
+
* "type": "boolean"
|
|
7773
|
+
* },
|
|
7774
|
+
* "numbers": {
|
|
7775
|
+
* "type": "boolean"
|
|
7776
|
+
* }
|
|
7777
|
+
* },
|
|
7778
|
+
* "additionalProperties": false
|
|
7779
|
+
* }
|
|
7780
|
+
* ],
|
|
7781
|
+
* "minItems": 0,
|
|
7782
|
+
* "maxItems": 2
|
|
7783
|
+
* }
|
|
7784
|
+
* ]
|
|
7785
|
+
* }
|
|
7786
|
+
* ]
|
|
7709
7787
|
* ```
|
|
7710
7788
|
*/
|
|
7711
7789
|
type Options = readonly [] | readonly ['always' | 'as-needed' | 'consistent' | 'consistent-as-needed'] | readonly [
|
|
@@ -7843,54 +7921,64 @@ declare namespace Semi {
|
|
|
7843
7921
|
* ### schema
|
|
7844
7922
|
*
|
|
7845
7923
|
* ```json
|
|
7846
|
-
*
|
|
7847
|
-
*
|
|
7848
|
-
*
|
|
7849
|
-
*
|
|
7850
|
-
*
|
|
7851
|
-
*
|
|
7852
|
-
*
|
|
7853
|
-
*
|
|
7854
|
-
*
|
|
7855
|
-
*
|
|
7856
|
-
*
|
|
7857
|
-
* "properties": {
|
|
7858
|
-
* "beforeStatementContinuationChars": {
|
|
7859
|
-
* "type": "string",
|
|
7860
|
-
* "enum": ["always", "any", "never"]
|
|
7861
|
-
* }
|
|
7924
|
+
* [
|
|
7925
|
+
* {
|
|
7926
|
+
* "anyOf": [
|
|
7927
|
+
* {
|
|
7928
|
+
* "type": "array",
|
|
7929
|
+
* "items": [
|
|
7930
|
+
* {
|
|
7931
|
+
* "type": "string",
|
|
7932
|
+
* "enum": [
|
|
7933
|
+
* "never"
|
|
7934
|
+
* ]
|
|
7862
7935
|
* },
|
|
7863
|
-
*
|
|
7864
|
-
*
|
|
7865
|
-
*
|
|
7866
|
-
*
|
|
7867
|
-
*
|
|
7868
|
-
*
|
|
7869
|
-
*
|
|
7870
|
-
*
|
|
7871
|
-
*
|
|
7872
|
-
*
|
|
7873
|
-
*
|
|
7874
|
-
* "enum": ["always"]
|
|
7875
|
-
* },
|
|
7876
|
-
* {
|
|
7877
|
-
* "type": "object",
|
|
7878
|
-
* "properties": {
|
|
7879
|
-
* "omitLastInOneLineBlock": {
|
|
7880
|
-
* "type": "boolean"
|
|
7936
|
+
* {
|
|
7937
|
+
* "type": "object",
|
|
7938
|
+
* "properties": {
|
|
7939
|
+
* "beforeStatementContinuationChars": {
|
|
7940
|
+
* "type": "string",
|
|
7941
|
+
* "enum": [
|
|
7942
|
+
* "always",
|
|
7943
|
+
* "any",
|
|
7944
|
+
* "never"
|
|
7945
|
+
* ]
|
|
7946
|
+
* }
|
|
7881
7947
|
* },
|
|
7882
|
-
* "
|
|
7883
|
-
*
|
|
7884
|
-
*
|
|
7948
|
+
* "additionalProperties": false
|
|
7949
|
+
* }
|
|
7950
|
+
* ],
|
|
7951
|
+
* "minItems": 0,
|
|
7952
|
+
* "maxItems": 2
|
|
7953
|
+
* },
|
|
7954
|
+
* {
|
|
7955
|
+
* "type": "array",
|
|
7956
|
+
* "items": [
|
|
7957
|
+
* {
|
|
7958
|
+
* "type": "string",
|
|
7959
|
+
* "enum": [
|
|
7960
|
+
* "always"
|
|
7961
|
+
* ]
|
|
7885
7962
|
* },
|
|
7886
|
-
*
|
|
7887
|
-
*
|
|
7888
|
-
*
|
|
7889
|
-
*
|
|
7890
|
-
*
|
|
7891
|
-
*
|
|
7892
|
-
*
|
|
7893
|
-
*
|
|
7963
|
+
* {
|
|
7964
|
+
* "type": "object",
|
|
7965
|
+
* "properties": {
|
|
7966
|
+
* "omitLastInOneLineBlock": {
|
|
7967
|
+
* "type": "boolean"
|
|
7968
|
+
* },
|
|
7969
|
+
* "omitLastInOneLineClassBody": {
|
|
7970
|
+
* "type": "boolean"
|
|
7971
|
+
* }
|
|
7972
|
+
* },
|
|
7973
|
+
* "additionalProperties": false
|
|
7974
|
+
* }
|
|
7975
|
+
* ],
|
|
7976
|
+
* "minItems": 0,
|
|
7977
|
+
* "maxItems": 2
|
|
7978
|
+
* }
|
|
7979
|
+
* ]
|
|
7980
|
+
* }
|
|
7981
|
+
* ]
|
|
7894
7982
|
* ```
|
|
7895
7983
|
*/
|
|
7896
7984
|
type Options = readonly [] | readonly ['never'] | readonly [
|
|
@@ -8547,22 +8635,22 @@ declare namespace TypeAnnotationSpacing {
|
|
|
8547
8635
|
* "type": "object",
|
|
8548
8636
|
* "properties": {
|
|
8549
8637
|
* "colon": {
|
|
8550
|
-
* "$ref": "
|
|
8638
|
+
* "$ref": "#/$defs/spacingConfig"
|
|
8551
8639
|
* },
|
|
8552
8640
|
* "arrow": {
|
|
8553
|
-
* "$ref": "
|
|
8641
|
+
* "$ref": "#/$defs/spacingConfig"
|
|
8554
8642
|
* },
|
|
8555
8643
|
* "variable": {
|
|
8556
|
-
* "$ref": "
|
|
8644
|
+
* "$ref": "#/$defs/spacingConfig"
|
|
8557
8645
|
* },
|
|
8558
8646
|
* "parameter": {
|
|
8559
|
-
* "$ref": "
|
|
8647
|
+
* "$ref": "#/$defs/spacingConfig"
|
|
8560
8648
|
* },
|
|
8561
8649
|
* "property": {
|
|
8562
|
-
* "$ref": "
|
|
8650
|
+
* "$ref": "#/$defs/spacingConfig"
|
|
8563
8651
|
* },
|
|
8564
8652
|
* "returnType": {
|
|
8565
|
-
* "$ref": "
|
|
8653
|
+
* "$ref": "#/$defs/spacingConfig"
|
|
8566
8654
|
* }
|
|
8567
8655
|
* },
|
|
8568
8656
|
* "additionalProperties": false
|