1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2025-11-08 20:27:37 +00:00

Migrate TSLint to ESLint. Closes #209

This commit rewrites linting support in the project to be based solely
on the ESLint as advised by the TSLint tool authors:
https://medium.com/palantir/tslint-in-2019-1a144c2317a9

The migration is based on default, recommended settings for TypeScript
in ESLint and is expected to be updated in future to better fit project
goals.

All references has been updated and replaced with relevant ESLint
context:

- dependencies migration from TSLint to ESLint
- VSCode configuration changes to support ESLint exension
- VSCode extensions recommendation changes
- `.eslintrc` and `.eslintignore` configuration files added
- all error level problems in the source files are covered by this
  migration

Thanks!
This commit is contained in:
Peter Blazejewicz
2019-07-14 22:45:19 +02:00
parent f90451ac0e
commit 3414ceca45
22 changed files with 1076 additions and 660 deletions

View File

@@ -2,8 +2,8 @@ import request from "supertest";
import app from "../src/app";
describe("GET /random-url", () => {
it("should return 404", (done) => {
request(app).get("/reset")
.expect(404, done);
});
it("should return 404", (done) => {
request(app).get("/reset")
.expect(404, done);
});
});