Skip to content

Commit

Permalink
disable the callback-return rule
Browse files Browse the repository at this point in the history
All too many false positives. Looks like there's a plan to improve it in the future, so will keep it around disabled.
  • Loading branch information
sindresorhus committed Aug 20, 2015
1 parent 5923c0d commit 0c72d6f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,10 @@ module.exports = {
'no-use-before-define': [2, 'nofunc'],

// Node.js
'callback-return': [1, ['cb', 'callback', 'next', 'done']],

// disabled because of https://github.com/eslint/eslint/issues/3420
// 'callback-return': [1, ['cb', 'callback', 'next', 'done']],

'handle-callback-err': 1,
'no-mixed-requires': [2, true],
'no-new-require': 2,
Expand Down

0 comments on commit 0c72d6f

Please sign in to comment.