From e472089f118605e0bacfe2876c805f4fc09871d3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 16 Aug 2024 09:50:38 -0700 Subject: [PATCH] 13.0.0 (#365) This is the release candidate for version 13.0.0. --------- Co-authored-by: github-actions Co-authored-by: Erik Marks --- package.json | 6 +++--- packages/base/CHANGELOG.md | 12 ++++++++++-- packages/base/package.json | 2 +- packages/browser/CHANGELOG.md | 10 +++++++++- packages/browser/package.json | 4 ++-- packages/commonjs/CHANGELOG.md | 10 +++++++++- packages/commonjs/package.json | 4 ++-- packages/jest/CHANGELOG.md | 12 ++++++++++-- packages/jest/package.json | 6 +++--- packages/mocha/CHANGELOG.md | 12 ++++++++++-- packages/mocha/package.json | 6 +++--- packages/nodejs/CHANGELOG.md | 12 ++++++++++-- packages/nodejs/package.json | 6 +++--- packages/typescript/CHANGELOG.md | 14 ++++++++++++-- packages/typescript/package.json | 6 +++--- yarn.lock | 28 ++++++++++++++-------------- 16 files changed, 104 insertions(+), 46 deletions(-) diff --git a/package.json b/package.json index 962e57ce..6c905daf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "root", - "version": "12.2.0", + "version": "13.0.0", "private": true, "repository": { "type": "git", @@ -24,8 +24,8 @@ "@eslint/js": "^8.57.0", "@lavamoat/allow-scripts": "^3.0.4", "@metamask/auto-changelog": "^3.4.4", - "@metamask/eslint-config": "^12.0.0", - "@metamask/eslint-config-nodejs": "^12.0.0", + "@metamask/eslint-config": "^13.0.0", + "@metamask/eslint-config-nodejs": "^13.0.0", "@metamask/utils": "^9.1.0", "@types/jest": "^29.5.12", "eslint": "^8.57.0", diff --git a/packages/base/CHANGELOG.md b/packages/base/CHANGELOG.md index 9bd17c20..735041fe 100644 --- a/packages/base/CHANGELOG.md +++ b/packages/base/CHANGELOG.md @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [13.0.0] +### Changed +- **BREAKING**: Replace `eslint-plugin-import` with `eslint-plugin-import-x` ([#366](https://github.com/MetaMask/eslint-config/pull/366)) +- **BREAKING**: Bump all ESLint dependencies ([#351](https://github.com/MetaMask/eslint-config/pull/351)) + - Bumps all ESLint dependencies to the latest version compatible with Node.js 16. +- **BREAKING**: Bump minimum Node.js version from 14 to 16 ([#332](https://github.com/MetaMask/eslint-config/pull/332), [#339](https://github.com/MetaMask/eslint-config/pull/339)) + ## [12.2.0] ### Changed - Remove deprecated rule `jsdoc/newline-after-description` ([#290](https://github.com/MetaMask/eslint-config/pull/290)) @@ -63,7 +70,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [`no-useless-backreference`](https://eslint.org/docs/latest/rules/no-useless-backreference) - **BREAKING:** Update `eslint-plugin-prettier` from v3 to v4 ([#231](https://github.com/MetaMask/eslint-config/pull/231)) - This is breaking beacuse `eslint-plugin-prettier` is a `peerDependency`. -- **BREAKING:** Update minimium Node.js version to v14 ([#225](https://github.com/MetaMask/eslint-config/pull/225)) +- **BREAKING:** Update minimum Node.js version to v14 ([#225](https://github.com/MetaMask/eslint-config/pull/225)) - Ignore rest siblings for `no-unused-vars` ([#213](https://github.com/MetaMask/eslint-config/pull/213)) - This makes the `no-unused-vars` rule more permissive @@ -177,7 +184,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Add base, TypeScript, and Jest configs (#3) -[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v12.2.0...HEAD +[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v13.0.0...HEAD +[13.0.0]: https://github.com/MetaMask/eslint-config/compare/v12.2.0...v13.0.0 [12.2.0]: https://github.com/MetaMask/eslint-config/compare/v12.1.0...v12.2.0 [12.1.0]: https://github.com/MetaMask/eslint-config/compare/v12.0.0...v12.1.0 [12.0.0]: https://github.com/MetaMask/eslint-config/compare/v11.1.0...v12.0.0 diff --git a/packages/base/package.json b/packages/base/package.json index c2311973..c2a97ffd 100644 --- a/packages/base/package.json +++ b/packages/base/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/eslint-config", - "version": "12.2.0", + "version": "13.0.0", "description": "Shareable MetaMask ESLint config.", "homepage": "https://github.com/MetaMask/eslint-config#readme", "bugs": { diff --git a/packages/browser/CHANGELOG.md b/packages/browser/CHANGELOG.md index 03ec2b1b..4fec8f40 100644 --- a/packages/browser/CHANGELOG.md +++ b/packages/browser/CHANGELOG.md @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [13.0.0] +### Changed +- **BREAKING**: Replace `eslint-plugin-import` with `eslint-plugin-import-x` ([#366](https://github.com/MetaMask/eslint-config/pull/366)) +- **BREAKING**: Bump all ESLint dependencies ([#351](https://github.com/MetaMask/eslint-config/pull/351)) + - Bumps all ESLint dependencies to the latest version compatible with Node.js 16. +- **BREAKING**: Bump minimum Node.js version from 14 to 16 ([#332](https://github.com/MetaMask/eslint-config/pull/332), [#339](https://github.com/MetaMask/eslint-config/pull/339)) + ## [12.1.0] ### Changed - Add support for typescript 5.0.x, 5.1.x ([#288](https://github.com/MetaMask/eslint-config/pull/288)) @@ -22,7 +29,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial release of this package. -[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v12.1.0...HEAD +[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v13.0.0...HEAD +[13.0.0]: https://github.com/MetaMask/eslint-config/compare/v12.1.0...v13.0.0 [12.1.0]: https://github.com/MetaMask/eslint-config/compare/v12.0.0...v12.1.0 [12.0.0]: https://github.com/MetaMask/eslint-config/compare/v11.1.0...v12.0.0 [11.1.0]: https://github.com/MetaMask/eslint-config/compare/v11.0.0...v11.1.0 diff --git a/packages/browser/package.json b/packages/browser/package.json index 8fc74a7b..7fb04848 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/eslint-config-browser", - "version": "12.1.0", + "version": "13.0.0", "description": "Shareable MetaMask ESLint plugin for browser environments.", "homepage": "https://github.com/MetaMask/eslint-config#readme", "bugs": { @@ -31,7 +31,7 @@ "prettier": "^2.7.1" }, "peerDependencies": { - "@metamask/eslint-config": "^12.2.0", + "@metamask/eslint-config": "^13.0.0", "eslint": "^8.57.0" }, "engines": { diff --git a/packages/commonjs/CHANGELOG.md b/packages/commonjs/CHANGELOG.md index 5e114ab7..cc1dcd5c 100644 --- a/packages/commonjs/CHANGELOG.md +++ b/packages/commonjs/CHANGELOG.md @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [13.0.0] +### Changed +- **BREAKING**: Replace `eslint-plugin-import` with `eslint-plugin-import-x` ([#366](https://github.com/MetaMask/eslint-config/pull/366)) +- **BREAKING**: Bump all ESLint dependencies ([#351](https://github.com/MetaMask/eslint-config/pull/351)) + - Bumps all ESLint dependencies to the latest version compatible with Node.js 16. +- **BREAKING**: Bump minimum Node.js version from 14 to 16 ([#332](https://github.com/MetaMask/eslint-config/pull/332), [#339](https://github.com/MetaMask/eslint-config/pull/339)) + ## [12.1.0] ### Changed - Add support for typescript 5.0.x, 5.1.x ([#288](https://github.com/MetaMask/eslint-config/pull/288)) @@ -19,7 +26,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial release of this package ([#267](https://github.com/MetaMask/eslint-config/pull/267)) -[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v12.1.0...HEAD +[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v13.0.0...HEAD +[13.0.0]: https://github.com/MetaMask/eslint-config/compare/v12.1.0...v13.0.0 [12.1.0]: https://github.com/MetaMask/eslint-config/compare/v12.0.0...v12.1.0 [12.0.0]: https://github.com/MetaMask/eslint-config/compare/v11.1.0...v12.0.0 [11.1.0]: https://github.com/MetaMask/eslint-config/releases/tag/v11.1.0 diff --git a/packages/commonjs/package.json b/packages/commonjs/package.json index 14977160..1e399207 100644 --- a/packages/commonjs/package.json +++ b/packages/commonjs/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/eslint-config-commonjs", - "version": "12.1.0", + "version": "13.0.0", "description": "Shareable MetaMask ESLint config for CommonJS projects.", "homepage": "https://github.com/MetaMask/eslint-config#readme", "bugs": { @@ -31,7 +31,7 @@ "prettier": "^2.7.1" }, "peerDependencies": { - "@metamask/eslint-config": "^12.2.0", + "@metamask/eslint-config": "^13.0.0", "eslint": "^8.57.0" }, "engines": { diff --git a/packages/jest/CHANGELOG.md b/packages/jest/CHANGELOG.md index 48d1ebc5..a46b3449 100644 --- a/packages/jest/CHANGELOG.md +++ b/packages/jest/CHANGELOG.md @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [13.0.0] +### Changed +- **BREAKING**: Replace `eslint-plugin-import` with `eslint-plugin-import-x` ([#366](https://github.com/MetaMask/eslint-config/pull/366)) +- **BREAKING**: Bump all ESLint dependencies ([#351](https://github.com/MetaMask/eslint-config/pull/351)) + - Bumps all ESLint dependencies to the latest version compatible with Node.js 16. +- **BREAKING**: Bump minimum Node.js version from 14 to 16 ([#332](https://github.com/MetaMask/eslint-config/pull/332), [#339](https://github.com/MetaMask/eslint-config/pull/339)) + ## [12.1.0] ### Changed - Add support for typescript 5.0.x, 5.1.x ([#288](https://github.com/MetaMask/eslint-config/pull/288)) @@ -36,7 +43,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - This is breaking because `eslint-plugin-jest` is a `peerDependency` - The rule [`jest/prefer-to-be`](https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/prefer-to-be.md) has replaced the old rules `jest/prefer-to-be-null` and `jest/prefer-to-be-undefined`. This is breaking because it is more broadly applicable than the two it replaces, and may force us to use `toBe` for all primatives (over `toBeEqual` or equivalent). - Two rules were renamed (`jest/valid-describe` => `jest/valid-describe-callback`, and `jest/lowercase-name` => `jest/prefer-lowercase-title`) -- **BREAKING:** Update minimium Node.js version to v14 ([#225](https://github.com/MetaMask/eslint-config/pull/225)) +- **BREAKING:** Update minimum Node.js version to v14 ([#225](https://github.com/MetaMask/eslint-config/pull/225)) ## [9.0.0] ### Added @@ -63,7 +70,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - 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`. - Update `eslint` and other ESLint peer dependencies ([#151](https://github.com/MetaMask/eslint-config/pull/151)) -[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v12.1.0...HEAD +[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v13.0.0...HEAD +[13.0.0]: https://github.com/MetaMask/eslint-config/compare/v12.1.0...v13.0.0 [12.1.0]: https://github.com/MetaMask/eslint-config/compare/v12.0.0...v12.1.0 [12.0.0]: https://github.com/MetaMask/eslint-config/compare/v11.1.0...v12.0.0 [11.1.0]: https://github.com/MetaMask/eslint-config/compare/v11.0.0...v11.1.0 diff --git a/packages/jest/package.json b/packages/jest/package.json index dd756cee..c48d1bac 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/eslint-config-jest", - "version": "12.1.0", + "version": "13.0.0", "description": "Shareable MetaMask ESLint config for Jest.", "homepage": "https://github.com/MetaMask/eslint-config#readme", "bugs": { @@ -23,7 +23,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/eslint-config": "^12.0.0", + "@metamask/eslint-config": "^13.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-import-x": "^0.5.1", @@ -33,7 +33,7 @@ "prettier": "^2.7.1" }, "peerDependencies": { - "@metamask/eslint-config": "^12.2.0", + "@metamask/eslint-config": "^13.0.0", "eslint": "^8.57.0", "eslint-plugin-jest": "^27.9.0" }, diff --git a/packages/mocha/CHANGELOG.md b/packages/mocha/CHANGELOG.md index 99787202..f0fd97de 100644 --- a/packages/mocha/CHANGELOG.md +++ b/packages/mocha/CHANGELOG.md @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [13.0.0] +### Changed +- **BREAKING**: Replace `eslint-plugin-import` with `eslint-plugin-import-x` ([#366](https://github.com/MetaMask/eslint-config/pull/366)) +- **BREAKING**: Bump all ESLint dependencies ([#351](https://github.com/MetaMask/eslint-config/pull/351)) + - Bumps all ESLint dependencies to the latest version compatible with Node.js 16. +- **BREAKING**: Bump minimum Node.js version from 14 to 16 ([#332](https://github.com/MetaMask/eslint-config/pull/332), [#339](https://github.com/MetaMask/eslint-config/pull/339)) + ## [12.1.0] ### Changed - Add support for typescript 5.0.x, 5.1.x ([#288](https://github.com/MetaMask/eslint-config/pull/288)) @@ -35,7 +42,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **BREAKING:** Update `eslint-plugin-mocha` from v8 to v10 ([#232](https://github.com/MetaMask/eslint-config/pull/232)) - This is breaking because `eslint-plugin-mocha` is a `peerDependency`. - The rule [`mocha/no-empty-description`](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/no-empty-description.md) was added. -- **BREAKING:** Update minimium Node.js version to v14 ([#225](https://github.com/MetaMask/eslint-config/pull/225)) +- **BREAKING:** Update minimum Node.js version to v14 ([#225](https://github.com/MetaMask/eslint-config/pull/225)) - Update Mocha ecmaVersion ([#218](https://github.com/MetaMask/eslint-config/pull/218)) - This lets us use newer JavaScript features in our Mocha tests. @@ -65,7 +72,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - To continue extending this config, install this package and update your `.eslintrc.js` `extends` array to include `@metamask/eslint-config-mocha` instead of `@metamask/eslint-config/mocha`. - Update `eslint` and other ESLint peer dependencies ([#151](https://github.com/MetaMask/eslint-config/pull/151)) -[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v12.1.0...HEAD +[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v13.0.0...HEAD +[13.0.0]: https://github.com/MetaMask/eslint-config/compare/v12.1.0...v13.0.0 [12.1.0]: https://github.com/MetaMask/eslint-config/compare/v12.0.0...v12.1.0 [12.0.0]: https://github.com/MetaMask/eslint-config/compare/v11.1.0...v12.0.0 [11.1.0]: https://github.com/MetaMask/eslint-config/compare/v11.0.0...v11.1.0 diff --git a/packages/mocha/package.json b/packages/mocha/package.json index c7789d7b..bf96c380 100644 --- a/packages/mocha/package.json +++ b/packages/mocha/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/eslint-config-mocha", - "version": "12.1.0", + "version": "13.0.0", "description": "Shareable MetaMask ESLint config for Mocha.", "homepage": "https://github.com/MetaMask/eslint-config#readme", "bugs": { @@ -23,7 +23,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/eslint-config": "^12.0.0", + "@metamask/eslint-config": "^13.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-import-x": "^0.5.1", @@ -33,7 +33,7 @@ "prettier": "^2.7.1" }, "peerDependencies": { - "@metamask/eslint-config": "^12.2.0", + "@metamask/eslint-config": "^13.0.0", "eslint": "^8.57.0", "eslint-plugin-mocha": "^10.4.1" }, diff --git a/packages/nodejs/CHANGELOG.md b/packages/nodejs/CHANGELOG.md index 931c0859..f7602a11 100644 --- a/packages/nodejs/CHANGELOG.md +++ b/packages/nodejs/CHANGELOG.md @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [13.0.0] +### Changed +- **BREAKING**: Replace `eslint-plugin-import` with `eslint-plugin-import-x` ([#366](https://github.com/MetaMask/eslint-config/pull/366)) +- **BREAKING**: Bump all ESLint dependencies ([#351](https://github.com/MetaMask/eslint-config/pull/351)) + - Bumps all ESLint dependencies to the latest version compatible with Node.js 16. +- **BREAKING**: Bump minimum Node.js version from 14 to 16 ([#332](https://github.com/MetaMask/eslint-config/pull/332), [#339](https://github.com/MetaMask/eslint-config/pull/339)) + ## [12.1.0] ### Changed - Add support for typescript 5.0.x, 5.1.x ([#288](https://github.com/MetaMask/eslint-config/pull/288)) @@ -40,7 +47,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [`no-nonoctal-decimal-escape`](https://eslint.org/docs/latest/rules/no-nonoctal-decimal-escape) - [`no-unsafe-optional-chaining`](https://eslint.org/docs/latest/rules/no-unsafe-optional-chaining) - [`no-useless-backreference`](https://eslint.org/docs/latest/rules/no-useless-backreference) -- **BREAKING:** Update minimium Node.js version to v14 ([#225](https://github.com/MetaMask/eslint-config/pull/225)) +- **BREAKING:** Update minimum Node.js version to v14 ([#225](https://github.com/MetaMask/eslint-config/pull/225)) ## [9.0.0] ### Added @@ -75,7 +82,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - To continue extending this config, install this package and update your `.eslintrc.js` `extends` array to include `@metamask/eslint-config-nodejs` instead of `@metamask/eslint-config/nodejs`. - Update `eslint` and other ESLint peer dependencies ([#151](https://github.com/MetaMask/eslint-config/pull/151)) -[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v12.1.0...HEAD +[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v13.0.0...HEAD +[13.0.0]: https://github.com/MetaMask/eslint-config/compare/v12.1.0...v13.0.0 [12.1.0]: https://github.com/MetaMask/eslint-config/compare/v12.0.0...v12.1.0 [12.0.0]: https://github.com/MetaMask/eslint-config/compare/v11.1.0...v12.0.0 [11.1.0]: https://github.com/MetaMask/eslint-config/compare/v11.0.1...v11.1.0 diff --git a/packages/nodejs/package.json b/packages/nodejs/package.json index 050c9490..ca7c2c67 100644 --- a/packages/nodejs/package.json +++ b/packages/nodejs/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/eslint-config-nodejs", - "version": "12.1.0", + "version": "13.0.0", "description": "Shareable MetaMask ESLint config for Node.js.", "homepage": "https://github.com/MetaMask/eslint-config#readme", "bugs": { @@ -23,7 +23,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/eslint-config": "^12.2.0", + "@metamask/eslint-config": "^13.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-import-x": "^0.5.1", @@ -33,7 +33,7 @@ "prettier": "^2.7.1" }, "peerDependencies": { - "@metamask/eslint-config": "^12.2.0", + "@metamask/eslint-config": "^13.0.0", "eslint": "^8.57.0", "eslint-plugin-n": "^16.6.2" }, diff --git a/packages/typescript/CHANGELOG.md b/packages/typescript/CHANGELOG.md index 8f983238..fd6f00a1 100644 --- a/packages/typescript/CHANGELOG.md +++ b/packages/typescript/CHANGELOG.md @@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [13.0.0] +### Changed +- **BREAKING**: Bump TypeScript to v5.5 ([#364](https://github.com/MetaMask/eslint-config/pull/364)) + - Also bump relevant `@typescript-eslint` packages. +- **BREAKING**: Replace `eslint-plugin-import` with `eslint-plugin-import-x` ([#366](https://github.com/MetaMask/eslint-config/pull/366)) +- **BREAKING**: Bump all ESLint dependencies ([#351](https://github.com/MetaMask/eslint-config/pull/351)) + - Bumps all ESLint dependencies to the latest version compatible with Node.js 16. +- **BREAKING**: Bump minimum Node.js version from 14 to 16 ([#332](https://github.com/MetaMask/eslint-config/pull/332), [#339](https://github.com/MetaMask/eslint-config/pull/339)) + ## [12.1.0] ### Changed - Add support for typescript 5.0.x, 5.1.x ([#288](https://github.com/MetaMask/eslint-config/pull/288)) @@ -51,7 +60,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - There are two new rules: - [`@typescript-eslint/no-loss-of-precision`](https://typescript-eslint.io/rules/no-loss-of-precision) - [`@typescript-eslint/no-unnecessary-type-constraint`](https://typescript-eslint.io/rules/no-unnecessary-type-constraint). -- **BREAKING:** Update minimium Node.js version to v14 ([#225](https://github.com/MetaMask/eslint-config/pull/225)) +- **BREAKING:** Update minimum Node.js version to v14 ([#225](https://github.com/MetaMask/eslint-config/pull/225)) - **BREAKING:** Forbid TypeScript interfaces ([#216](https://github.com/MetaMask/eslint-config/pull/216)) - Ignore rest siblings for `no-unused-vars` ([#213](https://github.com/MetaMask/eslint-config/pull/213)) - This makes the `no-unused-vars` rule more permissive @@ -107,7 +116,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - 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`. - Update `eslint` and other ESLint peer dependencies ([#151](https://github.com/MetaMask/eslint-config/pull/151)) -[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v12.1.0...HEAD +[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v13.0.0...HEAD +[13.0.0]: https://github.com/MetaMask/eslint-config/compare/v12.1.0...v13.0.0 [12.1.0]: https://github.com/MetaMask/eslint-config/compare/v12.0.0...v12.1.0 [12.0.0]: https://github.com/MetaMask/eslint-config/compare/v11.1.0...v12.0.0 [11.1.0]: https://github.com/MetaMask/eslint-config/compare/v11.0.2...v11.1.0 diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 73972492..dc5edbbf 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/eslint-config-typescript", - "version": "12.1.0", + "version": "13.0.0", "description": "Shareable MetaMask ESLint config for TypeScript.", "homepage": "https://github.com/MetaMask/eslint-config#readme", "bugs": { @@ -24,7 +24,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/eslint-config": "^12.2.0", + "@metamask/eslint-config": "^13.0.0", "@typescript-eslint/eslint-plugin": "^8.1.0", "@typescript-eslint/parser": "^8.1.0", "eslint": "^8.57.0", @@ -36,7 +36,7 @@ "typescript": "~5.5.4" }, "peerDependencies": { - "@metamask/eslint-config": "^12.2.0", + "@metamask/eslint-config": "^13.0.0", "@typescript-eslint/eslint-plugin": "^8.1.0", "@typescript-eslint/parser": "^8.1.0", "eslint": "^8.57.0", diff --git a/yarn.lock b/yarn.lock index 553874f8..fa2e76c1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -926,7 +926,7 @@ __metadata: eslint-plugin-prettier: ^4.2.1 prettier: ^2.7.1 peerDependencies: - "@metamask/eslint-config": ^12.2.0 + "@metamask/eslint-config": ^13.0.0 eslint: ^8.57.0 languageName: unknown linkType: soft @@ -943,7 +943,7 @@ __metadata: eslint-plugin-prettier: ^4.2.1 prettier: ^2.7.1 peerDependencies: - "@metamask/eslint-config": ^12.2.0 + "@metamask/eslint-config": ^13.0.0 eslint: ^8.57.0 languageName: unknown linkType: soft @@ -953,7 +953,7 @@ __metadata: resolution: "@metamask/eslint-config-jest@workspace:packages/jest" dependencies: "@metamask/auto-changelog": ^3.4.4 - "@metamask/eslint-config": ^12.0.0 + "@metamask/eslint-config": ^13.0.0 eslint: ^8.57.0 eslint-config-prettier: ^8.5.0 eslint-plugin-import-x: ^0.5.1 @@ -962,7 +962,7 @@ __metadata: eslint-plugin-prettier: ^4.2.1 prettier: ^2.7.1 peerDependencies: - "@metamask/eslint-config": ^12.2.0 + "@metamask/eslint-config": ^13.0.0 eslint: ^8.57.0 eslint-plugin-jest: ^27.9.0 languageName: unknown @@ -973,7 +973,7 @@ __metadata: resolution: "@metamask/eslint-config-mocha@workspace:packages/mocha" dependencies: "@metamask/auto-changelog": ^3.4.4 - "@metamask/eslint-config": ^12.0.0 + "@metamask/eslint-config": ^13.0.0 eslint: ^8.57.0 eslint-config-prettier: ^8.5.0 eslint-plugin-import-x: ^0.5.1 @@ -982,18 +982,18 @@ __metadata: eslint-plugin-prettier: ^4.2.1 prettier: ^2.7.1 peerDependencies: - "@metamask/eslint-config": ^12.2.0 + "@metamask/eslint-config": ^13.0.0 eslint: ^8.57.0 eslint-plugin-mocha: ^10.4.1 languageName: unknown linkType: soft -"@metamask/eslint-config-nodejs@^12.0.0, @metamask/eslint-config-nodejs@workspace:packages/nodejs": +"@metamask/eslint-config-nodejs@^13.0.0, @metamask/eslint-config-nodejs@workspace:packages/nodejs": version: 0.0.0-use.local resolution: "@metamask/eslint-config-nodejs@workspace:packages/nodejs" dependencies: "@metamask/auto-changelog": ^3.4.4 - "@metamask/eslint-config": ^12.2.0 + "@metamask/eslint-config": ^13.0.0 eslint: ^8.57.0 eslint-config-prettier: ^8.5.0 eslint-plugin-import-x: ^0.5.1 @@ -1002,7 +1002,7 @@ __metadata: eslint-plugin-prettier: ^4.2.1 prettier: ^2.7.1 peerDependencies: - "@metamask/eslint-config": ^12.2.0 + "@metamask/eslint-config": ^13.0.0 eslint: ^8.57.0 eslint-plugin-n: ^16.6.2 languageName: unknown @@ -1013,7 +1013,7 @@ __metadata: resolution: "@metamask/eslint-config-typescript@workspace:packages/typescript" dependencies: "@metamask/auto-changelog": ^3.4.4 - "@metamask/eslint-config": ^12.2.0 + "@metamask/eslint-config": ^13.0.0 "@typescript-eslint/eslint-plugin": ^8.1.0 "@typescript-eslint/parser": ^8.1.0 eslint: ^8.57.0 @@ -1024,7 +1024,7 @@ __metadata: prettier: ^2.7.1 typescript: ~5.5.4 peerDependencies: - "@metamask/eslint-config": ^12.2.0 + "@metamask/eslint-config": ^13.0.0 "@typescript-eslint/eslint-plugin": ^8.1.0 "@typescript-eslint/parser": ^8.1.0 eslint: ^8.57.0 @@ -1032,7 +1032,7 @@ __metadata: languageName: unknown linkType: soft -"@metamask/eslint-config@^12.0.0, @metamask/eslint-config@^12.2.0, @metamask/eslint-config@workspace:packages/base": +"@metamask/eslint-config@^13.0.0, @metamask/eslint-config@workspace:packages/base": version: 0.0.0-use.local resolution: "@metamask/eslint-config@workspace:packages/base" dependencies: @@ -5165,8 +5165,8 @@ __metadata: "@eslint/js": ^8.57.0 "@lavamoat/allow-scripts": ^3.0.4 "@metamask/auto-changelog": ^3.4.4 - "@metamask/eslint-config": ^12.0.0 - "@metamask/eslint-config-nodejs": ^12.0.0 + "@metamask/eslint-config": ^13.0.0 + "@metamask/eslint-config-nodejs": ^13.0.0 "@metamask/utils": ^9.1.0 "@types/jest": ^29.5.12 eslint: ^8.57.0