-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try out
eslint-plugin-depend
(#1803)
Add `eslint-plugin-depend` as a dependency and use it with ESLint to suggest alternatives to various dependencies with the goal of preventing dependency tree bloat. As of this commit the plugin does not detect any problems, but the idea is that it would prevent problems from being introduced later OR being detected as the plugin is updated. As a testing example, replacing one of the `node:fs` imports as - import fs from "node:fs"; + import fs from "fs-extra"; will cause the plugin to produce a lint error.
- Loading branch information
1 parent
99d0125
commit ef8b3e6
Showing
3 changed files
with
46 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters