rm vscode stuff

main
Olivier Gagnon 2 years ago
parent 2104e16315
commit 52f9dc5671

@ -1,7 +0,0 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"Gruntfuggly.auto-snippet",
"bitburner.bitburner-vscode-integration"
]
}

@ -1,20 +0,0 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Attach to Bitburner Render Process",
"address": "127.0.0.1",
"port": 9222,
"request": "attach",
"type": "pwa-chrome",
"timeout": 15000,
"webRoot": "${workspaceRoot}/src",
"sourceMapPathOverrides": {
"http://localhost:8000/sources/*": "${workspaceRoot}/src/*"
}
},
]
}

@ -1,26 +0,0 @@
{
// Linter Settings
"typescript.validate.enable": false,
"javascript.validate.enable": false,
"eslint.validate": ["typescript", "typescriptreact"],
"eslint.workingDirectories": ["./src"],
"editor.codeActionsOnSave": {"source.fixAll.eslint": true},
// Use Non-relative imports so the game can find files in its fake directory structure
"javascript.preferences.importModuleSpecifier": "non-relative",
"typescript.preferences.importModuleSpecifier": "non-relative",
// Bitburner Extension Settings
"bitburner.scriptRoot": "./dist/",
// Autosave Settings
"files.autoSave": "off",
// Autosnippet settings
"autoSnippet.snippets": [
{
"pattern": "**/*.ts",
"snippet": "ns-template"
},
],
}

@ -1,24 +0,0 @@
{
"ns-template": {
"scope": "typescript",
"prefix": "template",
"body": [
"import { NS } from '@ns'",
"",
"export async function main(ns : NS) : Promise<void> {",
"\t//",
"}"
]
},
"autocomplete": {
"scope": "typescript",
"prefix": "autocomplete",
"body": [
"// eslint-disable-next-line @typescript-eslint/no-unused-vars",
"export function autocomplete(data : ServerData, args : string[]) : string[] {",
"\treturn [...data.servers]",
"}"
],
"description": "autocomplete"
}
}
Loading…
Cancel
Save