Skip to content

Commit ef17eb1

Browse files
committed
πŸ§‘β€πŸ’» dprint as default vscode formatter
1 parent 4ab7ee3 commit ef17eb1

File tree

1 file changed

+29
-14
lines changed

1 file changed

+29
-14
lines changed

β€Ž.vscode/settings.json

Lines changed: 29 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,38 @@
11
{
2-
"[json][jsonc][yaml][yml]": {
3-
"editor.tabSize": 2
2+
"[json]": {
3+
"editor.defaultFormatter": "dprint.dprint",
4+
"editor.rulers": [100],
5+
"editor.tabSize": 2,
6+
},
7+
"[jsonc]": {
8+
"editor.defaultFormatter": "dprint.dprint",
9+
"editor.rulers": [100],
10+
"editor.tabSize": 2,
411
},
512
"[markdown]": {
6-
"editor.rulers": [
7-
200
8-
]
13+
"editor.defaultFormatter": "dprint.dprint",
14+
"editor.rulers": [200],
915
},
1016
"[python]": {
11-
"editor.rulers": [
12-
130
13-
]
17+
"editor.rulers": [130],
18+
"editor.tabSize": 4,
1419
},
1520
"[toml]": {
16-
"editor.rulers": [
17-
100
18-
]
21+
"editor.defaultFormatter": "dprint.dprint",
22+
"editor.rulers": [100],
23+
"editor.tabSize": 2,
24+
},
25+
"[yaml]": {
26+
"editor.defaultFormatter": "dprint.dprint",
27+
"editor.rulers": [100],
28+
"editor.tabSize": 2,
29+
},
30+
"[yml]": {
31+
"editor.defaultFormatter": "dprint.dprint",
32+
"editor.rulers": [100],
33+
"editor.tabSize": 2,
1934
},
20-
"editor.tabSize": 4,
35+
"dprint.path": ".venv/bin/dprint",
2136
"evenBetterToml.formatter.alignComments": true,
2237
"evenBetterToml.formatter.allowedBlankLines": 2,
2338
"evenBetterToml.formatter.arrayTrailingComma": true,
@@ -34,6 +49,6 @@
3449
"--isolated",
3550
"--no-editable",
3651
"--refresh-package=scipy-stubs",
37-
"mypy"
38-
]
52+
"mypy",
53+
],
3954
}

0 commit comments

Comments
Β (0)