@eslinted/core 32.1.12 → 32.1.14
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/.markdownlint.jsonc +7 -3
- package/README.md +1 -0
- package/dprint.jsonc +233 -0
- package/package.json +1 -1
package/.markdownlint.jsonc
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
// #region
|
|
2
|
+
// #region v40.0.0
|
|
3
3
|
"$schema": "https://gist.githubusercontent.com/jimmy-zhening-luo/e0d6b5715f0df18bc462f752520bd485/raw",
|
|
4
4
|
"$help": {
|
|
5
5
|
"link": "https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md",
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
"ul-style": false /* MD004 */,
|
|
13
13
|
"list-indent": true /* MD005 */,
|
|
14
14
|
"ul-indent": {
|
|
15
|
-
"indent":
|
|
15
|
+
"indent": 2,
|
|
16
16
|
} /* MD007 */,
|
|
17
17
|
"no-trailing-spaces": {
|
|
18
18
|
"br_spaces": 0,
|
|
19
19
|
"strict": true,
|
|
20
20
|
} /* MD009 */,
|
|
21
21
|
"no-hard-tabs": {
|
|
22
|
-
"spaces_per_tab":
|
|
22
|
+
"spaces_per_tab": 2,
|
|
23
23
|
"ignore_code_languages": [],
|
|
24
24
|
} /* MD010 */,
|
|
25
25
|
"no-reversed-links": true /* MD011 */,
|
|
@@ -94,4 +94,8 @@
|
|
|
94
94
|
"table-column-count": true /* MD056 */,
|
|
95
95
|
"blanks-around-tables": true /* MD058 */,
|
|
96
96
|
"descriptive-link-text": false /* MD059 */,
|
|
97
|
+
"table-column-style": {
|
|
98
|
+
"style": "aligned",
|
|
99
|
+
"aligned_delimiter": true /* implicitly true when style:aligned */,
|
|
100
|
+
} /* MD060 */,
|
|
97
101
|
}
|
package/README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# [`@eslinted/core`](https://www.npmjs.com/package/@eslinted/core)
|
|
2
|
+
|
|
2
3
|
[](https://github.com/jimmy-zhening-luo/linted-core/actions/workflows/RELEASE.yml)
|
|
3
4
|
|
|
4
5
|
Internal core for npm package `linted`, responsible for producing an array of fully-formed ESLint configurations according to `linted` spec.
|
package/dprint.jsonc
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/jimmy-zhening-luo/dprint/refs/heads/main/dprint-schema.json",
|
|
3
|
+
// $help: https://dprint.dev/config/
|
|
4
|
+
// $version: 0.5101.2
|
|
5
|
+
"plugins": [
|
|
6
|
+
"https://plugins.dprint.dev/typescript-0.95.13.wasm",
|
|
7
|
+
"https://plugins.dprint.dev/json-0.21.0.wasm",
|
|
8
|
+
"https://plugins.dprint.dev/markdown-0.20.0.wasm",
|
|
9
|
+
"https://plugins.dprint.dev/g-plane/markup_fmt-v0.25.3.wasm",
|
|
10
|
+
"https://plugins.dprint.dev/g-plane/malva-v0.15.1.wasm",
|
|
11
|
+
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.1.wasm",
|
|
12
|
+
"https://plugins.dprint.dev/g-plane/pretty_jinja-v0.2.0.wasm",
|
|
13
|
+
"https://plugins.dprint.dev/roslyn-0.19.1.json@a5daf2404c57680374f255c78f1956916482aa4b4e90825f1a48eb5a7e343b35",
|
|
14
|
+
],
|
|
15
|
+
"excludes": [
|
|
16
|
+
"**/node_modules/**",
|
|
17
|
+
"**/*-lock.json",
|
|
18
|
+
"**/.clasprc.json",
|
|
19
|
+
"**/dist/**",
|
|
20
|
+
"**/.svelte-kit/**",
|
|
21
|
+
"**/.vscode/c_cpp_properties.json",
|
|
22
|
+
],
|
|
23
|
+
"lineWidth": 180,
|
|
24
|
+
"newLineKind": "lf",
|
|
25
|
+
"useTabs": false,
|
|
26
|
+
"indentWidth": 2,
|
|
27
|
+
"typescript": {
|
|
28
|
+
// $help: https://dprint.dev/plugins/typescript/
|
|
29
|
+
// $help: https://dprint.dev/plugins/typescript/config/
|
|
30
|
+
"locked": true,
|
|
31
|
+
"lineWidth": 180,
|
|
32
|
+
"newLineKind": "lf",
|
|
33
|
+
"useTabs": false,
|
|
34
|
+
"indentWidth": 2,
|
|
35
|
+
"ignoreNodeCommentText": "dprint-ignore",
|
|
36
|
+
"ignoreFileCommentText": "dprint-ignore-file",
|
|
37
|
+
"quoteStyle": "preferDouble",
|
|
38
|
+
"quoteProps": "asNeeded",
|
|
39
|
+
"semiColons": "always",
|
|
40
|
+
"preferHanging": false,
|
|
41
|
+
"preferSingleLine": false,
|
|
42
|
+
"spaceAround": false,
|
|
43
|
+
"trailingCommas": "onlyMultiLine",
|
|
44
|
+
"bracePosition": "sameLine",
|
|
45
|
+
"useBraces": "preferNone",
|
|
46
|
+
"operatorPosition": "nextLine",
|
|
47
|
+
"singleBodyPosition": "nextLine",
|
|
48
|
+
"nextControlFlowPosition": "nextLine",
|
|
49
|
+
"spaceSurroundingProperties": true,
|
|
50
|
+
"arrowFunction.useParentheses": "preferNone",
|
|
51
|
+
"binaryExpression.linePerExpression": true,
|
|
52
|
+
"binaryExpression.spaceSurroundingBitwiseAndArithmeticOperator": true,
|
|
53
|
+
"commentLine.forceSpaceAfterSlashes": false,
|
|
54
|
+
"constructor.spaceBeforeParentheses": true,
|
|
55
|
+
"constructorType.spaceAfterNewKeyword": false,
|
|
56
|
+
"constructSignature.spaceAfterNewKeyword": true,
|
|
57
|
+
"doWhileStatement.spaceAfterWhileKeyword": true,
|
|
58
|
+
"enumDeclaration.memberSpacing": "newLine",
|
|
59
|
+
"exportDeclaration.forceMultiLine": "whenMultiple",
|
|
60
|
+
"exportDeclaration.forceSingleLine": false,
|
|
61
|
+
"exportDeclaration.sortNamedExports": "maintain",
|
|
62
|
+
"exportDeclaration.sortTypeOnlyExports": "none",
|
|
63
|
+
"exportDeclaration.spaceSurroundingNamedExports": true,
|
|
64
|
+
"forInStatement.spaceAfterForKeyword": true,
|
|
65
|
+
"forStatement.spaceAfterSemiColons": true,
|
|
66
|
+
"functionDeclaration.spaceBeforeParentheses": false,
|
|
67
|
+
"functionExpression.spaceAfterFunctionKeyword": true,
|
|
68
|
+
"functionExpression.spaceBeforeParentheses": false,
|
|
69
|
+
"getAccessor.spaceBeforeParentheses": false,
|
|
70
|
+
"ifStatement.spaceAfterIfKeyword": true,
|
|
71
|
+
"importDeclaration.forceMultiLine": "whenMultiple",
|
|
72
|
+
"importDeclaration.forceSingleLine": false,
|
|
73
|
+
"importDeclaration.sortNamedImports": "maintain",
|
|
74
|
+
"importDeclaration.sortTypeOnlyImports": "none",
|
|
75
|
+
"importDeclaration.spaceSurroundingNamedImports": true,
|
|
76
|
+
"memberExpression.linePerExpression": true,
|
|
77
|
+
"method.spaceBeforeParentheses": false,
|
|
78
|
+
"module.sortExportDeclarations": "maintain",
|
|
79
|
+
"module.sortImportDeclarations": "maintain",
|
|
80
|
+
"setAccessor.spaceBeforeParentheses": false,
|
|
81
|
+
"taggedTemplate.spaceBeforeLiteral": false,
|
|
82
|
+
"typeAnnotation.spaceBeforeColon": false,
|
|
83
|
+
"typeAssertion.spaceBeforeExpression": false,
|
|
84
|
+
"typeLiteral.separatorKind": "semiColon",
|
|
85
|
+
"whileStatement.spaceAfterWhileKeyword": true,
|
|
86
|
+
},
|
|
87
|
+
"roslyn": {
|
|
88
|
+
// $help: https://learn.microsoft.com/en-us/dotnet/api/microsoft.codeanalysis.csharp.formatting.csharpformattingoptions#properties
|
|
89
|
+
// DOC:[source] https://github.com/dotnet/roslyn/blob/main/src/Workspaces/CSharp/Portable/Formatting/CSharpFormattingOptions.cs
|
|
90
|
+
"csharp.indentBlock": true,
|
|
91
|
+
"csharp.indentBraces": false,
|
|
92
|
+
"csharp.indentSwitchSection": true,
|
|
93
|
+
"csharp.indentSwitchCaseSection": true,
|
|
94
|
+
"csharp.indentSwitchCaseSectionWhenBlock": true,
|
|
95
|
+
"csharp.newLineForElse": true,
|
|
96
|
+
"csharp.newLineForCatch": true,
|
|
97
|
+
"csharp.newLineForFinally": true,
|
|
98
|
+
"csharp.labelPositioning": "LeftMost" /* 0 */,
|
|
99
|
+
"csharp.newLineForClausesInQuery": true,
|
|
100
|
+
"csharp.spaceAfterCast": false,
|
|
101
|
+
"csharp.newLineForMembersInAnonymousTypes": true,
|
|
102
|
+
"csharp.newLineForMembersInObjectInit": true,
|
|
103
|
+
"csharp.newLinesForBracesInAccessors": true,
|
|
104
|
+
"csharp.newLinesForBracesInAnonymousMethods": true,
|
|
105
|
+
"csharp.newLinesForBracesInControlBlocks": true,
|
|
106
|
+
"csharp.newLinesForBracesInLambdaExpressionBody": true,
|
|
107
|
+
"csharp.newLinesForBracesInMethods": true,
|
|
108
|
+
"csharp.newLinesForBracesInTypes": true,
|
|
109
|
+
"csharp.newLinesForBracesInAnonymousTypes": true,
|
|
110
|
+
"csharp.newLinesForBracesInObjectCollectionArrayInitializers": true,
|
|
111
|
+
"csharp.newLinesForBracesInProperties": true,
|
|
112
|
+
"csharp.spaceBetweenEmptyMethodCallParentheses": false,
|
|
113
|
+
"csharp.spaceAfterColonInBaseTypeDeclaration": true,
|
|
114
|
+
"csharp.spaceAfterComma": true,
|
|
115
|
+
"csharp.spaceAfterDot": false,
|
|
116
|
+
"csharp.spaceAfterControlFlowStatementKeyword": true,
|
|
117
|
+
"csharp.spaceAfterMethodCallName": false,
|
|
118
|
+
"csharp.spaceAfterSemicolonsInForStatement": true,
|
|
119
|
+
"csharp.spaceBeforeColonInBaseTypeDeclaration": true,
|
|
120
|
+
"csharp.spaceBeforeComma": false,
|
|
121
|
+
"csharp.spaceBeforeDot": false,
|
|
122
|
+
"csharp.spaceBeforeSemicolonsInForStatement": false,
|
|
123
|
+
"csharp.spaceBetweenEmptySquareBrackets": false,
|
|
124
|
+
"csharp.spaceBeforeOpenSquareBracket": false,
|
|
125
|
+
"csharp.spaceBetweenEmptyMethodDeclarationParentheses": false,
|
|
126
|
+
"csharp.spacesIgnoreAroundVariableDeclaration": false,
|
|
127
|
+
"csharp.spaceWithinCastParentheses": false,
|
|
128
|
+
"csharp.spaceWithinExpressionParentheses": false,
|
|
129
|
+
"csharp.spaceWithinMethodCallParentheses": false,
|
|
130
|
+
"csharp.spaceWithinMethodDeclarationParenthesis": false,
|
|
131
|
+
"csharp.spaceWithinOtherParentheses": false,
|
|
132
|
+
"csharp.spaceWithinSquareBrackets": false,
|
|
133
|
+
"csharp.spacingAfterMethodDeclarationName": false,
|
|
134
|
+
"csharp.spacingAroundBinaryOperator": "Single" /* 0 */,
|
|
135
|
+
"csharp.wrappingKeepStatementsOnSingleLine": true,
|
|
136
|
+
"csharp.wrappingPreserveSingleLine": true,
|
|
137
|
+
},
|
|
138
|
+
"json": {
|
|
139
|
+
// $help: https://dprint.dev/plugins/json/config/
|
|
140
|
+
"locked": true,
|
|
141
|
+
"lineWidth": 80,
|
|
142
|
+
"newLineKind": "lf",
|
|
143
|
+
"useTabs": false,
|
|
144
|
+
"indentWidth": 2,
|
|
145
|
+
"ignoreNodeCommentText": "dprint-ignore",
|
|
146
|
+
"commentLine.forceSpaceAfterSlashes": true,
|
|
147
|
+
"preferSingleLine": false,
|
|
148
|
+
"trailingCommas": "maintain",
|
|
149
|
+
"array.preferSingleLine": false,
|
|
150
|
+
"object.preferSingleLine": false,
|
|
151
|
+
},
|
|
152
|
+
"markdown": {
|
|
153
|
+
// $help: https://dprint.dev/plugins/markdown/config/
|
|
154
|
+
"locked": true,
|
|
155
|
+
"lineWidth": 180,
|
|
156
|
+
"newLineKind": "lf",
|
|
157
|
+
"textWrap": "maintain",
|
|
158
|
+
"emphasisKind": "underscores",
|
|
159
|
+
"strongKind": "underscores",
|
|
160
|
+
"ignoreDirective": "dprint-ignore",
|
|
161
|
+
"ignoreFileDirective": "dprint-ignore-file",
|
|
162
|
+
"ignoreStartDirective": "dprint-ignore-start",
|
|
163
|
+
"ignoreEndDirective": "dprint-ignore-end",
|
|
164
|
+
},
|
|
165
|
+
"markup": {
|
|
166
|
+
// $help: https://markup-fmt.netlify.app/
|
|
167
|
+
"printWidth": 180,
|
|
168
|
+
"useTabs": false,
|
|
169
|
+
"indentWidth": 2,
|
|
170
|
+
"lineBreak": "lf",
|
|
171
|
+
"quotes": "double",
|
|
172
|
+
"formatComments": true,
|
|
173
|
+
"scriptIndent": true,
|
|
174
|
+
"styleIndent": true,
|
|
175
|
+
"closingBracketSameLine": false,
|
|
176
|
+
"closingTagLineBreakForEmpty": "fit",
|
|
177
|
+
"maxAttrsPerLine": 1,
|
|
178
|
+
"preferAttrsSingleLine": false,
|
|
179
|
+
"singleAttrSameLine": true,
|
|
180
|
+
"whitespaceSensitivity": "css",
|
|
181
|
+
"doctypeKeywordCase": "upper",
|
|
182
|
+
"strictSvelteAttr": false,
|
|
183
|
+
"svelteAttrShorthand": true,
|
|
184
|
+
"svelteDirectiveShorthand": true,
|
|
185
|
+
"scriptFormatter": "dprint",
|
|
186
|
+
"ignoreCommentDirective": "dprint-ignore",
|
|
187
|
+
"ignoreFileCommentDirective": "dprint-ignore-file",
|
|
188
|
+
},
|
|
189
|
+
"malva": {
|
|
190
|
+
// $help: https://malva.netlify.app/config/index.html
|
|
191
|
+
"printWidth": 180,
|
|
192
|
+
"useTabs": false,
|
|
193
|
+
"indentWidth": 2,
|
|
194
|
+
"lineBreak": "lf",
|
|
195
|
+
"hexCase": "lower",
|
|
196
|
+
"hexColorLength": "short",
|
|
197
|
+
"quotes": "preferDouble",
|
|
198
|
+
"operatorLinebreak": "after",
|
|
199
|
+
"blockSelectorLinebreak": "always",
|
|
200
|
+
"omitNumberLeadingZero": false,
|
|
201
|
+
"trailingComma": true,
|
|
202
|
+
"formatComments": true,
|
|
203
|
+
"alignComments": true,
|
|
204
|
+
"linebreakInPseudoParens": true,
|
|
205
|
+
"declarationOrder": null,
|
|
206
|
+
"declarationOrderGroupBy": "nonDeclaration",
|
|
207
|
+
"singleLineBlockThreshold": null,
|
|
208
|
+
"keyframeSelectorNotation": "keyword",
|
|
209
|
+
"attrValueQuotes": "always",
|
|
210
|
+
"preferSingleLine": false,
|
|
211
|
+
"singleLineTopLevelDeclarations": false,
|
|
212
|
+
"selectorOverrideCommentDirective": "malva-selector-override",
|
|
213
|
+
"ignoreCommentDirective": "dprint-ignore",
|
|
214
|
+
"ignoreFileCommentDirective": "dprint-ignore-file",
|
|
215
|
+
},
|
|
216
|
+
"yaml": {
|
|
217
|
+
// $help: https://pretty-yaml.netlify.app/
|
|
218
|
+
"printWidth": 180,
|
|
219
|
+
"indentWidth": 2,
|
|
220
|
+
"lineBreak": "lf",
|
|
221
|
+
"quotes": "preferDouble",
|
|
222
|
+
"trailingComma": true,
|
|
223
|
+
"formatComments": false,
|
|
224
|
+
"indentBlockSequenceInMap": true,
|
|
225
|
+
"braceSpacing": false,
|
|
226
|
+
"bracketSpacing": false,
|
|
227
|
+
"dashSpacing": "oneSpace",
|
|
228
|
+
"preferSingleLine": false,
|
|
229
|
+
"trimTrailingWhitespaces": true,
|
|
230
|
+
"trimTrailingZero": true,
|
|
231
|
+
"ignoreCommentDirective": "dprint-ignore",
|
|
232
|
+
},
|
|
233
|
+
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$schema": "https://json.schemastore.org/package",
|
|
4
4
|
"$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
|
|
5
5
|
"name": "@eslinted/core",
|
|
6
|
-
"version": "32.1.
|
|
6
|
+
"version": "32.1.14",
|
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted-core",
|
|
8
8
|
"description": "Internal core for npm package `linted`, responsible for producing an array of fully-formed ESLint configurations according to `linted` spec.",
|
|
9
9
|
"keywords": [],
|