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.

False positive tslint-plugin-prettier, tslint-react, tslint-sonarts

See original GitHub issue

Bug Description

Unused dependencies :

* tslint-plugin-prettier
* tslint-react
* tslint-sonarts

Missing dependencies :

* tslint-config-tslint:all
* tslint-config-tslint-react
* tslint-config-tslint-sonarts

Code snippets

Where the dependency is used:

tslint.json

{
  "extends": ["tslint:all", "tslint-react", "tslint-sonarts", "tslint-config-prettier"],
  "rulesDirectory": ["tslint-plugin-prettier"],
  ...
}

Where the dependency is listed in package.json:

    "tslint": "^5.12.0",
    "tslint-config-prettier": "^1.18.0",
    "tslint-plugin-prettier": "^2.0.1",
    "tslint-react": "^3.6.0",
    "tslint-sonarts": "^1.8.0",

Versions

  • node -v: v11.6.0
  • npm -v: 6.5.0-next.0
  • depcheck --version: 0.7.1

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
VincentLangletcommented, Nov 2, 2019

This still should be fixed

0reactions
rumplcommented, Nov 2, 2019

Fixed, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Eslint prettier false positives in React - serviceWorker.ts
EsLint prettier creates false positives error messages in the widget dashboard directory. Specifically from the serviceWorker.ts file.
Read more >
Linting in TypeScript using ESLint and Prettier - LogRocket Blog
Integrate Prettier with ESLint to automate type-checking in your TypeScript code and ensure that the code has no bugs.
Read more >
tslint-config-eslint - npm.io
TSLint will be deprecated some time in 2019, but it has not been finished. So maybe you're using ESLint with it together, then...
Read more >
tslint | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >
Using ESLint and Prettier in a TypeScript Project
TSLint is a linter than can only be used for TypeScript, while ESLint ... If using TypeScript with React, the eslint-plugin-react dev ...
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