diff options
-rw-r--r-- | .prettierignore | 1 | ||||
-rw-r--r-- | .vscode/extensions.json | 24 | ||||
-rw-r--r-- | .vscode/launch.json | 32 | ||||
-rw-r--r-- | .vscode/settings.json | 190 | ||||
-rw-r--r-- | .vscode/typescript.code-snippets | 8 |
5 files changed, 124 insertions, 131 deletions
diff --git a/.prettierignore b/.prettierignore index 4dabf94..71b2a03 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,4 +2,3 @@ dist .git .yarn .pnp.* -.vscode
\ No newline at end of file diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 2b70e67..5722024 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,14 +1,14 @@ { - "recommendations": [ - "aaron-bond.better-comments", - "arcanis.vscode-zipfs", - "dbaeumer.vscode-eslint", - "eamodio.gitlens", - "esbenp.prettier-vscode", - "streetsidesoftware.code-spell-checker", - "github.vscode-pull-request-github", - "ckolkman.vscode-postgres", - "tobias-faller.vt100-syntax-highlighting", - "pkief.material-icon-theme" - ] + "recommendations": [ + "aaron-bond.better-comments", + "arcanis.vscode-zipfs", + "dbaeumer.vscode-eslint", + "eamodio.gitlens", + "esbenp.prettier-vscode", + "streetsidesoftware.code-spell-checker", + "github.vscode-pull-request-github", + "ckolkman.vscode-postgres", + "tobias-faller.vt100-syntax-highlighting", + "pkief.material-icon-theme" + ] } diff --git a/.vscode/launch.json b/.vscode/launch.json index ef7a204..d0be0a4 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,32 +1,22 @@ { "configurations": [ { + "type": "node-terminal", "command": "yarn start", - "name": "yarn start", - "request": "launch", - "type": "node-terminal" - }, - { - "command": "yarn dev", "name": "BushBot", "request": "launch", - "type": "pwa-node", - "runtimeArgs": [ - "--experimental-specifier-resolution=node" - ], + "cwd": "${workspaceFolder}", + "program": "${workspaceFolder}/dist/src/bot.js", + "sourceMaps": true, + "resolveSourceMapLocations": ["${workspaceFolder}/**"], "skipFiles": [ "<node_internals>/**", - // "**/Yarn/**", - "**/.pnp.js", - "**/.yarn/releases/**" - ], - "outFiles": [ - "${workspaceRoot}/dist/**/*.js", - ], - "sourceMaps": true, - "resolveSourceMapLocations": [ - "${workspaceFolder}/**", + "/**/.yarn/**", + "/**/.nvm/**", + "**/node_modules/**", + "!**/node_modules/discord-akairo/**", + "!**/node_modules/discord.js/**" ] } ] -}
\ No newline at end of file +} diff --git a/.vscode/settings.json b/.vscode/settings.json index b1cdace..b41dbcf 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,96 +1,96 @@ { - "files.exclude": { - "**/.git": true, - "**/.svn": true, - "**/.hg": true, - "**/CVS": true, - "**/.DS_Store": true, - "dist": false, - ".pnp.js": true, - "**/node_modules": true, - "**/dist/**/*.js.map": true - }, - "javascript.preferences.importModuleSpecifier": "project-relative", - "typescript.preferences.importModuleSpecifier": "project-relative", - "typescript.preferences.importModuleSpecifierEnding": "minimal", - "search.exclude": { - "**/.yarn": true, - "**/.pnp.*": true, - "**/node_modules": true - }, - "editor.codeActionsOnSave": { - "source.organizeImports": true, - "source.fixAll.eslint": true, - "source.format": true - }, - "diffEditor.wordWrap": "on", - "editor.insertSpaces": false, - "editor.wordWrap": "on", - "editor.tabSize": 2, - "prettier.configPath": ".prettierrc.json", - "prettier.prettierPath": "node_modules/prettier", - "prettier.withNodeModules": true, - "prettier.useEditorConfig": false, - // "typescript.tsdk": ".yarn/sdks/typescript/lib", - "typescript.tsdk": "node_modules/typescript/lib", - "typescript.enablePromptUseWorkspaceTsdk": true, - "better-comments.highlightPlainText": false, - "better-comments.multilineComments": true, - "better-comments.tags": [ - { - "tag": "!", - "color": "#FF2D00", - "strikethrough": false, - "underline": false, - "backgroundColor": "transparent", - "bold": false, - "italic": false - }, - { - "tag": "?", - "color": "#3498DB", - "strikethrough": false, - "underline": false, - "backgroundColor": "transparent", - "bold": false, - "italic": false - }, - { - "tag": "todo", - "color": "#FF8C00", - "strikethrough": false, - "underline": false, - "backgroundColor": "transparent", - "bold": false, - "italic": false - }, - { - "tag": "@ts-", - "color": "#f54242", - "strikethrough": false, - "underline": false, - "backgroundColor": "transparent", - "bold": false, - "italic": false - }, - { - "tag": "eslint-", - "color": "#f54242", - "strikethrough": false, - "underline": false, - "backgroundColor": "transparent", - "bold": false, - "italic": false - }, - { - "tag": "~", - "color": "#474747", - "strikethrough": true, - "underline": false, - "backgroundColor": "transparent", - "bold": false, - "italic": false - } - ], - "javascript.preferences.importModuleSpecifierEnding": "js" -}
\ No newline at end of file + "files.exclude": { + "**/.git": true, + "**/.svn": true, + "**/.hg": true, + "**/CVS": true, + "**/.DS_Store": true, + "dist": false, + ".pnp.js": true, + "**/node_modules": true, + "**/dist/**/*.js.map": true + }, + "javascript.preferences.importModuleSpecifier": "project-relative", + "typescript.preferences.importModuleSpecifier": "project-relative", + "typescript.preferences.importModuleSpecifierEnding": "minimal", + "search.exclude": { + "**/.yarn": true, + "**/.pnp.*": true, + "**/node_modules": true + }, + "editor.codeActionsOnSave": { + "source.organizeImports": true, + "source.fixAll.eslint": true, + "source.format": true + }, + "diffEditor.wordWrap": "on", + "editor.insertSpaces": false, + "editor.wordWrap": "on", + "editor.tabSize": 2, + "prettier.configPath": ".prettierrc.json", + "prettier.prettierPath": "node_modules/prettier", + "prettier.withNodeModules": true, + "prettier.useEditorConfig": false, + // "typescript.tsdk": ".yarn/sdks/typescript/lib", + "typescript.tsdk": "node_modules/typescript/lib", + "typescript.enablePromptUseWorkspaceTsdk": true, + "better-comments.highlightPlainText": false, + "better-comments.multilineComments": true, + "better-comments.tags": [ + { + "tag": "!", + "color": "#FF2D00", + "strikethrough": false, + "underline": false, + "backgroundColor": "transparent", + "bold": false, + "italic": false + }, + { + "tag": "?", + "color": "#3498DB", + "strikethrough": false, + "underline": false, + "backgroundColor": "transparent", + "bold": false, + "italic": false + }, + { + "tag": "todo", + "color": "#FF8C00", + "strikethrough": false, + "underline": false, + "backgroundColor": "transparent", + "bold": false, + "italic": false + }, + { + "tag": "@ts-", + "color": "#f54242", + "strikethrough": false, + "underline": false, + "backgroundColor": "transparent", + "bold": false, + "italic": false + }, + { + "tag": "eslint-", + "color": "#f54242", + "strikethrough": false, + "underline": false, + "backgroundColor": "transparent", + "bold": false, + "italic": false + }, + { + "tag": "~", + "color": "#474747", + "strikethrough": true, + "underline": false, + "backgroundColor": "transparent", + "bold": false, + "italic": false + } + ], + "javascript.preferences.importModuleSpecifierEnding": "js" +} diff --git a/.vscode/typescript.code-snippets b/.vscode/typescript.code-snippets index f105a20..6ab1c89 100644 --- a/.vscode/typescript.code-snippets +++ b/.vscode/typescript.code-snippets @@ -5,7 +5,7 @@ * $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the * same ids are connected. */ - + // prettier-ignore "Setup Slash Command": { "prefix": "slash", "body": [ @@ -15,7 +15,8 @@ "]" ] }, - + + // prettier-ignore "Slash Command User Argument": { "prefix": "user", "body": [ @@ -28,6 +29,7 @@ ] }, + // prettier-ignore "Slash Command String Argument": { "prefix": "string", "body": [ @@ -40,6 +42,7 @@ ] }, + // prettier-ignore "Slash Command Choice Argument": { "prefix": "choice", "body": [ @@ -58,6 +61,7 @@ ] }, + // prettier-ignore "Slash Boolean Argument": { "prefix": "boolean", "body": [ |