-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Switch to ESLint? #69
New issue
Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “No 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? No Sign in to your account
Comments
There is no migration plan yet. |
Do you mean no migration plan for TSLint in general or for the typescript-starter repo? Would you be interested in seeing PRs to migrate? |
We'll probably follow Angular plans in this case. Once they decide to switch to ESLint, we will do the same :) |
create-react-app already switched to eslint in its typescript config. Would be nice to see this. @kamilmysliwiec Any reason not to reopen this? |
@kamilmysliwiec It seems Angular now plans to switch to ESLint: angular/angular-cli#13732 (comment) |
Can we reopen this now that TSLint has been deprecated? palantir/tslint#4534 |
any guide or sample config files for those wanting to use eslint instead of tsling with their nest projects? I saw a this one on another issue: nestjs/nest#1541 |
I can do it if no one started yet :D |
To keep you aligned - we already had some discussion on @IGassmann PR #105 regarding the ESLint migration. We came to the conclusion that we will wait until Angular CLI migrates to ESLint angular/angular-cli/issues#13732. Therefore we want to follow the future Angular ESLint configuration as close as possible. Since there has not been an official statement yet what configuration Angular is planning to use, this issue is unfortunately blocked Personally I'd suggest we give it some more time. If Angular does not push forward in the upcoming months, we just start the migration sooner. |
My belief is that @JamesHenry and @alexeagle are creating an ESLint configuration based on https://angular.io/guide/styleguide that is compatible with https://github.com/typescript-eslint/typescript-eslint. |
Beware that there are still some bugs in eslint-typescript that need to be addressed, ex. |
Tslint is now marked as deprecated https://github.com/palantir/tslint/releases/tag/6.0.0 |
Migrated |
Thanks, @kamilmysliwiec for the update. Just felt that it was worth mentioning to the community for devs who have an existing application containing TSLint. Problem: Solution:
|
That migration should have been done via schematics. Maybe it isn't too late? |
It sounds like ESLint is making a major push towards Typescript
https://eslint.org/blog/2019/01/future-typescript-eslint
which is supported by the Typescript roadmap
microsoft/TypeScript#29288
Is it ready enough to start switching?
The text was updated successfully, but these errors were encountered: