aboutsummaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/extensions.json9
-rw-r--r--.vscode/launch.json24
-rw-r--r--.vscode/settings.json26
3 files changed, 47 insertions, 12 deletions
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
index 5c4d931..94a8b5c 100644
--- a/.vscode/extensions.json
+++ b/.vscode/extensions.json
@@ -1,3 +1,10 @@
{
- "recommendations": ["arcanis.vscode-zipfs", "dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
+ "recommendations": [
+ "aaron-bond.better-comments",
+ "arcanis.vscode-zipfs",
+ "dbaeumer.vscode-eslint",
+ "eamodio.gitlens",
+ "esbenp.prettier-vscode",
+ "streetsidesoftware.code-spell-checker"
+ ]
}
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 24dee80..8a07909 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -5,14 +5,30 @@
"version": "0.2.0",
"configurations": [
{
+ "command": "yarn start",
+ "name": "Run yarn start",
+ "request": "launch",
+ "type": "node-terminal",
+ "skipFiles": [
+ "<node_internals>/**",
+ "**/Yarn/**",
+ "**/node_modules/typescript/**",
+ "**/node_modules/bluebird/**" //"**/node_modules/**"
+ ]
+ },
+ {
"type": "pwa-node",
"request": "launch",
"name": "Launch Program",
- "skipFiles": ["<node_internals>/**"],
- "program": "${workspaceFolder}\\src\\bot.ts",
+ "skipFiles": [
+ "<node_internals>/**",
+ "**/Yarn/**",
+ "**/node_modules/typescript/**",
+ "**/node_modules/bluebird/**" //"**/node_modules/**"
+ ],
+ "program": "${workspaceFolder}\\dist\\bot.js",
"preLaunchTask": "tsc: build - tsconfig.json",
- "outFiles": ["${workspaceFolder}/dist/**/*.js"],
- "args": ["-r source-map-support/register"]
+ "outFiles": ["${workspaceFolder}/dist/**/*.js"]
}
]
}
diff --git a/.vscode/settings.json b/.vscode/settings.json
index d10e423..33fdb49 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -5,7 +5,8 @@
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
- "node_modules": true
+ "node_modules": true,
+ "dist": true
},
"javascript.preferences.importModuleSpecifier": "project-relative",
"typescript.preferences.importModuleSpecifier": "project-relative",
@@ -14,14 +15,25 @@
"**/.yarn": true,
"**/.pnp.*": true
},
- "eslint.nodePath": ".yarn/sdks",
- "prettier.prettierPath": ".yarn/sdks/prettier/index.js",
- "typescript.tsdk": ".yarn/sdks/typescript/lib",
- "editor.defaultFormatter": "esbenp.prettier-vscode",
- "typescript.enablePromptUseWorkspaceTsdk": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true,
"source.fixAll.eslint": true,
"source.format": true
- }
+ },
+ "editor.formatOnSave": true,
+ "diffEditor.wordWrap": "on",
+ "editor.insertSpaces": false,
+ "editor.wordWrap": "on",
+ "editor.tabSize": 2,
+ "prettier.printWidth": 170,
+ "prettier.singleQuote": true,
+ "prettier.trailingComma": "none",
+ "prettier.useTabs": true,
+ "prettier.configPath": "package.json",
+ "prettier.prettierPath": ".yarn/sdks/prettier/index.js",
+ "prettier.withNodeModules": true,
+ "prettier.useEditorConfig": false,
+ "eslint.nodePath": ".yarn/sdks",
+ "typescript.tsdk": ".yarn/sdks/typescript/lib",
+ "typescript.enablePromptUseWorkspaceTsdk": true
}