Can you give me an example to make sure it's working? #949
-
Hi, I am trying to use typos in my github actions, as a lint to check word spell. But I tried to make some typo, for example I write Then run below commands: typos It seems nothing happened, would you please share knowledge? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Typos is not a typical editor spell checker that has a list of known words and tries to coerce your test to that list of known words. Instead, it works off of a hard coded list of common typos, correcting them. This is done to keep the false-positive rate low. For test cases, see the source file we build from: https://github.com/crate-ci/typos/blob/master/crates/typos-dict/assets/words.csv |
Beta Was this translation helpful? Give feedback.
Typos is not a typical editor spell checker that has a list of known words and tries to coerce your test to that list of known words. Instead, it works off of a hard coded list of common typos, correcting them. This is done to keep the false-positive rate low.
For test cases, see the source file we build from: https://github.com/crate-ci/typos/blob/master/crates/typos-dict/assets/words.csv