-
Notifications
You must be signed in to change notification settings - Fork 929
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
language detection error #54
Comments
Yeah, all the rules based on natural language processing are rather flaky. I see the following options:
|
So for my use-case the first option would be a no-go because of an air gapped environment. To be honest I'd leave them as is, it doesn't matter too much if they're in warning mode, but might be worth updating the docs to say you might get problems in error mode, if the text sample is relatively short ? |
Thanks for bringing the unknown constraints of development environments to the table, that rules out remote API usage. My goal for That being said I'd do this by deprecating them in some of the |
Typo fixed at marionebl/commitlint@fd56dff, will ship with next release |
I ran into this too immediately after initially setting up.
You'd said back in July you planned to address this in 3.0, did that not happen? Every commitlint dependency I have is > 3, I'm using these:
Update: If there is a way to suppress warnings and only output errors that would be very useful to me for both this issue and for https://github.com/marionebl/commitlint/issues/78. It would hide the noise from the rest of the team. I didn't see anything in the docs that looked like such an option...is there one? |
Due to other breaking changes I bumped to 3.0 earlier - the plan is to remove the functionality because the false positives are to frequent for texts as short as commits. The removal will happen with one of the next major bumps, one of the releases before then will contain new deprecation warnings. Edit: Currently there is no easy way to filter warnings from the output. As we are discussing |
I just recently adopted |
* fix: search suggestion container height * fix: updates snapshot
Just had the following output from commitlint, where it has incorrectly detected the language:
Running
npx franc-cli "feat(commitlint-config-default): add default commitlint rules"
yieldscat
as the result 😖(Also note the minor typo in the error message)
The text was updated successfully, but these errors were encountered: