From f80565607c3729f4f25175bbca902c4e077ca63c Mon Sep 17 00:00:00 2001 From: Joshua Wiens Date: Sun, 17 Dec 2017 03:41:54 -0600 Subject: [PATCH] fix: Warn for global require --- rules/node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/node.js b/rules/node.js index eb56b13..a91b8b5 100644 --- a/rules/node.js +++ b/rules/node.js @@ -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