Crates.io | ronat |
lib.rs | ronat |
version | 0.1.0 |
source | src |
created_at | 2017-01-15 19:53:44.09226 |
updated_at | 2017-01-15 19:53:44.09226 |
description | Rust linter for documentation |
homepage | |
repository | https://github.com/hobofan/ronat |
max_upload_size | |
id | 8091 |
size | 22,597 |
Check your comments for spelling errors!
This project is in a very early stage, any feedback is appreciated!
As a general rule ronat
will try to work with the first nightly release following the latest stable version.
The version currently tested against is: nightly-2016-12-19
If you want to make ronat
an optional dependency, you can do the following:
In your Cargo.toml
:
[dependencies]
ronat = {version = "*", optional = true}
[features]
default = []
And, in your main.rs
or lib.rs
:
#![cfg_attr(feature="ronat", feature(plugin))]
#![cfg_attr(feature="ronat", plugin(ronat))]
Then build by enabling the feature: cargo build --features "ronat"
Using the default en
dictionary, which doesn't recognize a lot of common Rust and programing terms, you will get a lot of false positives.
To prevent this you can set up a .aspell.en.pws
file in your HOME directory.
You can find a example file to use for that under example/.aspell.en.pws
Thank you to:
The project is named after linguist Mitsou Ronat.
Licensed under either of
at your option.