@ben_12/eslint-plugin-dprint 1.17.1 → 1.19.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.
|
@@ -142,6 +142,26 @@
|
|
|
142
142
|
}
|
|
143
143
|
]
|
|
144
144
|
},
|
|
145
|
+
"listIndentKind": {
|
|
146
|
+
"description": "The style of indentation to use for list items. CommonMark aligns to the content column after the marker. PythonMarkdown uses a fixed 4-space indent, required by tools like mkdocs-material.",
|
|
147
|
+
"type": "string",
|
|
148
|
+
"oneOf": [
|
|
149
|
+
{
|
|
150
|
+
"description": "Indents continuation lines to align with the content after the list marker (e.g. 3 spaces for '1. ', 4 for '10. ').",
|
|
151
|
+
"type": "string",
|
|
152
|
+
"enum": [
|
|
153
|
+
"commonMark"
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"description": "Always indents by 4 spaces, regardless of marker width.",
|
|
158
|
+
"type": "string",
|
|
159
|
+
"enum": [
|
|
160
|
+
"pythonMarkdown"
|
|
161
|
+
]
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
},
|
|
145
165
|
"deno": {
|
|
146
166
|
"description": "Top level configuration that sets the configuration to what is used in Deno.",
|
|
147
167
|
"type": "boolean",
|
|
@@ -190,6 +210,9 @@
|
|
|
190
210
|
"headingKind": {
|
|
191
211
|
"$ref": "#/definitions/headingKind"
|
|
192
212
|
},
|
|
213
|
+
"listIndentKind": {
|
|
214
|
+
"$ref": "#/definitions/listIndentKind"
|
|
215
|
+
},
|
|
193
216
|
"deno": {
|
|
194
217
|
"$ref": "#/definitions/deno"
|
|
195
218
|
},
|
|
@@ -1115,6 +1115,26 @@
|
|
|
1115
1115
|
}
|
|
1116
1116
|
]
|
|
1117
1117
|
},
|
|
1118
|
+
"functionExpression.flatIife": {
|
|
1119
|
+
"description": "Whether to skip indenting the body of a function expression used in an IIFE.",
|
|
1120
|
+
"type": "boolean",
|
|
1121
|
+
"oneOf": [
|
|
1122
|
+
{
|
|
1123
|
+
"description": "Does not indent the body of the function in `(function() { ... })();`.",
|
|
1124
|
+
"type": "boolean",
|
|
1125
|
+
"enum": [
|
|
1126
|
+
true
|
|
1127
|
+
]
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
"description": "Indents the body as normal.",
|
|
1131
|
+
"type": "boolean",
|
|
1132
|
+
"enum": [
|
|
1133
|
+
false
|
|
1134
|
+
]
|
|
1135
|
+
}
|
|
1136
|
+
]
|
|
1137
|
+
},
|
|
1118
1138
|
"getAccessor.spaceBeforeParentheses": {
|
|
1119
1139
|
"description": "Whether to add a space before the parentheses of a get accessor.",
|
|
1120
1140
|
"type": "boolean",
|
|
@@ -1529,6 +1549,9 @@
|
|
|
1529
1549
|
"functionExpression.spaceAfterFunctionKeyword": {
|
|
1530
1550
|
"$ref": "#/definitions/functionExpression.spaceAfterFunctionKeyword"
|
|
1531
1551
|
},
|
|
1552
|
+
"functionExpression.flatIife": {
|
|
1553
|
+
"$ref": "#/definitions/functionExpression.flatIife"
|
|
1554
|
+
},
|
|
1532
1555
|
"getAccessor.spaceBeforeParentheses": {
|
|
1533
1556
|
"$ref": "#/definitions/getAccessor.spaceBeforeParentheses"
|
|
1534
1557
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ben_12/eslint-plugin-dprint",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.0",
|
|
4
4
|
"description": "An ESLint plugin that fixes code with dprint",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"peerDependencies": {
|
|
14
14
|
"@dprint/dockerfile": "^0.3.3",
|
|
15
15
|
"@dprint/json": "^0.21.3",
|
|
16
|
-
"@dprint/markdown": "^0.
|
|
16
|
+
"@dprint/markdown": "^0.22.0",
|
|
17
17
|
"@dprint/toml": "^0.7.0",
|
|
18
|
-
"@dprint/typescript": "^0.
|
|
18
|
+
"@dprint/typescript": "^0.96.0",
|
|
19
19
|
"dprint-plugin-graphql": "^0.2.3",
|
|
20
20
|
"dprint-plugin-malva": "^0.15.3",
|
|
21
|
-
"dprint-plugin-markup": "^0.27.
|
|
21
|
+
"dprint-plugin-markup": "^0.27.1",
|
|
22
22
|
"dprint-plugin-yaml": "^0.6.0",
|
|
23
23
|
"eslint": ">=7.0.0"
|
|
24
24
|
},
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"@ben_12/eslint-simple-parser": "^0.1.0",
|
|
63
63
|
"@dprint/dockerfile": "^0.3.3",
|
|
64
64
|
"@dprint/json": "^0.21.3",
|
|
65
|
-
"@dprint/markdown": "^0.
|
|
65
|
+
"@dprint/markdown": "^0.22.0",
|
|
66
66
|
"@dprint/toml": "^0.7.0",
|
|
67
|
-
"@dprint/typescript": "^0.
|
|
67
|
+
"@dprint/typescript": "^0.96.0",
|
|
68
68
|
"@types/debug": "^4.1.5",
|
|
69
69
|
"@types/eslint": "^9.0.0",
|
|
70
70
|
"@types/node": "^18.0.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"axios": "^1.7.9",
|
|
73
73
|
"dprint-plugin-graphql": "^0.2.3",
|
|
74
74
|
"dprint-plugin-malva": "^0.15.3",
|
|
75
|
-
"dprint-plugin-markup": "^0.27.
|
|
75
|
+
"dprint-plugin-markup": "^0.27.1",
|
|
76
76
|
"dprint-plugin-yaml": "^0.6.0",
|
|
77
77
|
"eslint": "^9.0.0",
|
|
78
78
|
"mocha": "^11.0.0",
|