Graphite/.vscode/settings.json
2021-02-16 03:21:15 -08:00

39 lines
No EOL
1.2 KiB
JSON

{
"[rust]": {
"editor.formatOnSave": true,
"editor.formatOnPaste": true
},
"[vue]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.formatOnSave": true,
},
"[javascript]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.formatOnSave": true,
},
"[typescript]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.formatOnSave": true,
},
"rust-analyzer.rustfmt.extraArgs": [
"--config", // Remove when rustfmt
"match_block_trailing_comma=true", // 2.0 is released
"--config", // Remove when `control_brace_style` becomes stable
"control_brace_style=ClosingNextLine" // https://github.com/rust-lang/rustfmt/issues/3377
],
"rust-analyzer.diagnostics.disabled": [
"missing-unsafe" // Remove when rust-analyzer bug fixes unsafe code on WASM JavaScript https://github.com/rust-analyzer/rust-analyzer/issues/5412
],
"vetur.format.options.useTabs": true,
"eslint.format.enable": true,
"files.eol": "\n",
"vetur.validation.interpolation": false,
"vetur.format.options.tabSize": 4,
"vetur.experimental.templateInterpolationService": true
}