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
Problem: I would like to use the package ts-predicate (which can't be used as dev dependency because it's needed at runtime). And of course I get a lint error because the name matches the rule.
I couldn't find in the documentation if I could use some sort of regex to exclude a particular name. It seems only the wildcard is available but it doesn't fit my situation.
Proposition: Add a whitelist array as an optional array after the matching array. Configuration example:
Hi,
First of all thanks for the work, it's a very useful package :) I however ran into a kinda specific problem.
Context: I'm using
the no-restricted-dependencies
rule with the following configuration :Problem: I would like to use the package
ts-predicate
(which can't be used as dev dependency because it's needed at runtime). And of course I get a lint error because the name matches the rule.I couldn't find in the documentation if I could use some sort of regex to exclude a particular name. It seems only the wildcard is available but it doesn't fit my situation.
Proposition: Add a whitelist array as an optional array after the matching array. Configuration example:
What do you think?
The text was updated successfully, but these errors were encountered: