WIP Check your spelling. WIP
Run cargo spellcheck --fix
or cargo spellcheck fix
to fix all your documentation comments
in order to avoid narsty types all over the place.
Meant as a helper simplifying review as well as possibly improving CI
after a learning phase for custom/topic specifc lingo.
cargo spellcheck
has a return code 1
if any unknown words are found, and 0
on success.
Error display follows cargo
error printing style:
error: spellcheck --> src/main.rs:44 | 44 | Fun facets shalld cause some erroris. | ^^^^^^ | - shall or shall d |
cargo-spellcheck check
hunspell
languagetool
http APImarkdown
aware```rust
wrapped sectionsREADME.md
filescargo-spellcheck fix
cargo-spellcheck fix --interactive
hunspell
and languagetool
are currently the two supported featuresets.
```toml
[LanguageTool] url = "192.168.1.1:8010"
[Hunspell]
.dic
filelang = "en_US"
searchdirs = [] extradictonaries = [] ```
cargo install cargo-spellcheck
Requires the native library
sh
dnf install -y hunspell-devel
and building should succeed just fine.
Run a instance of the LanguageTool server i.e. as container .