We've not yet implemented the hash-range feature, but I'm still leaving it here.
context:
upstream project, commitlint has its --to-hash flag optional with its default value set to HEAD. However, the --to-hash is a must.
Proposal:
In cocox, make --from-hash flag optional, and if it's not provided, cocox will lint commits all the way from the first commit
example:
But, --to-hash is also optional, so there is an option to not provide both --from-hash and --to-hash flags. which leaves us with just the command cocox .
So maybe we could have another flag like: cocox --all or all subcommand that lints all messages in the main branch.
We've not yet implemented the hash-range feature, but I'm still leaving it here.
context:
upstream project,
commitlinthas its --to-hash flag optional with its default value set toHEAD. However, the --to-hash is a must.Proposal:
In cocox, make
--from-hashflag optional, and if it's not provided, cocox will lint commits all the way from the first commitexample:
But, --to-hash is also optional, so there is an option to not provide both
--from-hashand--to-hashflags. which leaves us with just the commandcocox.So maybe we could have another flag like:
cocox --allorallsubcommand that lints all messages in the main branch.