This package provides the following services:
linter-rust-cargo
Rust Cargo linter that's fast.
Lints your Rust files in Atom, using linter and cargo.
Install
apm install linter-rust-cargo
Or, go to Settings > Install > Search and type linter-rust-cargo.
Purpose
What makes linter-rust-cargo different from linter-rust? Both
work with cargo and have similar functionality and configurability.
linter-rust-cargo differentiates itself because:
-
It only works with
cargo. Focusing only oncargokeeps the code slim and concise. -
It is very configurable. It is possible to pass any arguments to the
cargocommand, the execution timeout is changeable,cargomanifest searching is configurable via a glob, and more settings. -
It is pretty fast.
linter-rust-cargodoes not try to be backwards compatible, only works withcargo, and is completely asynchronous. -
It displays helpful messages. Using
linterv2, the errors, warnings, and notes fromcargoas well asclippyare utilized to their fullest potential. Each message will populate with a title using the code and reason for error, a description that includes any notes or suggestions, a link to the error index page, and populates any possible solutions (usingintentionsorlinter-ui-default'sLinter Ui Default: Apply All Solutionspalette command).