nu-lint 1.2.0

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

#[test]
fn detect_table_to_csv_tools() {
    RULE.assert_detects("ls | ^csvcut -c name");
    RULE.assert_detects("ls | ^csvstat");
    RULE.assert_detects("ls | ^csvgrep -c name -m test");
    RULE.assert_detects("ls | ^csvlook");
}