Skip to content
Permalink
Browse files
Disable the node/exports-style rule
It causes too much churn for very little gain.
  • Loading branch information
sindresorhus committed Feb 11, 2018
1 parent 42e03f1 commit 34dca0789e1fe6cb88176970731b5daf35cb6cee
Showing 1 changed file with 2 additions and 1 deletion.
@@ -81,7 +81,8 @@ module.exports = {
// Disabled as the rule doesn't exclude scripts executed with `node` but not referenced in "bin". See https://github.com/mysticatea/eslint-plugin-node/issues/96
// 'node/shebang': 'error',
'node/no-deprecated-api': 'error',
'node/exports-style': ['error', 'module.exports'],
// Disabled because it causes too much churn and will be moot when we switch to ES2015 modules
// 'node/exports-style': ['error', 'module.exports'],
// Disabled by default (overrides `plugin:unicorn/recommended`), will be enabled if supported by the Node.js version
'unicorn/prefer-spread': 'off',
'unicorn/no-new-buffer': 'off'

0 comments on commit 34dca07

Please sign in to comment.