question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Migrate from TSLint to Typescript ESLint

See original GitHub issue

TSLint will eventually be deprecated in favor of TypeScript ESLint. It thus makes sense to convert from using tslint.json to a customized .eslintrc.* file and switch to using eslint.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:22
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
StephenHaneycommented, Dec 17, 2019

Just chipping in some perspective: we’re considering moving back to TSLint until the typescript-eslint repo matures.

Since migrating to ESLint, we’ve had A LOT of problems with extremely bad performance and poor TypeScript support with the vscode-eslint extension; it often crashes, gives odd errors, or hangs at 99% CPU (although this appears to be recently remedied).

Since moving to ESLint for TS, we’re spending way too much time talking about debugging our linter.

I’m not saying don’t do it – there are lots of talented people working hard on typescript-eslint; I have no doubt it will soon become the clear choice.

I’d suggest that you consider waiting until TSLint is actually deprecated if you’re happy with how things work now. I’m not sure the VSCode extension support is there yet for ESLint… and make sure to test the change well and weigh the trade-offs of leaving a more mature setup.

1reaction
david-szabo97commented, Nov 18, 2019

Any update on this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrate from TSLint to ESLint - Visual Studio Code
Now, to make the actual migration simpler, run the tslint-to-eslint-config utility. This tool will take your TSLint configuration and create the "closest" ...
Read more >
Migrate From TSLint to ESLint: A Brief Guide With No Snark
The first step would be to convert the existing TSLint config to its corresponding ESLint config, for this tslint-to-eslint-config the tool can be...
Read more >
Migrating from TSLint to ESLint - Ninja Squad
A few tips on how to handle the migration from the deprecated TSLint to ESLint.
Read more >
Migrating from TSLint to ESLint - Medium
The migration from TSLint to ESLint is welcome in being able to leverage more of what the larger JavaScript community has been developing....
Read more >
Migrating a TSLint Rule to ESLint with @typescript-eslint
The most important pointers you need to know before migrating your TSLint rules to ESLint rules.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found