Skip to content

Commit

Permalink
rules: add no-new-require rule
Browse files Browse the repository at this point in the history
  • Loading branch information
blond committed Apr 8, 2016
1 parent 2cbcb02 commit 8d43a72
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
/* ===================================================================================== */
Expand Down

0 comments on commit 8d43a72

Please sign in to comment.