Skip to content

Commit ad373cc

Browse files
committed
🔧 add vscode conf
1 parent 759ffc7 commit ad373cc

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed

‎code-style/.vscode/launch.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"configurations": [
3+
{
4+
"type": "node",
5+
"request": "attach",
6+
"name": "Attach",
7+
"skipFiles": ["<node_internals>/**"],
8+
"restart": true,
9+
"continueOnAttach": true
10+
}
11+
]
12+
}

‎code-style/.vscode/settings.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,20 @@
88
"javascript.format.enable": false,
99
"editor.defaultFormatter": "esbenp.prettier-vscode",
1010

11-
"[ruby]": {
12-
"editor.defaultFormatter": "esbenp.prettier-vscode"
11+
"files.associations": {
12+
"**/typescript-configs/*.json": "jsonc"
13+
},
14+
"json.schemas": [
15+
{
16+
"fileMatch": ["typescript-configs/*.json"],
17+
"url": "https://json.schemastore.org/tsconfig"
18+
},
19+
{
20+
"fileMatch": ["eslint-config*/*.yaml"],
21+
"url": "https://json.schemastore.org/eslintrc"
22+
}
23+
],
24+
"material-icon-theme.files.associations": {
25+
"eslint-config*/*.yaml": "eslint"
1326
}
1427
}

0 commit comments

Comments
 (0)