crate-ci / typos

Source code spell checker
Apache License 2.0
2.7k stars 113 forks source link

False positive: MAC addresses #1101

Open ambroisie opened 2 months ago

ambroisie commented 2 months ago

The following MAC address: F7:78:BA:76:52:F7 gets erroneously flagged as a typo for its middle BA string.

epage commented 2 months ago

For me, the question is whether MAC addresses in code / comments is common enough to have built-in detection support or if thats better left to defining a regex to match it in your config

jvacek commented 1 month ago

I wouldn't mind being able to filter out any word shorter than 2 chars