You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Explanation
Update ESLint config packages to v14.1.0.
The rule `jest/unbound-method` has been temporarily disabled. This is a
looser version of `@typescript-eslint/unbound-method`, which was already
disabled. We can attempt enabling both at the same time when we're
ready.
## References
N/A
## Checklist
- [x] I've updated the test suite for new or updated code as appropriate
- [x] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [x] I've communicated my changes to consumers by [updating changelogs
for packages I've
changed](https://github.com/MetaMask/core/tree/main/docs/contributing.md#updating-changelogs),
highlighting breaking changes as necessary
- [x] I've prepared draft pull requests for clients and consumer
packages to resolve any breaking changes
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Updates ESLint config packages to 14.1.0, disables
`jest/unbound-method`, and refreshes lint warning thresholds.
>
> - **ESLint Config**:
> - Bump `@metamask/eslint-config`, `@metamask/eslint-config-jest`, and
`@metamask/eslint-config-typescript` to `^14.1.0` in `package.json` and
`yarn.lock`.
> - In `eslint.config.mjs`, disable `jest/unbound-method` for test
files.
> - **Lint Warning Thresholds** (`eslint-warning-thresholds.json`):
> - Adjust counts and remove several entries for
`packages/eth-block-tracker/**` (e.g., drop
`@typescript-eslint/naming-convention` thresholds and `BlockTracker.ts`
entry).
> - Reduce `@typescript-eslint/prefer-promise-reject-errors` threshold
in `packages/json-rpc-middleware-stream/src/index.test.ts` from 3 to 1.
> - Misc minor threshold updates across packages to align with new
config.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
917ea15. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
0 commit comments