mirror of
https://github.com/VisActor/VChart
synced 2024-11-23 01:29:13 +00:00
30 lines
889 B
JSON
30 lines
889 B
JSON
{
|
|
// Eslint
|
|
"eslint.format.enable": true,
|
|
"eslint.validate": ["typescript", "javascript", "javascriptreact", "typescriptreact"],
|
|
// Formatter
|
|
"javascript.format.enable": false,
|
|
"typescript.format.enable": false,
|
|
"[javascript]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
"editor.formatOnSave": false
|
|
},
|
|
"[typescript]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
},
|
|
"[json]": {
|
|
"editor.defaultFormatter": "vscode.json-language-features"
|
|
},
|
|
// Editor
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
"editor.codeActionsOnSave": ["source.fixAll.eslint"],
|
|
"editor.formatOnSave": true,
|
|
"editor.tabSize": 2,
|
|
"editor.detectIndentation": false,
|
|
// Typescript
|
|
"typescript.preferences.importModuleSpecifier": "project-relative",
|
|
"[typescriptreact]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
}
|
|
}
|