Skip to content

Commit

Permalink
Disable the node/exports-style rule
Browse files Browse the repository at this point in the history
It causes too much churn for very little gain.
  • Loading branch information
sindresorhus committed Feb 11, 2018
1 parent 42e03f1 commit 34dca07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/plugins.js
Expand Up @@ -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'
Expand Down

0 comments on commit 34dca07

Please sign in to comment.