7.1.0 (2024-08-06)
catch-or-return
,prefer-await-to-then
: do not report Cypress commands (#495) (943f162)prefer-await-to-then
: ignore constructor scope unless withstrict
option (#496) (7bffb7a)- new rule
spec-only
to check for non-spec Promise methods (#502) (d6e9de1)
- bump dev dependencies (#483) (197ae4e)
- deps-dev: bump husky from 9.1.1 to 9.1.2 (#516) (ab8e7a0)
- file extension missing (#519) (94c9834)
- fix format.yml (#507) (948c097)
- Added tests for @typescript-eslint/parser support
- Fixed @typescript-eslint/parser issue #331, #205
- Dropped node 10 from engines #231
- Updated a ton of deps #236, #237, #235, #234
- ESLint 8 support #219
- Updated
param-names
rule to allow for unused params
- Updated docs to include
no-callback-in-promise
reasons #215
- Included
catch()
andfinally()
inprefer-await-to-then
#196 - Added some additional tests and upgraded some dev deps #196
- Exempted array methods in prefer-await-to-callbacks (#212)
- ESLint 7.0 Support
- Updated and applied prettier
- #202
- Updated jest
- Added license
- Dependabot security updates
- Added more use cases to
no-return-wrap
- Remove
promise/param-names
fixer (#146)
This is a breaking change that drops support for Node v4. In order to use ESLint v5 and eslint-plugin-promise v4, you must use Node >=6.
- Removed
promise/avoid-new
from recommended configuration (#119) - Ignored event listener callbacks in
promise/prefer-await-to-callbacks
(#117) - Ignored top-level awaits in
promise/prefer-await-to-then
(#126) - Added docs for
promise/no-nesting
andpromise/prefer-await-to-then
(#120) (#121)
- Added
promise/valid-params
rule (#85) - Added
promise/no-new-statics
rule (#82) - Added fixer for
promise/param-names
rule (#99) - Added rule documentation to each rule (#91)
- Added
['catch']
support incatch-or-return
- Added
no-return-in-finally
rule - Fixed some formatting in the docs
- Added
allowReject
option tono-return-wrap
- Added exceptions for
no-callback-in-promise
- Added support for recommended settings using
extends: plugin:promise/recommended
- Fixed always return false positive with ternary (#31)
- fixed #49
- new rule: avoid-new
- new rule: no-promise-in-callback
- new rule: no-callback-in-promise
- new rule: no-nesting
- Removed eslint from peerDeps
- Updated engines with proper stuff
- Fixed bug for unreachable code
- Rule:
prefer-async-to-callbacks
added - Rule:
prefer-async-to-then
added
- Fix:
no-return-wrap
rule missing from index.js
- Added
no-return-wrap
rule
- Added multiple terminationMethods
- Removed deprecated
always-catch
rule - FIX: always-return error with "fn && fn()"
- Updated column and line numbers
- Added flow analysis for better handling of if statements
- Fixed type in docs
- ESLint 3.0 Support
- Updated tests to run on eslint 2.0
- Fixed some issues with
no-native
rule
- Actually added
no-native
rule
- Added
no-native
rule
- Allow
throw
inalways-return
rule - Added
terminationMethod
option tocatch-or-return
rule
- Added
catch-or-return
rule
- Fixed crash issues
- Lots of basic feature updates and doc changes