Add allowEmptyScope to configuration
See original GitHub issueSince, there’s a rule scope-empty here https://conventional-changelog.github.io/commitlint/#/reference-rules?id=scope-empty
For people using cz-customizable
along with commitlint
it’d be nice to have possibility to enforce scope.
AC:
- Add
{ allowEmptyScope }
with defaulttrue
to configuration. - When
allowEmptyScope === false
don’t make it possible to skip this question while commiting
I can push a PR for this soon if no one will pick this.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
From local development to remote deployment - Jake Lam
This article summarises my experience to construct a standard for my team, ranging from local development to remote deployment. The article is ...
Read more >koin/CHANGELOG.md at main · InsertKoinIO/koin - GitHub
[FIXED] [core] Allow empty Scope declaration. Allow redeclaration of same scope, to complete it. [FIXED] [core, android, androidx, test] Inject is ny ...
Read more >@dino-dna/semantic-pull-requests - npm package | Snyk
By default, no configuration is necessary. If you wish to override some behaviors, you can add a semantic.yml file to your .github directory...
Read more >@dino-dna/semantic-pull-requests NPM | npm.io
By default, no configuration is necessary. If you wish to override some behaviors, you can add a semantic.yml file to your .github directory...
Read more >Ontopia Documentation
Ontopia. What's new - Ontopia 5.x. This document describes what has changed in Ontopia between releases, both at a higher level, and in...
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 FreeTop 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
Top GitHub Comments
It sounds good to me. I was going to write a PR today to skip scope. Some places we just want to commit like “feat: this is my feature”. In those cases, scope is unimportant and better if the question is not even asked. Maybe this is a different case.
Btw I think we have an option to allow empty scope already. Let me have a look later. I’m in the phone now.
Actually we have already the option
skipQuestions
, type array of string for this purpose. SoskipQuestions: ['scope']
would not askscope
question at all.