normalize-syntax-rules 0.3.2

Syntax-based linting rules with tree-sitter queries
Documentation
1
2
3
4
5
6
7
8
9
function checkValue(x) {
    if (x == null) {
        return "missing";
    }
    if (x != null) {
        return "present";
    }
    return "other";
}