Migrate from TSLint to ESLint

This commit is contained in:
tcdejong
2020-02-03 18:41:29 +01:00
parent 962c62a474
commit 57990c4215
6 changed files with 192 additions and 69 deletions

View File

@@ -5,7 +5,7 @@
"main": "index.js",
"//": "If you add or change the names of destinations in screeps.json, make sure you update these scripts to reflect the changes",
"scripts": {
"lint": "tslint -p tsconfig.json \"src/**/*.ts\"",
"lint": "eslint \"src/**/*.ts\"",
"build": "rollup -c",
"push-main": "rollup -c --environment DEST:main",
"push-pserver": "rollup -c --environment DEST:pserver",
@@ -35,10 +35,17 @@
"@types/screeps": "^3.0.0",
"@types/sinon": "^5.0.5",
"@types/sinon-chai": "^3.2.0",
"@typescript-eslint/eslint-plugin": "^2.6.1",
"@typescript-eslint/parser": "^2.6.1",
"@typescript-eslint/typescript-estree": "^2.6.1",
"chai": "^4.2.0",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-prettier": "^3.1.1",
"lodash": "^3.10.1",
"mocha": "^5.2.0",
"prettier": "^1.14.0",
"prettier": "^1.19.1",
"rollup": "^0.63.4",
"rollup-plugin-buble": "^0.19.4",
"rollup-plugin-clear": "^2.0.7",
@@ -51,10 +58,7 @@
"sinon": "^6.3.5",
"sinon-chai": "^3.2.0",
"ts-node": "^7.0.1",
"tslint": "^5.9.1",
"tslint-config-prettier": "^1.14.0",
"tslint-plugin-prettier": "^1.3.0",
"typescript": "^2.9.2"
"typescript": "^3.7.5"
},
"dependencies": {
"source-map": "~0.6.1"