replace tslint (deprecated) with eslint

This commit is contained in:
Fred K. Schott
2019-10-13 16:41:11 -07:00
parent eb521faa8d
commit 9f183a6dfc
5 changed files with 836 additions and 554 deletions

View File

@@ -31,9 +31,12 @@
},
"devDependencies": {
"@types/node": "11.13.0",
"@typescript-eslint/eslint-plugin": "^2.3.3",
"@typescript-eslint/parser": "^2.3.3",
"assert-diff": "^1.0.1",
"doctoc": "^0.15.0",
"ejs": "^2.3.4",
"eslint": "^6.5.1",
"eventemitter2": "^0.4.14",
"gulp": "^4.0.2",
"json-loader": "^0.5.2",
@@ -45,9 +48,7 @@
"source-map-support": "0.5.12",
"ts-loader": "^3.2.0",
"ts-node": "8.0.3",
"tslint": "^5.8.0",
"tslint-eslint-rules": "^4.1.1",
"typescript": "3.4.2",
"typescript": "^3.6.4",
"uglifyjs-webpack-plugin": "^1.1.4",
"webpack": "3.12.0"
},
@@ -60,7 +61,7 @@
"watch": "tsc -w",
"prepublish": "npm run clean && npm run compile && npm run build",
"test": "TS_NODE_PROJECT=src/tsconfig.json nyc mocha --exit",
"lint": "tslint -p ./",
"lint": "eslint src/**/*.ts",
"perf": "./scripts/perf_test.sh",
"start": "node scripts/http.js"
},