[−][src]Crate rslint_cli
Macros
| lint_diagnostic | |
| lint_err | Construct a simple linter error and immediately throw it to stderr |
| lint_note | Construct a simple linter note and immediately throw it to stderr |
| lint_warn | Construct a simple linter warning and immediately throw it to stderr |
Structs
| DiagnosticBuilder | A simple builder for creating codespan diagnostics sequentially |
| ExplanationRunner | A structure for converting user facing markdown docs to ANSI colored terminal explanations. |
| FileWalker | The structure for managing IO to and from the core runner. The walker uses multithreaded IO, spawning a thread for every file being loaded. |
| JsFile | A structure representing either a concrete (in-disk) or virtual (temporary/non-disk) js or mjs file. |
| RulesConfig |
Enums
| JsFileKind | |
| Outcome | The overall result of running a single rule or linting a file. |
Constants
| CONFIG_NAME | The name of the config file to search for. |
Functions
| codespan_config | |
| emit_diagnostic | |
| panic_hook | |
| remap_diagnostics_to_level | 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. |
| run |
Type Definitions
| Diagnostic | The type of errors, warnings, and notes emitted by the linter. |