nu-lint 1.2.0

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

#[test]
fn test_fix_hostname() {
    RULE.assert_fixed_is("^hostname", "sys host | get hostname");
}