Files
Graphite/.vscode/settings.json
Hannah Li 9f76315bdc Beginnings of the bezier-rs math library (#662)
Co-authored-by: Thomas Cheng <35661641+Androxium@users.noreply.github.com>
Co-authored-by: Robert Nadal <Robnadal44@gmail.com>
Co-authored-by: ll2zheng <ll2zheng@uwaterloo.ca>
2022-06-16 20:50:58 -04:00

42 lines
1.1 KiB
JSON

{
// Rust: save on format
"[rust]": {
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.defaultFormatter": "rust-lang.rust-analyzer",
},
// Web: save on format
"[typescript][javascript][vue]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
},
// Handlebars: don't save on format
// (`about.hbs` is used by Cargo About to encode license information)
"[handlebars]": {
"editor.formatOnSave": false,
},
// Rust Analyzer config
"rust-analyzer.cargo.target": "wasm32-unknown-unknown",
"rust-analyzer.checkOnSave.command": "clippy",
// ESLint config
"eslint.format.enable": true,
"eslint.workingDirectories": [
"./frontend",
"./bezier-rs/docs/interactive-docs",
],
"eslint.validate": [
"javascript",
"typescript",
],
// Vue config
"volar.completion.preferredAttrNameCase": "camel",
"volar.completion.preferredTagNameCase": "pascal",
// VS Code config
"html.format.wrapLineLength": 200,
"files.eol": "\n",
"files.insertFinalNewline": true,
}