Skip to content

Commit

Permalink
Disable the node/no-unpublished-require/import rules
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Feb 4, 2018
1 parent 61a85cf commit 42e03f1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/plugins.js
Expand Up @@ -71,8 +71,10 @@ module.exports = {
// 'node/no-missing-import': 'error',
// 'node/no-missing-require': 'error',
'node/no-unpublished-bin': 'error',
'node/no-unpublished-import': ['error', {allowModules: ['electron', 'atom']}],
'node/no-unpublished-require': ['error', {allowModules: ['electron', 'atom']}],
// Disabled because they're too annoying, see:
// https://github.com/mysticatea/eslint-plugin-node/issues/105
// 'node/no-unpublished-import': ['error', {allowModules: ['electron', 'atom']}],
// 'node/no-unpublished-require': ['error', {allowModules: ['electron', 'atom']}],
// Disabled as the rule doesn't allow to exclude compiled sources
// 'node/no-unsupported-features': 'error',
'node/process-exit-as-throw': 'error',
Expand Down

0 comments on commit 42e03f1

Please sign in to comment.