Skip to content

Commit

Permalink
Add some eslint-plugin-node rules
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed May 10, 2020
1 parent bdc13e2 commit ca21492
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions config/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,15 @@ module.exports = {
// 'node/no-missing-require': 'error',

'node/no-unpublished-bin': 'error',
'node/no-mixed-requires': [
'error',
{
grouping: true,
allowCall: true
}
],
'node/no-new-require': 'error',
'node/no-path-concat': 'error',

// Disabled because they're too annoying, see:
// https://github.com/mysticatea/eslint-plugin-node/issues/105
Expand Down

0 comments on commit ca21492

Please sign in to comment.