Skip to content

Commit

Permalink
Merge pull request #12893 from Snuffleupagus/eslint-no-use-before-define
Browse files Browse the repository at this point in the history
Enable, a basic version of, the ESLint `no-use-before-define` rule
  • Loading branch information
timvandermeij authored Jan 23, 2021
2 parents 25b84ce + 61ceae6 commit 7102e4a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@
"vars": "local",
"args": "none",
}],
"no-use-before-define": ["error", {
"functions": false,
"classes": false,
"variables": false,
}],

// Node.js and CommonJS
"no-buffer-constructor": "error",
Expand Down

0 comments on commit 7102e4a

Please sign in to comment.