Is there an existing JS linter that detects dead files and exports?
-
-
I guess my mind is at those edge cases where a gulpfile or something might reference a file in a unique/untraditional way
-
Yeah dynamic requires are hard. It would need to be customizable with a set of entry points. You could also have a blacklist of files/folders if you're doing anything too tricky. Most large codebases end up with unsued files so it's potentially worth the effort.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 