mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-05-23 19:30:59 +02:00
Merge pull request #11133 from Snuffleupagus/ESLint_no-async-promise-executor
Enable the `no-async-promise-executor` ESLint rule
This commit is contained in:
commit
7f55676c94
@ -35,6 +35,7 @@
|
|||||||
|
|
||||||
// Possible errors
|
// Possible errors
|
||||||
"for-direction": "error",
|
"for-direction": "error",
|
||||||
|
"no-async-promise-executor": "error",
|
||||||
"no-cond-assign": ["error", "except-parens"],
|
"no-cond-assign": ["error", "except-parens"],
|
||||||
"no-constant-condition": ["error", { "checkLoops": false, }],
|
"no-constant-condition": ["error", { "checkLoops": false, }],
|
||||||
"no-dupe-args": "error",
|
"no-dupe-args": "error",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user