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

Make UnicodeRegex or CodeRegex optionally disableable. #673

Open
rdbisme opened this issue Feb 22, 2024 · 3 comments
Open

Make UnicodeRegex or CodeRegex optionally disableable. #673

rdbisme opened this issue Feb 22, 2024 · 3 comments

Comments

@rdbisme
Copy link

rdbisme commented Feb 22, 2024

Is there an easy way to enable just one of the regexes? My use case is that I'd like to lint allowing only CodeRegex matching commits, and not Unicode.

@arvinxx
Copy link
Owner

arvinxx commented Feb 22, 2024

I think yes.

@rdbisme
Copy link
Author

rdbisme commented Feb 22, 2024

I think yes.

Oh cool, how? :)

@arvinxx
Copy link
Owner

arvinxx commented Feb 22, 2024

https://github.com/arvinxx/gitmoji-commit-workflow/blob/master/packages/commitlint-plugin/src/rule.ts

The validation of emoji code is separated. So what we need to do is add a config to just skip unicode check.

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

No branches or pull requests

2 participants