set eslint

main
Olivier Gagnon 2 years ago
parent 65ea61939b
commit 5f91675b81

@ -0,0 +1,22 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"overrides": [
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
}
}

@ -1,9 +1,5 @@
{
"allowedFiletypes": [
".js",
".script",
".txt"
],
"allowedFiletypes": [".js", ".script", ".txt"],
"allowDeletingFiles": false,
"port": 12525,
"scriptsFolder": "dist",
@ -11,6 +7,6 @@
"dry": false,
"definitionFile": {
"update": false,
"location": "src/NetScriptDefinitions.d.ts"
"location": "NetScriptDefinitions.d.ts"
}
}

2797
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -1,12 +1,15 @@
{
"name": "bitburner-typescript-template",
"version": "0.0.0",
"version": "1.0.0",
"scripts": {
"watch": "(npx bitburner-filesync &) && npx tsc -w"
},
"author": "hydroflame, based on work by SlyCedix",
"author": "hydroflame, Hoekstraa, based on work by SlyCedix",
"devDependencies": {
"typescript": "^4.7.4",
"bitburner-filesync": "^1.0.0"
"@typescript-eslint/eslint-plugin": "^5.35.1",
"@typescript-eslint/parser": "^5.35.1",
"bitburner-filesync": "^1.0.0",
"eslint": "^8.22.0",
"typescript": "^4.7.4"
}
}

Loading…
Cancel
Save