Merge pull request #12893 from Snuffleupagus/eslint-no-use-before-define
Enable, a basic version of, the ESLint `no-use-before-define` rule
This commit is contained in:
commit
7102e4a5c3
@ -139,6 +139,11 @@
|
|||||||
"vars": "local",
|
"vars": "local",
|
||||||
"args": "none",
|
"args": "none",
|
||||||
}],
|
}],
|
||||||
|
"no-use-before-define": ["error", {
|
||||||
|
"functions": false,
|
||||||
|
"classes": false,
|
||||||
|
"variables": false,
|
||||||
|
}],
|
||||||
|
|
||||||
// Node.js and CommonJS
|
// Node.js and CommonJS
|
||||||
"no-buffer-constructor": "error",
|
"no-buffer-constructor": "error",
|
||||||
|
Loading…
Reference in New Issue
Block a user