eslint-plugin-promise
eslint-plugin-promise copied to clipboard
Enforce best practices for JavaScript promises
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 26.9.0 to 28.3.0. Release notes Sourced from eslint-plugin-jest's releases. v28.3.0 28.3.0 (2024-04-27) Features prefer importing jest globals for specific types (#1568) (c464ae3) v28.2.0 28.2.0 (2024-04-06) Features support...
Bumps [eslint-plugin-eslint-plugin](https://github.com/eslint-community/eslint-plugin-eslint-plugin) from 4.4.1 to 6.1.0. Release notes Sourced from eslint-plugin-eslint-plugin's releases. v6.1.0 6.1.0 (2024-04-25) Features add require-meta-docs-recommended rule (#447) (2370b46) v6.0.0 6.0.0 (2024-04-10) ⚠ BREAKING CHANGES change test-case-property-ordering to...
**What is the purpose of this pull request?** - [ ] Documentation update - [x] Bug fix - [ ] New rule - [x] Changes an existing rule - [...
### Description Please add support for ESLint 9, including Flat config support. See: 1. https://eslint.org/docs/latest/use/configure/configuration-files-new 1. https://eslint.org/blog/2022/08/new-config-system-part-1/ 1. https://eslint.org/blog/2022/08/new-config-system-part-2/ 1. https://eslint.org/docs/latest/use/configure/migration-guide Thanks!
Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) from 28.1.3 to 29.7.0. Release notes Sourced from jest's releases. v29.7.0 Features [create-jest] Add npm init / yarn create initialiser for Jest projects (#14465) [jest-validate] Allow deprecation warnings...
Bumps [husky](https://github.com/typicode/husky) from 7.0.4 to 9.0.11. Release notes Sourced from husky's releases. v9.0.11 chore: update package-lock.json by @btea in typicode/husky#1383 fix: export HUSKY=0 in init (fixes #1393) by @typicode in...
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.5.0 to 15.2.2. Release notes Sourced from lint-staged's releases. v15.2.2 Patch Changes #1391 fdcdad4 Thanks @iiroj! - Lint-staged no longer tries to load configuration from files that...
### Description I think the following is a perfectly valid use case, and I understand the argument against it: possible race conditions, async side effects, etc. But this is the...
### Description If I do `process.exit(0);` in a .then callback no return value should be expected from the callback as after the exit the rest of the code is unreachable....
### Description Four of the rules has no documentation. ### Steps to Reproduce 1. Visit the links: - https://github.com/xjamundx/eslint-plugin-promise/blob/HEAD/docs/rules/no-promise-in-callback.md - https://github.com/xjamundx/eslint-plugin-promise/blob/HEAD/docs/rules/no-callback-in-promise.md - https://github.com/xjamundx/eslint-plugin-promise/blob/HEAD/docs/rules/avoid-new.md - https://github.com/xjamundx/eslint-plugin-promise/blob/HEAD/docs/rules/prefer-await-to-callbacks.md