mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-18 18:05:11 +02:00
2b5699180c3565de7eb0f662bf24c65728436e5c
I didn't count on how `buffer.lines().count()` would handle different corner cases, like slices with no `\n`, slices with trailing `\n`, etc. Fixes #259
typos
Source code spell checker
Finds and corrects spelling mistakes among source code:
- Fast enough to run on monorepos
- Low false positives so you can run on PRs
Dual-licensed under MIT or Apache 2.0
Documentation
Install
Download a pre-built binary (installable via gh-install).
Or use rust to install:
cargo install typos-cli
Languages
Rust
95.8%
Shell
3.9%
Python
0.2%
