Skip to content

Commit fe384a0

Browse files
authored
Release/14.1.0 (#411)
This release includes a few minor improvements across a few different packages. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Publishes v14.1.0 across packages with TypeScript 5.6–5.8 support and several Jest/base ESLint rule adjustments. > > - **Release**: bump versions to `14.1.0` in root, `@metamask/eslint-config`, `@metamask/eslint-config-jest`, and `@metamask/eslint-config-typescript`. > - **Base (`@metamask/eslint-config`)**: > - Loosen `promise/catch-or-return` and `promise/param-names`. > - **Jest (`@metamask/eslint-config-jest`)**: > - Replace `@typescript-eslint/unbound-method` with `jest/unbound-method`. > - Remove `jest/no-conditional-in-test`. > - **TypeScript (`@metamask/eslint-config-typescript`)**: > - Add support for TypeScript `5.6.x–5.8.x`. > - Disable `@typescript-eslint/no-unsafe-enum-comparison`. > - Loosen: > - `@typescript-eslint/prefer-promise-reject-errors` (allow `unknown`). > - `@typescript-eslint/naming-convention` (import names). > - `@typescript-eslint/switch-exhaustiveness-check` (allow `default`). > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit db61ab4. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 26bae79 commit fe384a0

File tree

7 files changed

+37
-7
lines changed

7 files changed

+37
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/eslint-config-root",
3-
"version": "14.0.0",
3+
"version": "14.1.0",
44
"private": true,
55
"repository": {
66
"type": "git",

packages/base/CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [14.1.0]
11+
12+
### Changed
13+
14+
- Loosen `promise/catch-or-return` and `promise/param-names` rules ([#384](https://github.com/MetaMask/eslint-config/pull/384))
15+
1016
## [14.0.0]
1117

1218
### Changed
@@ -264,7 +270,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
264270

265271
- Add base, TypeScript, and Jest configs (#3)
266272

267-
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config@14.0.0...HEAD
273+
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config@14.1.0...HEAD
274+
[14.1.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config@14.0.0...@metamask/eslint-config@14.1.0
268275
[14.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config@13.0.0...@metamask/eslint-config@14.0.0
269276
[13.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config@12.2.0...@metamask/eslint-config@13.0.0
270277
[12.2.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config@12.1.0...@metamask/eslint-config@12.2.0

packages/base/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/eslint-config",
3-
"version": "14.0.0",
3+
"version": "14.1.0",
44
"description": "Shareable MetaMask ESLint config.",
55
"homepage": "https://github.com/MetaMask/eslint-config#readme",
66
"bugs": {

packages/jest/CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [14.1.0]
11+
12+
### Changed
13+
14+
- Replace `@typescript-eslint/unbound-method` rule with `jest/unbound-method` in Jest tests ([#391](https://github.com/MetaMask/eslint-config/pull/391))
15+
- `jest/unbound-method` is looser than `@typescript-eslint/unbound-method`, so this should be a non-breaking change unless `@typescript-eslint/unbound-method` is disabled.
16+
- Remove `jest/no-conditional-in-test` rule ([#383](https://github.com/MetaMask/eslint-config/pull/383))
17+
1018
## [14.0.0]
1119

1220
### Changed
@@ -107,7 +115,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
107115
- To continue extending this config, install this package and update your `.eslintrc.js` `extends` array to include `@metamask/eslint-config-jest` instead of `@metamask/eslint-config/jest`.
108116
- Update `eslint` and other ESLint peer dependencies ([#151](https://github.com/MetaMask/eslint-config/pull/151))
109117

110-
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-jest@14.0.0...HEAD
118+
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-jest@14.1.0...HEAD
119+
[14.1.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-jest@14.0.0...@metamask/eslint-config-jest@14.1.0
111120
[14.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-jest@13.0.0...@metamask/eslint-config-jest@14.0.0
112121
[13.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-jest@12.1.0...@metamask/eslint-config-jest@13.0.0
113122
[12.1.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-jest@12.0.0...@metamask/eslint-config-jest@12.1.0

packages/jest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/eslint-config-jest",
3-
"version": "14.0.0",
3+
"version": "14.1.0",
44
"description": "Shareable MetaMask ESLint config for Jest.",
55
"homepage": "https://github.com/MetaMask/eslint-config#readme",
66
"bugs": {

packages/typescript/CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [14.1.0]
11+
12+
### Added
13+
14+
- Add support for TypeScript 5.6.x-5.8.x ([#395](https://github.com/MetaMask/eslint-config/pull/395))
15+
16+
### Changed
17+
18+
- Disable `@typescript-eslint/no-unsafe-enum-comparison` rule ([#387](https://github.com/MetaMask/eslint-config/pull/387))
19+
- Loosen `@typescript-eslint/prefer-promise-reject-errors` rule to allow rejecting with `unknown` ([#389](https://github.com/MetaMask/eslint-config/pull/389))
20+
- Loosen `@typescript-eslint/naming-convention` rule to allow more formats for import names ([#388](https://github.com/MetaMask/eslint-config/pull/388))
21+
- Loosen `@typescript-eslint/switch-exhaustiveness-check` rule to allow `default` case ([#390](https://github.com/MetaMask/eslint-config/pull/390))
22+
1023
## [14.0.0]
1124

1225
### Added
@@ -171,7 +184,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
171184
- To continue extending this config, install this package and update your `.eslintrc.js` `extends` array to include `@metamask/eslint-config-typescript` instead of `@metamask/eslint-config/typescript`.
172185
- Update `eslint` and other ESLint peer dependencies ([#151](https://github.com/MetaMask/eslint-config/pull/151))
173186

174-
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-typescript@14.0.0...HEAD
187+
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-typescript@14.1.0...HEAD
188+
[14.1.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-typescript@14.0.0...@metamask/eslint-config-typescript@14.1.0
175189
[14.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-typescript@13.0.0...@metamask/eslint-config-typescript@14.0.0
176190
[13.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-typescript@12.1.0...@metamask/eslint-config-typescript@13.0.0
177191
[12.1.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/eslint-config-typescript@12.0.0...@metamask/eslint-config-typescript@12.1.0

packages/typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/eslint-config-typescript",
3-
"version": "14.0.0",
3+
"version": "14.1.0",
44
"description": "Shareable MetaMask ESLint config for TypeScript.",
55
"homepage": "https://github.com/MetaMask/eslint-config#readme",
66
"bugs": {

0 commit comments

Comments
 (0)