Skip to content

Commit

Permalink
chore: update vscode settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Rmannn committed Apr 27, 2021
1 parent e5d969b commit 1b2dfc4
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"recommendations": [
"sanaajani.taskrunnercode",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"rbbit.typescript-hero"
]
}
22 changes: 22 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Debug node",
"port": 9229
},
{
"type": "node",
"request": "launch",
"name": "start:watch",
"runtimeExecutable": "yarn",
"runtimeArgs": ["run", "start:watch"],
"env": {
"AWS_PROFILE": "gv",
"NODE_CONFIG_DIR": "${env:HOME}/.gv"
}
}
]
}
28 changes: 25 additions & 3 deletions .vscode/settings.json
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,9 +1,31 @@
{
"typescript.tsdk": "./node_modules/typescript/lib",
"eslint.validate": ["typescript", "javascript"],
"editor.defaultFormatter": "esbenp.prettier-vscode",
"typescript.tsdk": "./node_modules/typescript/lib",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[graphql]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"typescript.tsc.autoDetect": "off",
"grunt.autoDetect": "off",
"jake.autoDetect": "off",
"gulp.autoDetect": "off",
"npm.autoDetect": "off"
}
37 changes: 37 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"version": "2.0.0",
"osx": {
"options": {
"env": {
"AWS_PROFILE": "gv",
"NODE_CONFIG_DIR": "${env:HOME}/.gv"
}
},
"presentation":{
"echo": true,
"reveal": "always",
"focus": true,
"panel": "shared",
"showReuseMessage": true,
"clear": true
}
},
"tasks": [
{
"label": "lint",
"type": "shell",
"command": "yarn run lint",
},
{
"label": "test",
"type": "shell",
"dependsOrder": "sequence",
"command": "yarn run test",
},
{
"label": "format",
"type": "shell",
"command": "yarn run format",
}
]
}

0 comments on commit 1b2dfc4

Please sign in to comment.