False Positives with gulp-load-plugins && gulp-jshint
See original GitHub issueHello,
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:
- Created 9 years ago
- Comments:12 (6 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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:gulp-load-plugins
package, allgulp-*
dependencies are considered in use. 👉 https://github.com/depcheck/depcheck/pull/127gulp-load
options, the gulp pattern from options is used.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.
Nice!