chore: improve vscode settings

This commit is contained in:
Kim, Jimin 2024-02-29 00:09:37 +09:00
parent 033b1d6370
commit 33c862d242
Signed by: pomp
GPG key ID: 77DAC7BB5CA8C7AA
2 changed files with 29 additions and 5 deletions

View file

@ -10,6 +10,7 @@
"svelte.svelte-vscode",
"redhat.vscode-xml",
"github.vscode-github-actions",
"4ops.terraform"
"4ops.terraform",
"foxundermoon.shell-format"
]
}

31
.vscode/settings.json vendored
View file

@ -74,11 +74,12 @@
"YYYYMMDD",
"zustand"
],
"eslint.workingDirectories": [{ "mode": "auto" }],
"eslint.validate": ["javascript", "typescript", "svelte"],
"[svg]": {
"editor.defaultFormatter": "jock.svg"
},
"typescript.tsdk": "node_modules/typescript/lib",
// prevent tailwind-related warnings
"css.lint.unknownAtRules": "ignore",
"less.lint.unknownAtRules": "ignore",
@ -86,11 +87,33 @@
"color-highlight.markerType": "outline",
// https://github.com/tailwindlabs/tailwindcss-intellisense#tailwindcssclassattributes
"tailwindCSS.classAttributes": ["class", "className", ".*Styles*"],
// file format settings
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[svg]": {
"editor.defaultFormatter": "jock.svg"
},
"[dotenv]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"[xml]": {
"editor.defaultFormatter": "redhat.vscode-xml"
},
"typescript.tsdk": "node_modules/typescript/lib"
"[svelte]": {
"editor.defaultFormatter": "svelte.svelte-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[shellscript]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"[ignore]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
}
}