gitbutler/.vscode/settings.json
Caleb Owens 62b309c0ed Use seperate folder for rust analzyer
By asking rust analzyer to use a seperate
folder, it means the cache doesn't get
invalidated when running tests or by
running the application under different 
compiler flags.

Having the cache invalidated
dramatically increases the compile times.
2024-07-29 15:24:43 +02:00

40 lines
1.0 KiB
JSON

{
"eslint.useFlatConfig": true,
"eslint.validate": ["svelte"],
"eslint.workingDirectories": ["."],
"svelte.enable-ts-plugin": true,
"prettier.configPath": ".prettierrc.mjs",
"prettier.useEditorConfig": false,
"editor.defaultFormatter": null,
"rust-analyzer.check.command": "clippy",
"rust-analyzer.check.allTargets": true,
"rust-analyzer.check.features": "all",
"rust-analyzer.check.extraArgs": [
"--target-dir", ".rust-analyzer/target"
],
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer"
},
"[svelte]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[mdx]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}