-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
extra quirks for large codebases #82
Comments
This should be quite self contained within CC @laysauchoa |
Hey @drahnr I've tried it out and as always didn't succeed 😞 I'd like to address a couple of questions here.
As I see there's 2 types of rules here basically ones which produce |
These are very good points!
Technically that sounds like a good idea but requires additional work (using a
I think the 2x quirk should be expanded a bit to something like
I understand it like this: The What do you think? |
|
Not entirely closed. |
Is your feature request related to a use-case? Please describe.
With large code bases there are often special cases which are not easy to cover, some of them are more generic, others are very specific.
Issues faced
2x
,'gap'
andsome-thing
should be all ok, but they are marked as possible spelling mistakes.Describe the solution you'd like
A combination of regex quirks for the hunspell checker.
Possibly a configurable set of hardcoded quirks
quirks=["single-quoted", "quoted", "multipicity-x-suffix", "dash-free-compound-words"]
since that would give a speed gain compared tofancy-regex
compilation and execution.Describe alternatives you've considered
Spelling is hard, the only alternative would be to learn all of them, but that's a long shot #41 and would be very tedious for pre-existing code-bases.
Additional context
Required for adoption in the rust-lang/rust code base 🎉 rust-lang/rust#74697 (comment)
The text was updated successfully, but these errors were encountered: