Comments (5)
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.
from cz-customizable.
I think scope can be empty, or even “custom” for you to type. Take a look at the code before you write a PR for this. Cheers Leo
from cz-customizable.
@leonardoanalista thanks, I'll do a double-check. Guess this one can wait since at our side we do linting later 🤔
from cz-customizable.
we have this outcome when allowCustomScopes = true
It allows you to select, manually type of have it empty.
Currently, if you don't have scope
array in your config, it will allow you to type the scope. I think this is useful to most users - question is always asked as per today.
We can create a new option skipScope
to not ask the scope question at all. This would take precedence over scope
array in config file and allowCustomScopes
. This is actually my case where I work. We never use scope but always have a commit type e.g. [minor] this is a new feature
.
I can implement this soon as you have a way around this issue for now.
from cz-customizable.
Actually we have already the option skipQuestions
, type array of string for this purpose. So
skipQuestions: ['scope']
would not ask scope
question at all.
from cz-customizable.
Related Issues (20)
- if my package.json type: 'module' HOT 13
- Configuration on windows
- No scope question error(Denote the SCOPE of this change) HOT 12
- [bug] - Breaks as Commitizen plugin and standalone using custom/example config with error referencing missing `choices` parameter HOT 1
- Scope as free text HOT 1
- getting 'false' as suggested commit message when usePreparedCommit is false.
- Breaks if body is left empty HOT 4
- [BUG?] Cannot input custom scope when choose custom, help!! HOT 4
- [bug] it work on macOS, but lose footer on windows10
- [Bug] invalid custom scopes HOT 1
- No scope question error HOT 4
- ES6 support HOT 2
- how to set subject as required? HOT 2
- I need to use `` to wrap the code in my subject, but it is transcoded.
- allowCustomScopes not work HOT 1
- Question: How to define a custom pattern? HOT 2
- `Custom` does not work HOT 2
- Where i can find docs for .cz.json config with cz-conventional-changelog adapter?
- Manually specify the configuration file path at startup
- cz-customizable中find-config只支持require方法的引入,所以修改配置文件为cjs,同时修改配置文件的查找方法
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cz-customizable.