{ "[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", "match_block_trailing_comma=true", // Remove when rustfmt2.0 is released https://github.com/rust-lang/rustfmt/issues/3380 "--config", "control_brace_style=ClosingNextLine" // Remove when `control_brace_style` becomes stable 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", "html.format.wrapLineLength": 200, "vetur.validation.interpolation": false, "vetur.format.options.tabSize": 4, "vetur.experimental.templateInterpolationService": true }