-
Notifications
You must be signed in to change notification settings - Fork 4
Description
The following ruleset which is new causing issues:
node/no-missing-require
node/no-missing-import
import/no-unresolved
In general they seem to be redundant (the ones from the node package with the ones from the import package)
This rule was causing our CI to fail on the publish of a release candidate because it requires installing dependencies. https://netlify.slack.com/archives/CBC2U9MMG/p1642520718015700
https://github.com/netlify/cli/runs/4855518297?check_suite_focus=true
This is not the major problem despite the fact that it increases our CI usage without the need to.
In my opinion which drives me crazy currently is if you work on multiple issues in parallel that have different additions on dependencies you cannot just switch to the other branch do a small typo fix and push.
(As on push the lint rule is run and complains about a non existing dependency)
So I have to run install (as I don't want to bypass it by running with --no-verify
)
This is not a huge issue if you don't add or remove dependencies but if you do it can get quite frustrating.