Crate rslint_cli[−][src]
Re-exports
pub use rslint_config as config;
Modules
Macros
Construct a simple linter error and immediately throw it to stderr
Construct a simple linter note and immediately throw it to stderr
Construct a simple linter warning and immediately throw it to stderr
Structs
A diagnostic message that can give information like errors or warnings.
The emitter is responsible for emitting diagnostics to a given output.
A structure for converting user facing markdown docs to ANSI colored terminal explanations.
The structure for managing IO to and from the core runner. The walker uses multithreaded IO, spawning a thread for every file being loaded.
Enums
The overall result of running a single rule or linting a file.
A severity level for diagnostic messages.
Traits
Interface for interacting with source files that are identified by a unique identifier.
A trait describing a struct which can render diagnostics to a writer such as stderr.
Functions
Remap each error diagnostic to a warning diagnostic based on the rule’s level. this leaves warnings untouched because rules should be able to emit errors and warnings for context without the warnings being remapped to errors.