-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement: [import/no-restricted-paths] accept target exceptions #3050
Comments
Can't you already handle this by using eslint |
Some use-cases can be solved with |
For our use-case specifically, we managed to find a way using |
also can't |
No,
It would be nice if |
In order to support more complex use-cases, it would be really nice to be able to exclude parts of the target path.
Suggested config:
It could be implemented pretty simple by extending the
matchingZones
filter:This would also resolve #2800
The text was updated successfully, but these errors were encountered: