Skip to content

Commit 4ab7ee3

Browse files
committed
🔧 configure dprint
1 parent a965b35 commit 4ab7ee3

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

‎.dprint.jsonc

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"json": {
3+
"lineWidth": 100,
4+
"array.preferSingleLine": true,
5+
"jsonTrailingCommaFiles": [".vscode/extensions.json", ".vscode/settings.json"],
6+
},
7+
"markdown": {
8+
"lineWidth": 200,
9+
"emphasisKind": "asterisks",
10+
},
11+
"toml": {
12+
"lineWidth": 100,
13+
},
14+
"yaml": {
15+
"printWidth": 100,
16+
"formatComments": true,
17+
// "indentBlockSequenceInMap": false,
18+
"braceSpacing": false,
19+
},
20+
"excludes": ["**/*-lock.json", "**/*.lock", "**/node_modules/", "dist/"],
21+
"plugins": [
22+
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.1.wasm",
23+
"https://plugins.dprint.dev/json-0.20.0.wasm",
24+
"https://plugins.dprint.dev/markdown-0.19.0.wasm",
25+
"https://plugins.dprint.dev/toml-0.7.0.wasm",
26+
],
27+
}

0 commit comments

Comments
 (0)