7.2.1 (2024-11-26)
- deps-dev: update husky to v9.1.7 (#573) (24fd90a)
- deps: bump cross-spawn from 7.0.3 to 7.0.6 (#568) (f33f82e)
7.2.0 (2024-11-25)
no-callback-in-promise
: addtimeoutsErr
option (#514) (907753f)valid-params
: addexclude
option (#515) (7ff2cb9)- always-return: add
ignoreAssignmentVariable
option (#518) (701279c) - catch-or-return: add
allowThenStrict
option (#522) (53be970) - new rule
prefer-catch
(#525) (05c8a93)
- deps-dev: bump eslint-plugin-jest from 28.6.0 to 28.8.0 (#536) (80741f8)
- deps-dev: bump eslint-plugin-n from 17.9.0 to 17.10.2 (#529) (a646010)
- deps-dev: bump globals from 15.8.0 to 15.9.0 (#527) (b8afe92)
- deps-dev: bump husky from 9.1.2 to 9.1.4 (#524) (b8fdb9f)
- deps-dev: bump lint-staged from 15.2.7 to 15.2.8 (#539) (9e2528f)
- deps-dev: update eslint-plugin-eslint-plugin to v6.3.0 (#560) (7459bd6)
- deps-dev: update eslint-plugin-eslint-plugin to v6.3.1 (#561) (434c6fa)
- deps-dev: update eslint-plugin-eslint-plugin to v6.3.2 (#570) (a849f64)
- deps-dev: update eslint-plugin-jest to v28.9.0 (#565) (cf213fb)
- deps-dev: update eslint-plugin-n to v17.12.0 (#563) (d39e2f0)
- deps-dev: update eslint-plugin-n to v17.13.0 (#566) (b62f234)
- deps-dev: update eslint-plugin-n to v17.13.1 (#567) (266ddbb)
- deps-dev: update eslint-plugin-n to v17.13.2 (#569) (390f51f)
- deps-dev: update npm-run-all2 to v6.2.4 (#558) (2cf1732)
- deps-dev: update npm-run-all2 to v6.2.6 (#559) (dc32933)
- deps: switch from dependabot to renovate using shared eslint community configuration (#537) (30efed7)
- deps: update @eslint-community/eslint-utils to v4.4.1 (#562) (5c3628d)
- deps: update globals to v15.12.0 (#564) (c8632d1)
- update @typescript-eslint/parser to v7.18.0 (#545) (5744e60)
- update dependency eslint-plugin-n to v17.11.0 (#556) (bbd048b)
- update dependency eslint-plugin-n to v17.11.1 (#557) (e545254)
- update dependency globals to v15.11.0 (#555) (9151db8)
- update dependency typescript to v5.6.3 (#554) (ab55120)
- update eslint to v8.57.1 (#551) (38e2757)
- update eslint-plugin-jest to v28.8.3 (#548) (89f2578)
- update eslint-plugin-n to v17.10.3 (#552) (2d738fe)
- update globals to v15.10.0 (#553) (b871314)
- update husky to v9.1.6 (#547) (1e8d18f)
- update lint-staged to v15.2.10 (#544) (7d46b3b)
- update npm-run-all2 to v6.2.3 (#550) (14cd4c0)
- update typescript to ~5.6.0 (#549) (ebcdd8b)
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