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.

Remove TSLint (deprecated)

See original GitHub issue

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • I am running the latest version
  • I checked the documentation (nx.dev) and found no answer
  • I checked to make sure that this issue has not already been filed
  • I’m reporting the issue to the correct repository (not related to React, Angular or any dependency)

Expected Behavior

As described in their post about it, tslint is now deprecated - instead @typescript-eslint/eslint-plugin and @typescript-eslint/parser should be used with eslint. This seems to already be happening in the main .eslintrc, so tslint should no longer be needed

Current Behavior

Tslint is included when generating a workspace, but shouldn’t be needed since @typescript-eslint/parser is included and setup within .eslintrc.

Failure Information (for bugs)

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Run npx create-nx-workspace@latest repro-workspace
  2. See that tslint is within package file

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
alexeaglecommented, May 21, 2020

Hi, interesting thread but you got the wrong Alex 🅰️

1reaction
sushruthcommented, Jun 5, 2020

would be nice to be able to specify default linter for the whole workspace.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrate from TSLint to ESLint - Visual Studio Code
Migrate from TSLint to ESLint. TSLint has been the recommended linter in the past but now TSLint is deprecated and ESLint is taking...
Read more >
TSLint is deprecated: how to upgrade to ESlint
Ts lint is deprecated now. It still works totally fine, but if you want to stay current in your next typescript project you...
Read more >
Painless Migration of tslint to eslint — Angular - Medium
TSLint has been deprecated since 2019. and our projects are still using it, it's time to say goodbye to TSLint and migrate our...
Read more >
Migrate From TSLint to ESLint: A Brief Guide With No Snark
The catch with the above-mentioned two tools is that TSLint has now long been deprecated, it was deprecated back in 2019 and since...
Read more >
Migrating from TSLint to ESLint - Ninja Squad
As you probably know, TSLint has been deprecated since 2019. But, until now, the Angular CLI was still generating projects with built-in ...
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