Crate nu_lint

Crate nu_lint 

Source

Re-exports§

pub use config::Config;
pub use config::LintLevel;
pub use output::JsonFix;
pub use output::JsonOutput;
pub use output::JsonReplacement;
pub use output::JsonViolation;
pub use output::Summary;
pub use output::format_json;
pub use output::format_text;

Modules§

cli
config
fix
log
lsp
output

Structs§

FileSpan
A span relative to the current file being linted (starts at 0)
GlobalSpan
A span in global coordinate space (from AST, includes stdlib offset)
LintEngine
Violation
A lint violation with its diagnostic information

Enums§

LintError
LintSpan
A span that can be either global (AST) or file-relative

Constants§

NU_PARSER_VERSION