typope
Pedantic tool to find orthotypography mistakes,
typographical errors, and other mistakes that are not covered by tools
like typos to ensure that your source code is
free from typographical heresy.
Rules
typope has only one rule at the moment:
Supported Languages
typope relies on tree-sitter to parse the following languages:
- Rust
- Go
- Kotlin
- Python
- C++
- C
- Markdown
- YAML
- TOML
- JSON
Many more could be supported if you are motivated to open a PR :)
To minimize false positives, only typos found in literal strings (e.g., "this is a string")
are detected. It means typos in comments are ignored for the moment.
Raw literal strings (e.g., in Rust this would be r"raw string") are ignored on purpose.
In Markdown, code blocks or code spans (e.g., `example`) are ignored on purpose.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.