Skip to content

Commit

Permalink
Adding VS Code settings to project workspace (airbytehq#12319)
Browse files Browse the repository at this point in the history
* First pass

* Code Review changes

* Adding a code workspace

* Adding extension recommendations
  • Loading branch information
krishnaglick authored May 10, 2022
1 parent 7c4bebf commit 230dc3a
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.gradle
.idea
.vscode
*.iml
*.swp
build
Expand All @@ -13,7 +12,6 @@ data
.settings
**/gmon.out
static_checker_reports/
.vscode

# Logs
acceptance_tests_logs/
Expand Down
54 changes: 54 additions & 0 deletions .vscode/frontend.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"folders": [
{
"path": "../airbyte-webapp"
},
{
"path": "../airbyte-webapp-e2e-tests"
}
],
"extensions": {
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"ms-vsliveshare.vsliveshare",
"eamodio.gitlens"
]
},
"settings": {
"javascript.preferences.quoteStyle": "double",
"typescript.preferences.quoteStyle": "double",
"javascript.preferences.importModuleSpecifier": "shortest",
"typescript.preferences.importModuleSpecifier": "shortest",
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"editor.detectIndentation": true,
"eslint.format.enable": true,
"eslint.run": "onType",
"[javascript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.organizeImports": false
}
},
"[typescript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.organizeImports": false
}
},
"[typescriptreact]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.organizeImports": false
}
},
"[json]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
}
36 changes: 36 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"javascript.preferences.quoteStyle": "double",
"typescript.preferences.quoteStyle": "double",
"javascript.preferences.importModuleSpecifier": "shortest",
"typescript.preferences.importModuleSpecifier": "shortest",
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"editor.detectIndentation": true,
"eslint.format.enable": true,
"eslint.run": "onType",
"[javascript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.organizeImports": false
}
},
"[typescript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.organizeImports": false
}
},
"[typescriptreact]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.organizeImports": false
}
},
"[json]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}

0 comments on commit 230dc3a

Please sign in to comment.