Skip to content

Commit 2bc3f39

Browse files
committed
chore: add vscode settings
1 parent 5fd3d24 commit 2bc3f39

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

Diff for: .vscode/settings.json

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
// Ensure correct version of TypeScript is used
3+
"typescript.tsdk": "node_modules/typescript/lib",
4+
5+
// Format on save for all files by default
6+
"editor.formatOnSave": true,
7+
"explorer.autoReveal": true,
8+
"editor.codeActionsOnSave": {
9+
"source.fixAll.eslint": "explicit",
10+
"source.organizeImports": "explicit",
11+
"source.fixAll.stylelint": "explicit"
12+
},
13+
"eslint.validate": [
14+
"javascript",
15+
"javascriptreact",
16+
"typescript",
17+
"typescriptreact"
18+
],
19+
"css.customData": [".vscode/tailwind.json"],
20+
"files.eol": "\n",
21+
// Disable built-in validators and formatters (let extensions do it)
22+
"scss.validate": true,
23+
"stylelint.enable": true,
24+
"stylelint.validate": ["scss", "svelte"],
25+
"stylelint.snippet": ["css", "postcss", "scss", "svelte"],
26+
"typescript.format.enable": false,
27+
"json.format.enable": false,
28+
"files.insertFinalNewline": false,
29+
"files.trimFinalNewlines": false,
30+
"editor.defaultFormatter": "esbenp.prettier-vscode",
31+
"html.format.enable": true,
32+
"html.format.wrapAttributes": "aligned-multiple",
33+
"task.slowProviderWarning": ["gradle"],
34+
"workbench.colorCustomizations": {
35+
"tab.unfocusedActiveBorder": "#fff0"
36+
},
37+
"explorer.compactFolders": false,
38+
"liveshare.allowGuestDebugControl": true,
39+
"liveshare.allowGuestTaskControl": true,
40+
"liveshare.languages.allowGuestCommandControl": true,
41+
"liveshare.openSharedServers": false,
42+
"liveshare.publishWorkspaceInfo": true
43+
}

0 commit comments

Comments
 (0)