1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 14:48:08 +02:00

Merge pull request #19071 from Snuffleupagus/no-single-promise-in-promise-methods

Enable the `unicorn/no-single-promise-in-promise-methods` ESLint plugin rule
This commit is contained in:
Tim van der Meij 2024-11-19 20:33:33 +01:00 committed by GitHub
commit c31ccc6847
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -115,6 +115,7 @@ export default [
"unicorn/no-instanceof-array": "error",
"unicorn/no-invalid-remove-event-listener": "error",
"unicorn/no-new-buffer": "error",
"unicorn/no-single-promise-in-promise-methods": "error",
"unicorn/no-typeof-undefined": ["error", { checkGlobalVariables: false }],
"unicorn/no-useless-promise-resolve-reject": "error",
"unicorn/no-useless-spread": "error",