nu-lint 1.1.0

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

#[test]
fn test_detect_hostname() {
    RULE.assert_detects("^hostname");
}

#[test]
fn test_detect_hostname_with_flags() {
    RULE.assert_detects("^hostname -f");
}