Skip to content
Permalink
Browse files

rules: add `no-new-require` rule

  • Loading branch information...
blond committed Apr 8, 2016
1 parent 2cbcb02 commit 8d43a722aec71e363670070f4691087195ac23ed
Showing with 6 additions and 0 deletions.
  1. +6 −0 index.js
@@ -72,6 +72,12 @@ module.exports = {
'no-shadow': 'error',
'no-shadow-restricted-names': 'error',

/* Node.js and CommonJS ================================================================ */
/* http://eslint.org/docs/rules/#nodejs-and-commonjs
/* ===================================================================================== */

'no-new-require': 'error',

/* Best Practices ====================================================================== */
/* http://eslint.org/docs/rules/#best-practices */
/* ===================================================================================== */

0 comments on commit 8d43a72

Please sign in to comment.
You can’t perform that action at this time.