Skip to content
Permalink
Browse files
Disable the node/no-unpublished-require/import rules
  • Loading branch information
sindresorhus committed Feb 4, 2018
1 parent 61a85cf commit 42e03f14aa65b18209d762958319490d2b752631
Showing 1 changed file with 4 additions and 2 deletions.
@@ -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',

0 comments on commit 42e03f1

Please sign in to comment.