-
Notifications
You must be signed in to change notification settings - Fork 120
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
Adding support for more file types #698
Comments
What is it you are seeing where typos isn't supporting a file? File types are used for per-file-type configuration and we don't need to know about a file type to check it, relying solely on the |
I had a typo in
and since |
That wording was taken from $ rg -h | rg type
rg [OPTIONS] --type-list
-t, --type <TYPE>... Only search files matching TYPE.
--type-add <TYPE_SPEC>... Add a new glob for a file type.
--type-clear <TYPE>... Clear globs for a file type.
--type-list Show all supported file types.
-T, --type-not <TYPE>... Do not search files matching TYPE. While it is referring to supported in the other arguments, we are referring to being supported in the configuration for special casing |
Hi, and thanks for a great tool!
There are some files that
typos
misses, because it doesn't know about their extension. In my project we have a bunch of shaders, written in wgsl. How would I go about convincingtypos
to also checkwgsl
files? I'd be happy to make a PR!I checked
CONTRIBUTING.md
but found nothing about how to add support for more file types.The text was updated successfully, but these errors were encountered: