eslint-config-scratch/node.js
Ray Schamp 1493ef0e6e fix(node): add node env to node module
Automatically include Node globals when using the node config
2016-10-24 10:36:10 -04:00

13 lines
265 B
JavaScript

module.exports = {
rules: {
// Node/CommonJS
'global-require': [2],
'handle-callback-err': [1],
'no-mixed-requires': [2],
'no-new-require': [2],
'no-path-concat': [2]
},
env: {
node: true
}
};