You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to allow everything except reakit/Toolbar and dir2/subdir/*.
Because this should work for the full codebase (lot of node_modules dependencies, complex directory tree), I prefer maintaining an exclusion list of what is forbidden than an inclusion list of what is allowed.
Would you accept a PR to add a forbid option to import/no-internal-modules to be used like below ?
I would like to use
import/no-internal-modules
to allow all imports except some rules.For example, given
I would like to allow everything except
reakit/Toolbar
anddir2/subdir/*
.Because this should work for the full codebase (lot of node_modules dependencies, complex directory tree), I prefer maintaining an exclusion list of what is forbidden than an inclusion list of what is allowed.
Would you accept a PR to add a
forbid
option toimport/no-internal-modules
to be used like below ?The text was updated successfully, but these errors were encountered: