Skip to content

Replace TSLint with ESLint #3331

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

Merged
merged 16 commits into from
Oct 19, 2022
Merged

Replace TSLint with ESLint #3331

merged 16 commits into from
Oct 19, 2022

Conversation

andyleejordan
Copy link
Member

@andyleejordan andyleejordan commented May 3, 2021

The originally recommended migration method resulted in 3,150 problems, and it moved us to an already out-of-date version of ESLint. So I decided to redo this by moving natively to ESLint's recommended configuration (no TSLint migration, except for comment directives) and then allowed ESLint to reformat the codebase. Resolves #2882.

@ghost ghost added Area-Build & Release Issue-Enhancement A feature request (enhancement). labels May 3, 2021
@andyleejordan andyleejordan changed the title WIP: Replace TSLint with ESLint Replace TSLint with ESLint Oct 18, 2022
@andyleejordan andyleejordan marked this pull request as ready for review October 18, 2022 23:50
@andyleejordan andyleejordan requested a review from a team October 18, 2022 23:50
@andyleejordan andyleejordan requested a review from a team as a code owner October 18, 2022 23:50
@andyleejordan
Copy link
Member Author

@SeeminglyScience for what it's worth there is also @typescript-eslint/recommended-requiring-type-checking which would be awesome to have...but currently finds over 600 errors.

Except where we have to ignore them individually.
We selectively fixed and enabled most of its warnings, and then disabled
the ones we cannot (for now) fix (mostly due to use of `any`).
@andyleejordan
Copy link
Member Author

Ok I turned that on!

@andyleejordan
Copy link
Member Author

Followed this essentially: https://typescript-eslint.io/docs/linting/configs/

Copy link
Collaborator

@SeeminglyScience SeeminglyScience left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@andyleejordan andyleejordan merged commit 817ae25 into main Oct 19, 2022
@andyleejordan andyleejordan deleted the andschwa/eslint branch October 19, 2022 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Build & Release Issue-Enhancement A feature request (enhancement).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TSLint is deprecated
2 participants