VTable/.vscode/settings.json
2023-06-13 15:23:59 +08:00

37 lines
917 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": "dbaeumer.vscode-eslint"
},
"[typescript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[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",
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
"python.formatting.provider": "none"
}