How to use eslint-plugin-node

Comprehensive eslint-plugin-node code examples:

How to use eslint-plugin-node.rules:

11
12
13
14
15
16
17
18
19
});


test('contains only known plugin rules', testContainsKnownPluginRules, {
    ruleConfigSet: nodeConfig.rules,
    pluginRules: {
        'eslint-plugin-node': nodePlugin.rules
    }
});