Support multiple scopes
See original GitHub issueAs raised by @virkt25 in https://github.com/marionebl/commitlint/issues/75, there are use cases for multiple scopes in one commit (think mono repositories):
feat(pkg1, pkg2): add some new feature
While downstream tools like commitlint could parse such scopes by splitting with ,
, I’d prefer to see that work done in conventional-commits-parser
, e.g. by providing an appropriate parser preset.
Things I am not sure about:
- Should
msg.scope
bestring | string[]
or juststring[]
? - Should we introduce a new optional config key for scope splitting, e.g.
scopeDelimiter
?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:13
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Multiple scopes - Optimizely
A scope is a context in which tracking and catalog export occur. A scope contains an instance of a Product Recommendations Engine and...
Read more >Multiple Scope Values to oauth2 - Stack Overflow
When applying multiple scopes for the same Google service, order of scopes seems to matter. F.e this string works as expected:
Read more >How to send multiple scope data for getting authorization code?
I tried to send multiple scope for getting access_code via "https://kong_url:8443/oauth2/authorize" When sending just one scope is OK, ...
Read more >Allow multiple scopes for a pipeline variable
I am aware that I have the possbility to filter the scope to focus on one stage but that is just fine for...
Read more >Getting while sending multiple scopes - Okta Support
I have multiple scopes attached to multiple polices and relationship is 1:1 ...means one scopes is assigned to one policy only.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@dmnsgn we’ve been gradually moving towards making Conventional Commits a standard, I’m not opposed to supporting multiple scopes, but I would like to see a decision made about supporting it made in Conventional Commits, before we implement anything.
I’m working on setting up a monthly meeting for Conventional Commits.
@privatenumber I missed the link, sorry. Thank you, I’ve added a note to add it to the agenda.