Skip to content

Allow exclude by regex#180

Closed
blundell wants to merge 1 commit intodropbox:mainfrom
blundell:pblundell/exclude-by-name-or-regex
Closed

Allow exclude by regex#180
blundell wants to merge 1 commit intodropbox:mainfrom
blundell:pblundell/exclude-by-name-or-regex

Conversation

@blundell
Copy link
Copy Markdown
Contributor

For a module like :a:b:c:d

the name is "d" and the path is ":a:b:c:d".

You could now exclude using multiple styles:

excludedModules = [
   "d",
   ":a:b:c:d",
   ":.+:d",
]

(you would just use one of the 3 above strings.)

- Previously you could exclude by module name (#54)
- Now you can still exclude by module name but also exclude against module path using a regex

For a module like 🅰️b:c:d

the name is "d" and the path is "🅰️b:c:d".

You could now exclude using multiple styles:

```
excludedModules = [
   "d",
   "🅰️b:c:d",
   ":.+:d",
]
```
(you would just use one of the 3 above strings.)
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Paul Blundell seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@blundell
Copy link
Copy Markdown
Contributor Author

brb fixing author email

@blundell blundell closed this Nov 23, 2022
@blundell blundell deleted the pblundell/exclude-by-name-or-regex branch November 23, 2022 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants