VTable/.vscode/settings.json
2024-11-04 21:30:54 +08:00

38 lines
942 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",
"nuxt.isNuxtApp": false
}