cz-customizable icon indicating copy to clipboard operation
cz-customizable copied to clipboard

Option to reorder Scope before Type

Open DennisL68 opened this issue 5 years ago • 5 comments

For some reason I always try to enter Scope first. So I'd like an option to swap the order of the questions presented.

DennisL68 avatar Oct 23 '19 11:10 DennisL68

It feels like I implemented something like this already. Let me look...

leonardoanalista avatar Oct 23 '19 11:10 leonardoanalista

no, not yet. I wrote something like "ask for breaking change first"

leonardoanalista avatar Oct 23 '19 11:10 leonardoanalista

Ok, looking forward to this as new feature :)

DennisL68 avatar Oct 23 '19 11:10 DennisL68

You can write your own adapter for this by referring this link as example.

rewathkafley avatar Jul 26 '20 15:07 rewathkafley

Maybe a schema / pattern based approach would be a good idea here.

schema = "<type>: <body>"
schema_pattern = "(feature|bug fix):(\\s.*)"

e.g: https://commitizen-tools.github.io/commitizen/customization/

kjvelarde avatar Nov 04 '20 15:11 kjvelarde