Skip to content
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

feat: support deny deps by regex #47

Open
leaxoy opened this issue Apr 15, 2024 · 0 comments
Open

feat: support deny deps by regex #47

leaxoy opened this issue Apr 15, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@leaxoy
Copy link

leaxoy commented Apr 15, 2024

In some scenarios, a large number of dependencies with similar names will be used within the organization, and this tool can be used to reject these dependencies according to regular rules.

Example:

xxx.org/yyy/aaa
xxx.org/yyy/bbb
xxx.org/yyy/ccc

for config:

blocked:
  regexps:
    xxx.org/yyy/\w+:
      reason: should use xxx.org/yyy/common instead
@ryancurrah ryancurrah self-assigned this Apr 15, 2024
@ryancurrah ryancurrah added the enhancement New feature or request label Apr 15, 2024
@ryancurrah ryancurrah changed the title support deny deps by regex feat: support deny deps by regex Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants