Skip to content

Commit

Permalink
Remove the no-use-before-define rule
Browse files Browse the repository at this point in the history
It's just too naive. It's only ever caught false-positives for me.

For example eslint/eslint#10589, but also many other cases.
  • Loading branch information
sindresorhus committed Sep 3, 2018
1 parent ea693f3 commit 1257597
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ module.exports = {
ignoreRestSiblings: true,
argsIgnorePattern: '^_$'
}],
'no-use-before-define': ['error', 'nofunc'],
// Disabled because of https://github.com/eslint/eslint/issues/3420
// 'callback-return': ['warn', ['cb', 'callback', 'next', 'done']],
'handle-callback-err': 'warn',
Expand Down

0 comments on commit 1257597

Please sign in to comment.