Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Predefined list of scopes #780

Open
stalinkay opened this issue Mar 11, 2022 · 4 comments
Open

Predefined list of scopes #780

stalinkay opened this issue Mar 11, 2022 · 4 comments

Comments

@stalinkay
Copy link

Hello @carloscuesta!

There's currently no way to include a list of preset scopes that a team member can select so they use predetermined scopes. A great example of this is commitizen.

@carloscuesta
Copy link
Owner

Hey! Thanks for opening an issue, what do you mean by scopes?

Commitizen has a selectable option for the type of the commit that in gitmoji would be the emoji, the scope can't be predefined as it can be anything related with the use-case of your commit/application

@stalinkay
Copy link
Author

@carloscuesta You could add it under gitmoji --config. This would enable a user/teams to set a predefined list of acceptable scopes. This is very useful in monorepos, for instance.

It looks like commitizen doesn't support it but it's supported by cz-customizable, a commitizen adapter.

@carloscuesta
Copy link
Owner

carloscuesta commented Mar 17, 2022

Hey!

Thanks for the clarification! Now I understand the feature 😊

I think it can be a great addition to the cli. Would you like to work on a PR for this? @stalinkay

@stalinkay
Copy link
Author

@carloscuesta You are most welcome.

I'm not currently able due to time constraints. Hopefully, someone will hop on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants