nu-lint 1.1.0

Linter for Nu shell scripts that helpfully suggests improvements
Documentation
1
2
3
4
5
6
use super::RULE;
#[test]
fn detect_get() {
    let source = "{name: 1} | get -i name";
    RULE.assert_detects(source);
}