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",
|
"svelte.svelte-vscode",
|
||||||
"redhat.vscode-xml",
|
"redhat.vscode-xml",
|
||||||
"github.vscode-github-actions",
|
"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",
|
"YYYYMMDD",
|
||||||
"zustand"
|
"zustand"
|
||||||
],
|
],
|
||||||
|
|
||||||
"eslint.workingDirectories": [{ "mode": "auto" }],
|
"eslint.workingDirectories": [{ "mode": "auto" }],
|
||||||
"eslint.validate": ["javascript", "typescript", "svelte"],
|
"eslint.validate": ["javascript", "typescript", "svelte"],
|
||||||
"[svg]": {
|
|
||||||
"editor.defaultFormatter": "jock.svg"
|
"typescript.tsdk": "node_modules/typescript/lib",
|
||||||
},
|
|
||||||
// prevent tailwind-related warnings
|
// prevent tailwind-related warnings
|
||||||
"css.lint.unknownAtRules": "ignore",
|
"css.lint.unknownAtRules": "ignore",
|
||||||
"less.lint.unknownAtRules": "ignore",
|
"less.lint.unknownAtRules": "ignore",
|
||||||
|
@ -86,11 +87,33 @@
|
||||||
"color-highlight.markerType": "outline",
|
"color-highlight.markerType": "outline",
|
||||||
// https://github.com/tailwindlabs/tailwindcss-intellisense#tailwindcssclassattributes
|
// https://github.com/tailwindlabs/tailwindcss-intellisense#tailwindcssclassattributes
|
||||||
"tailwindCSS.classAttributes": ["class", "className", ".*Styles*"],
|
"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]": {
|
"[dotenv]": {
|
||||||
"editor.defaultFormatter": "foxundermoon.shell-format"
|
"editor.defaultFormatter": "foxundermoon.shell-format"
|
||||||
},
|
},
|
||||||
"[xml]": {
|
"[xml]": {
|
||||||
"editor.defaultFormatter": "redhat.vscode-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