Skip to content

Commit

Permalink
Merge pull request #19071 from Snuffleupagus/no-single-promise-in-pro…
Browse files Browse the repository at this point in the history
…mise-methods

Enable the `unicorn/no-single-promise-in-promise-methods` ESLint plugin rule
  • Loading branch information
timvandermeij authored Nov 19, 2024
2 parents e8fbb60 + b38b12d commit c31ccc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c31ccc6

Please sign in to comment.