nu-lint 1.3.0

Linter for Nu shell scripts that helpfully suggests improvements
Documentation
1
2
3
4
5
6
7
use super::RULE;

#[test]
fn detects_violations_for_trailing_spaces() {
    let code = "let x = 42   ";
    RULE.assert_detects(code);
}