Add vscode settings

This commit is contained in:
Amy 2021-11-26 20:41:35 -05:00
parent ca159cc897
commit 9b6d405ce5
2 changed files with 47 additions and 0 deletions

6
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"humao.rest-client",
]
}

41
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,41 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"eslint.format.enable": true,
"eslint.codeActionsOnSave.mode": "all",
"[css]": {
"editor.suggest.insertMode": "replace",
"gitlens.codeLens.scopes": ["document"],
"editor.formatOnSave": true
},
"[javascript]": {
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
},
"[javascriptreact]": {
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
},
"[typescript]": {
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
},
"[typescriptreact]": {
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
},
"python.linting.pylintEnabled": true,
"python.linting.enabled": true,
"files.exclude": {
"node_modules": true
},
"editor.tabSize": 2,
"files.eol": "\n",
}