chore: improve vscode settings
This commit is contained in:
parent
033b1d6370
commit
33c862d242
2 changed files with 29 additions and 5 deletions
3
.vscode/extensions.json
vendored
3
.vscode/extensions.json
vendored
|
@ -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
31
.vscode/settings.json
vendored
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue