Skip to content

Commit 7102e4a

Browse files
Merge pull request #12893 from Snuffleupagus/eslint-no-use-before-define
Enable, a basic version of, the ESLint `no-use-before-define` rule
2 parents 25b84ce + 61ceae6 commit 7102e4a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.eslintrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,11 @@
139139
"vars": "local",
140140
"args": "none",
141141
}],
142+
"no-use-before-define": ["error", {
143+
"functions": false,
144+
"classes": false,
145+
"variables": false,
146+
}],
142147

143148
// Node.js and CommonJS
144149
"no-buffer-constructor": "error",

0 commit comments

Comments
 (0)