Open mre opened 2 weeks ago
@mre looks good overall. Does this mean that non Markdown/HTML files are no longer checked when the new argument isn't specified?
Yeah, good point. I think plaintext is missing to be compatible with what we had before. That's the only missing format, or? Was considering to extend it to other formats like JSON or YAML as well.
This adds support for overwriting extensions:
The above would only check these extensions.
This was enabled by moving to
ignore
(#1500 by @thomas-zahner).I'm not 100% convinced about the design yet. Feedback welcome! Guess we should use whatever
ignore::types::Types
for file extension matching as it's well-maintained and more exhaustive. Switching this would remove some custom code we have inFileType
.Fixes #410