switch to folder settings over workspace settings
This commit is contained in:
parent
c15b920992
commit
0c54e3cf48
7
.vscode/extensions.json
vendored
Normal file
7
.vscode/extensions.json
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"dbaeumer.vscode-eslint",
|
||||||
|
"Gruntfuggly.auto-snippet",
|
||||||
|
"hexnaught.vscode-bitburner-connector"
|
||||||
|
]
|
||||||
|
}
|
22
.vscode/settings.json
vendored
Normal file
22
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
// Linter Settings
|
||||||
|
"typescript.validate.enable": false,
|
||||||
|
"javascript.validate.enable": false,
|
||||||
|
"eslint.validate": ["typescript", "typescriptreact"],
|
||||||
|
"eslint.workingDirectories": ["./src"],
|
||||||
|
"editor.codeActionsOnSave": {"source.fixAll.eslint": true},
|
||||||
|
|
||||||
|
// Bitburner Extension Settings
|
||||||
|
"bitburner.scriptRoot": "./dist/",
|
||||||
|
|
||||||
|
// Autosave Settings
|
||||||
|
"files.autoSave": "off",
|
||||||
|
|
||||||
|
// Autosnippet settings
|
||||||
|
"autoSnippet.snippets": [
|
||||||
|
{
|
||||||
|
"pattern": "**/*.ts",
|
||||||
|
"snippet": "ns-template"
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
5
.vscode/snippets.code-snippets
vendored
5
.vscode/snippets.code-snippets
vendored
@ -3,8 +3,8 @@
|
|||||||
"scope": "typescript",
|
"scope": "typescript",
|
||||||
"prefix" : ["template"],
|
"prefix" : ["template"],
|
||||||
"body": [
|
"body": [
|
||||||
"import { NS } from \"../NetscriptDefinitions\"",
|
"import { NS } from '../NetscriptDefinitions'",
|
||||||
"",
|
"//",
|
||||||
"export async function main(ns : NS) : Promise<void> {",
|
"export async function main(ns : NS) : Promise<void> {",
|
||||||
"\t",
|
"\t",
|
||||||
"}"
|
"}"
|
||||||
@ -12,6 +12,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"autocomplete": {
|
"autocomplete": {
|
||||||
|
"scope": "typescript",
|
||||||
"prefix": "autocomplete",
|
"prefix": "autocomplete",
|
||||||
"body": [
|
"body": [
|
||||||
"// eslint-disable-next-line @typescript-eslint/no-unused-vars",
|
"// eslint-disable-next-line @typescript-eslint/no-unused-vars",
|
||||||
|
27
.vscode/workspace.code-workspace
vendored
27
.vscode/workspace.code-workspace
vendored
@ -1,27 +0,0 @@
|
|||||||
{
|
|
||||||
"folders": [{
|
|
||||||
"path": ".."
|
|
||||||
}],
|
|
||||||
"settings": {
|
|
||||||
// Linter Settings
|
|
||||||
"typescript.validate.enable": false,
|
|
||||||
"javascript.validate.enable": false,
|
|
||||||
"eslint.validate": ["typescript", "typescriptreact"],
|
|
||||||
"eslint.workingDirectories": ["./src"],
|
|
||||||
"editor.codeActionsOnSave": {"source.fixAll.eslint": true},
|
|
||||||
|
|
||||||
// Bitburner Extension Settings
|
|
||||||
"bitburner.scriptRoot": "./dist/",
|
|
||||||
|
|
||||||
// Autosave Settings
|
|
||||||
"files.autoSave": "off",
|
|
||||||
|
|
||||||
// Autosnippet settings
|
|
||||||
"autoSnippet.snippets": [
|
|
||||||
{
|
|
||||||
"pattern": "**/*.ts",
|
|
||||||
"snippet": "ns-template"
|
|
||||||
},
|
|
||||||
],
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user