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 Positives with gulp-load-plugins && gulp-jshint

See original GitHub issue

Hello,

Was looking around at how to determine un-used npm packages and found your project.

When I ran it the following report was generated. However, due to the way I’m loading gulp plugins (using gulp-load-plugins, my guess is this tool is not picking up anything that is dynamically loaded. Similarly, I’m asking it to use the jshint-stylish reporter for my jshint, which I presume is another dynamically loaded thing…

Unused Dependencies
* gulp-debug

Unused devDependencies
* gulp-markdown
* gulp-mocha
* gulp-plumber
* gulp-jshint
* gulp-jscs
* jshint-stylish
* gulp-istanbul

I can’t say I have any bright ideas on how you can solve these problems, but in case you hadn’t heard of them, they might be interesting ones to look into.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
lijunlecommented, Mar 26, 2016

@eckdanny I understand that, it is very hard to detect all dynamic dependencies. However, our principle is to try to enable one more, and one more detector.

For this particular issue (gulp-load-plugins), there are three levels of supports:

From my estimate, the first feature will cover 80% user cases - although it will miss some unused dependencies. Besides the second feature, it will cover ~90% cases.

The first one should be easy, the second is hard - I will make a try. We won’t consider the third feature until someone comes back and request a third feature.

0reactions
nfantonecommented, Mar 28, 2016

Nice!

Read more comments on GitHub >

github_iconTop Results From Across the Web

gulp-load-plugins - npm Package Health Analysis - Snyk
We found that gulp-load-plugins demonstrates a positive version release cadence with at least one new version released in the past 12 months. In...
Read more >
depcheck - UNPKG
depcheck/CHANGELOG.md ; 310, **Closed issues:** ; 311 ; 312, - False positive when only importing typescript interfaces \(so no runtime code\) from a...
Read more >
depcheck | Yarn - Package Manager
depcheck. Depcheck is a tool for analyzing the dependencies in a project to see: how each dependency is used, which dependencies are useless, ......
Read more >
gulp-load-plugins not loading plugins - Stack Overflow
Install other gulp plugins. tl;dr. If that is your complete package.json , looks like you have no other gulp plugins installed.
Read more >
The Illusion of Speed in Page Load Time - ResearchGate
PTC is found to have a strong, positive relationship with. effort expectancy (EE) and performance expectancy. While PTS also demonstrates a ...
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