mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
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
1 changed files with 5 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue