Skip to content

Releases: eslint-community/eslint-plugin-promise

v7.1.0

06 Aug 12:45
d0ff43f
Compare
Choose a tag to compare

7.1.0 (2024-08-06)

🌟 Features

  • catch-or-return, prefer-await-to-then: do not report Cypress commands (#495) (943f162)
  • prefer-await-to-then: ignore constructor scope unless with strict option (#496) (7bffb7a)
  • new rule spec-only to check for non-spec Promise methods (#502) (d6e9de1)

📚 Documentation

🧹 Chores

v7.0.0

24 Jul 05:08
09d0650
Compare
Choose a tag to compare

7.0.0 (2024-07-24)

BREAKING CHANGES

  • Requires Node.js: ^18.18.0 || ^20.9.0 || >=21.1.0

v6.6.0

21 Jul 23:53
fa482cc
Compare
Choose a tag to compare

6.6.0 (2024-07-21)

Bug Fixes

  • always-return: treat process.exit() or process.abort() as an acceptable "return" (#493) (f368c5a)

Features

  • add strict option to disallow then or catch following await or yield (#494) (fa482cc)

v6.5.1

20 Jul 06:35
c011a1a
Compare
Choose a tag to compare

6.5.1 (2024-07-20)

Bug Fixes

v6.5.0

19 Jul 22:41
46667d3
Compare
Choose a tag to compare

6.5.0 (2024-07-19)

Features

  • add name property to configs (for use with tooling) (#486) (ca9e9b4)

v6.4.0

01 Jul 02:02
ecbce9f
Compare
Choose a tag to compare

6.4.0 (2024-07-01)

Features

v6.3.0

01 Jul 01:53
4dfc8a7
Compare
Choose a tag to compare

6.3.0 (2024-07-01)

Features

v6.2.0

27 May 09:23
5e4546d
Compare
Choose a tag to compare

6.2.0 (2024-05-27)

Bug Fixes

  • no-callback-in-promise: false positives when the exception is an argument (#446) (5e4546d)

Features

  • Resolve getAncestors and getScope calls in eslint v9 (#466) (c0c716b)

v6.1.1

19 Oct 21:06
dc51b1c
Compare
Choose a tag to compare

6.1.1 (2022-10-19)

Bug Fixes

  • no-multiple-resolved: false positives when the last expression in a try block is a call to resolve (#384) (dc51b1c)

v6.1.0

13 Oct 02:19
71e53a0
Compare
Choose a tag to compare

6.1.0 (2022-10-13)

Bug Fixes

Features

  • add no-multiple-resolved rule (#369) (3a6fdbe)
  • always-return: add ignoreLastCallback option (#365) (01def31)
  • catch-or-return,no-new-statics,no-promise-in-callback,valid-params: add support for Promise.allSettled() & Promise.any() (#370) (e080f82)
  • param-names: add resolvePattern & rejectPattern option (#368) (df25e3c)