-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration from tslint to typescript-eslint #303
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I left some comments, but I think it's fine overall
@@ -51,9 +53,14 @@ | |||
"@types/pluralize": "^0.0.29", | |||
"@types/supertest": "^2.0.10", | |||
"@types/ws": "^7.4.4", | |||
"@typescript-eslint/eslint-plugin": "^4.33.0", | |||
"@typescript-eslint/parser": "^4.33.0", | |||
"eslint": "^7.32.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why 7.x and not 8.x?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I installed it without version preferences, probably 8.x is still pre-release.
@@ -223,7 +241,7 @@ export default class Application { | |||
|
|||
resolve(); | |||
}); | |||
}) | |||
}), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this correct? I don't remember this function, but I read https://eslint.org/docs/rules/no-async-promise-executor and this seems like a good catch from the linter isn't it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The scope of the PR was simply to migrate from one linter to the next. All of the rules I've disabled are improvement opportunities for the codebase, but I didn't want to get them all here, as the PR would become substantially larger in terms of changeset.
We can tackle this in separate issues, one per rule.
Resolves #280.
eslint
, minimum relinting applied.