Skip to content

Commit

Permalink
fix: Warn for global require
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwiens committed Dec 17, 2017
1 parent 93154f3 commit f805656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {

// require require() calls to be placed at top-level module scope
// http://eslint.org/docs/rules/global-require
'global-require': 'error',
'global-require': 'warn',

// require error handling in callbacks
// http://eslint.org/docs/rules/handle-callback-err
Expand Down

0 comments on commit f805656

Please sign in to comment.