This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tell eslint to allow devDependencies imports
In 4c3eec8, I moved a few packages from `dependencies` to `devDependencies`. Eslint wasn't happy about that, so I'm adding an exception to the `import/no-extraneous-dependencies` rule.
- Loading branch information
18df986
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bummer. I saw your reasoning about moving these packages to devDependencies and that makes sense, but I'm not convinced it is worth the tradeoff here. It would be nice if this rule allowed for a whitelist. Perhaps we should open an issue?
18df986
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I guess that would be ideal. I'm not too helped by this rule to be honest. If a dependency isn't listed, the build will break. So having eslint help us is nice but not strictly necessary.