@ben_12/eslint-plugin-dprint 1.2.1 → 1.3.1
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.
|
@@ -226,6 +226,26 @@
|
|
|
226
226
|
}
|
|
227
227
|
]
|
|
228
228
|
},
|
|
229
|
+
"declarationOrderGroupBy": {
|
|
230
|
+
"description": "Control how declarations are considered as a group when sorting.",
|
|
231
|
+
"type": "string",
|
|
232
|
+
"oneOf": [
|
|
233
|
+
{
|
|
234
|
+
"description": "Non-declaration statements are considered as the boundaries of declaration group.",
|
|
235
|
+
"type": "string",
|
|
236
|
+
"enum": [
|
|
237
|
+
"nonDeclaration"
|
|
238
|
+
]
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"description": "Non-declaration statements and empty lines (without comments) are considered as the boundaries of declaration group.",
|
|
242
|
+
"type": "string",
|
|
243
|
+
"enum": [
|
|
244
|
+
"nonDeclarationAndEmptyLine"
|
|
245
|
+
]
|
|
246
|
+
}
|
|
247
|
+
]
|
|
248
|
+
},
|
|
229
249
|
"singleLineBlockThreshold": {
|
|
230
250
|
"description": "Control the threshold value for putting block on a single line. If the number of statements in a block is less than or equal to this value, the block will be put on a single line as possible, but when the code can't fit on single line, it will still break into multiple lines.",
|
|
231
251
|
"type": [
|
|
@@ -156,6 +156,10 @@
|
|
|
156
156
|
"description": "Control whether attributes should be put on single line when possible. This option conflicts with `maxAttrsPerLine` option.",
|
|
157
157
|
"type": "boolean"
|
|
158
158
|
},
|
|
159
|
+
"singleAttrSameLine": {
|
|
160
|
+
"description": "Control whether single attribute should be put on the same line with tag name.",
|
|
161
|
+
"type": "boolean"
|
|
162
|
+
},
|
|
159
163
|
"html.normal.selfClosing": {
|
|
160
164
|
"description": "Control whether HTML normal element should be self-closed or not if it doesn't have children.",
|
|
161
165
|
"type": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ben_12/eslint-plugin-dprint",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "An ESLint plugin that fixes code with dprint",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"@dprint/json": "^0.20.0",
|
|
16
16
|
"@dprint/markdown": "^0.18.0",
|
|
17
17
|
"@dprint/toml": "^0.7.0",
|
|
18
|
-
"@dprint/typescript": "^0.95.
|
|
18
|
+
"@dprint/typescript": "^0.95.3",
|
|
19
19
|
"dprint-plugin-graphql": "^0.2.0",
|
|
20
|
-
"dprint-plugin-malva": "^0.
|
|
21
|
-
"dprint-plugin-markup": "^0.
|
|
20
|
+
"dprint-plugin-malva": "^0.12.1",
|
|
21
|
+
"dprint-plugin-markup": "^0.20.0",
|
|
22
22
|
"dprint-plugin-yaml": "^0.5.0",
|
|
23
23
|
"eslint": ">=7.0.0"
|
|
24
24
|
},
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@dprint/json": "^0.20.0",
|
|
65
65
|
"@dprint/markdown": "^0.18.0",
|
|
66
66
|
"@dprint/toml": "^0.7.0",
|
|
67
|
-
"@dprint/typescript": "^0.95.
|
|
67
|
+
"@dprint/typescript": "^0.95.3",
|
|
68
68
|
"@types/debug": "^4.1.5",
|
|
69
69
|
"@types/diff": "^7.0.0",
|
|
70
70
|
"@types/eslint": "^9.0.0",
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
73
73
|
"axios": "^1.7.9",
|
|
74
74
|
"dprint-plugin-graphql": "^0.2.0",
|
|
75
|
-
"dprint-plugin-malva": "^0.
|
|
76
|
-
"dprint-plugin-markup": "^0.
|
|
75
|
+
"dprint-plugin-malva": "^0.12.1",
|
|
76
|
+
"dprint-plugin-markup": "^0.20.0",
|
|
77
77
|
"dprint-plugin-yaml": "^0.5.0",
|
|
78
78
|
"eslint": "^9.0.0",
|
|
79
79
|
"mocha": "^11.0.0",
|