Skip to content

Commit 6a3ca49

Browse files
committed
🔧 Improve VSCode workspace settings
1 parent 28f61be commit 6a3ca49

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

.vscode/settings.json

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
11
{
2-
"typescript.tsdk": "node_modules\\typescript\\lib"
2+
"typescript.tsdk": "node_modules\\typescript\\lib",
3+
"eslint.enable": true,
4+
"editor.formatOnSave": true,
5+
"prettier.enable": true,
6+
"editor.defaultFormatter": "esbenp.prettier-vscode",
7+
"editor.codeActionsOnSave": {
8+
"source.fixAll.eslint": "explicit",
9+
"source.fixAll.ts": "explicit",
10+
"source.fixAll.sortJSON": "explicit",
11+
"source.addMissingImports.ts": "explicit",
12+
"source.organizeImports": "explicit",
13+
"source.sortImports": "explicit",
14+
"source.removeUnused.ts": "never",
15+
"source.removeUnusedImports": "explicit",
16+
"source.organizeLinkDefinitions": "explicit"
17+
},
18+
"files.exclude": {
19+
"**/.git": true,
20+
"**/.svn": true,
21+
"**/.hg": true,
22+
"**/CVS": true,
23+
"**/.DS_Store": true,
24+
"**/Thumbs.db": true,
25+
"**/node_modules": true
26+
},
27+
"npm.exclude": ["**/node_modules"],
28+
"errorLens.excludePatterns": ["**/node_modules/**/*"],
29+
"eslint.validate": ["javascript", "javascriptreact", "svelte"],
30+
"eslint.useFlatConfig": true,
31+
"eslint.problems.shortenToSingleLine": true
332
}

0 commit comments

Comments
 (0)