Skip to content

Commit

Permalink
fix: Turn off unicorn/no-single-promise-in-promise-methods
Browse files Browse the repository at this point in the history
  • Loading branch information
jhnns committed Dec 11, 2024
1 parent c45dfd3 commit 0557a83
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eslint/rules/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ export const javascript = [
"unicorn/no-array-reduce": "off",
"unicorn/prefer-global-this": "off", // Too many false positives
"unicorn/prefer-ternary": "off",
// It makes sense to use Promise.all() with a single promise when we expect more to be added later.
// In that case we don't want to refactor the code, but just add the new promise.
"unicorn/no-single-promise-in-promise-methods": "off",
},
},
{
Expand Down

0 comments on commit 0557a83

Please sign in to comment.