Skip to content

Commit 1257597

Browse files
committed
Remove the no-use-before-define rule
It's just too naive. It's only ever caught false-positives for me. For example eslint/eslint#10589, but also many other cases.
1 parent ea693f3 commit 1257597

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ module.exports = {
135135
ignoreRestSiblings: true,
136136
argsIgnorePattern: '^_$'
137137
}],
138-
'no-use-before-define': ['error', 'nofunc'],
139138
// Disabled because of https://github.com/eslint/eslint/issues/3420
140139
// 'callback-return': ['warn', ['cb', 'callback', 'next', 'done']],
141140
'handle-callback-err': 'warn',

0 commit comments

Comments
 (0)