@ben_12/eslint-plugin-dprint 0.13.8 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -527,6 +527,33 @@
|
|
|
527
527
|
}
|
|
528
528
|
]
|
|
529
529
|
},
|
|
530
|
+
"typeOnlyImportsExportsSortOrder": {
|
|
531
|
+
"description": "The kind of sort ordering to use for typed imports and exports.",
|
|
532
|
+
"type": "string",
|
|
533
|
+
"oneOf": [
|
|
534
|
+
{
|
|
535
|
+
"description": "Puts type-only named imports and exports first.",
|
|
536
|
+
"type": "string",
|
|
537
|
+
"enum": [
|
|
538
|
+
"first"
|
|
539
|
+
]
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"description": "Puts type-only named imports and exports last.",
|
|
543
|
+
"type": "string",
|
|
544
|
+
"enum": [
|
|
545
|
+
"last"
|
|
546
|
+
]
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"description": "Does not sort based on if a type-only named import or export.",
|
|
550
|
+
"type": "string",
|
|
551
|
+
"enum": [
|
|
552
|
+
"none"
|
|
553
|
+
]
|
|
554
|
+
}
|
|
555
|
+
]
|
|
556
|
+
},
|
|
530
557
|
"sortOrder": {
|
|
531
558
|
"description": "The kind of sort ordering to use.",
|
|
532
559
|
"type": "string",
|
|
@@ -1544,9 +1571,15 @@
|
|
|
1544
1571
|
"exportDeclaration.sortNamedExports": {
|
|
1545
1572
|
"$ref": "#/definitions/sortOrder"
|
|
1546
1573
|
},
|
|
1574
|
+
"exportDeclaration.sortTypeOnlyExports": {
|
|
1575
|
+
"$ref": "#/definitions/typeOnlyImportsExportsSortOrder"
|
|
1576
|
+
},
|
|
1547
1577
|
"importDeclaration.sortNamedImports": {
|
|
1548
1578
|
"$ref": "#/definitions/sortOrder"
|
|
1549
1579
|
},
|
|
1580
|
+
"importDeclaration.sortTypeOnlyImports": {
|
|
1581
|
+
"$ref": "#/definitions/typeOnlyImportsExportsSortOrder"
|
|
1582
|
+
},
|
|
1550
1583
|
"ignoreNodeCommentText": {
|
|
1551
1584
|
"description": "The text to use for an ignore comment (ex. `// dprint-ignore`).",
|
|
1552
1585
|
"type": "string"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ben_12/eslint-plugin-dprint",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "An ESLint plugin that fixes code with dprint",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"@dprint/json": "^0.19.3",
|
|
16
16
|
"@dprint/markdown": "^0.17.8",
|
|
17
17
|
"@dprint/toml": "^0.6.2",
|
|
18
|
-
"@dprint/typescript": "^0.
|
|
18
|
+
"@dprint/typescript": "^0.93.0",
|
|
19
19
|
"eslint": ">=7.0.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependenciesMeta": {
|