mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-09 16:24:24 +03:00
62b309c0ed
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.
40 lines
1.0 KiB
JSON
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"
|
|
}
|
|
}
|