eslint-plugin-dependencies
eslint-plugin-dependencies copied to clipboard
Abandoned?
Is this project abandoned? There have been no commits since 2017. No feedback on PRs for some time. And it doesn't work with ESLint v6.
If there's anything that the community can help with, please let us know. Otherwise, should this project be forked?
I could be useful to fork this project, since it is not maintained more than 2 years
Alternatives?
Alternatives?
https://github.com/benmosher/eslint-plugin-import. Despite the name, most rules work with commonjs too. It's not a one-to-one replacement for eslint-plugin-dependencies, but it has rules to accomplish most of the same goals.
eslint-plugin-import is the current version, but it doesn't support detecting require()
cycles. It has an option for commonjs
but it only handles require("A") -> import "B" -> import "A"
, e.g. it doesn't track requires in the dependency map.