Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

12.0.0 #302

Merged
merged 5 commits into from
Jul 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "root",
"version": "11.1.0",
"version": "12.0.0",
"private": true,
"repository": {
"type": "git",
Expand All @@ -26,8 +26,8 @@
"@eslint/eslintrc": "^1.3.0",
"@lavamoat/allow-scripts": "^2.3.1",
"@metamask/auto-changelog": "^3.0.0",
"@metamask/eslint-config": "^11.0.0",
"@metamask/eslint-config-nodejs": "^11.0.0",
"@metamask/eslint-config": "^12.0.0",
"@metamask/eslint-config-nodejs": "^12.0.0",
"@metamask/utils": "^6.0.0",
"@types/jest": "^29.2.2",
"eslint": "^8.27.0",
Expand Down
7 changes: 6 additions & 1 deletion packages/base/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [12.0.0]
### Added
- **BREAKING:** Add `eslint-plugin-promise` peer dependency, and enable `no-multiple-resolved` ([#287](https://github.com/MetaMask/eslint-config/pull/287))
Copy link
Member

@Gudahtt Gudahtt Jul 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The matching entries in each other package were replaced with a point about the peer dependency being updated.

This is the only significant difference from the v11.2.0 changelogs, aside from the new commonjs change.


## [11.1.0]
### Changed
- Exclude test files from package ([#266](https://github.com/MetaMask/eslint-config/pull/266))
Expand Down Expand Up @@ -160,7 +164,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/v11.1.0...HEAD
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v12.0.0...HEAD
[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
[11.0.2]: https://github.com/MetaMask/eslint-config/compare/v11.0.1...v11.0.2
[11.0.1]: https://github.com/MetaMask/eslint-config/compare/v11.0.0...v11.0.1
Expand Down
2 changes: 1 addition & 1 deletion packages/base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Our default export contains a base set of ESLint rules for ES6+:

```bash
yarn add --dev \
@metamask/eslint-config@^11.0.1 \
@metamask/eslint-config@^12.0.0 \
eslint@^8.27.0 \
eslint-config-prettier@^8.5.0 \
eslint-plugin-import@^2.26.0 \
Expand Down
2 changes: 1 addition & 1 deletion packages/base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/eslint-config",
"version": "11.1.0",
"version": "12.0.0",
"description": "Shareable MetaMask ESLint config.",
"homepage": "https://github.com/MetaMask/eslint-config#readme",
"bugs": {
Expand Down
7 changes: 6 additions & 1 deletion packages/browser/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [12.0.0]
### Changed
- **BREAKING:** Update peer dependency `@metamask/eslint-config` to v12

## [11.1.0]
### Changed
- Exclude test files from package ([#266](https://github.com/MetaMask/eslint-config/pull/266))
Expand All @@ -14,6 +18,7 @@ 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/v11.1.0...HEAD
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v12.0.0...HEAD
[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
[11.0.0]: https://github.com/MetaMask/eslint-config/releases/tag/v11.0.0
4 changes: 2 additions & 2 deletions packages/browser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Our default export contains a base set of ESLint rules for ES6+:

```bash
yarn add --dev \
@metamask/eslint-config@^11.0.1 \
@metamask/eslint-config-browser@^11.0.0 \
@metamask/eslint-config@^12.0.0 \
@metamask/eslint-config-browser@^12.0.0 \
eslint@^8.27.0 \
eslint-config-prettier@^8.5.0 \
eslint-plugin-import@^2.26.0 \
Expand Down
4 changes: 2 additions & 2 deletions packages/browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/eslint-config-browser",
"version": "11.1.0",
"version": "12.0.0",
"description": "Shareable MetaMask ESLint plugin for browser environments.",
"homepage": "https://github.com/MetaMask/eslint-config#readme",
"bugs": {
Expand Down Expand Up @@ -31,7 +31,7 @@
"prettier": "^2.7.1"
},
"peerDependencies": {
"@metamask/eslint-config": "^11.0.0",
"@metamask/eslint-config": "^12.0.0",
"eslint": "^8.27.0"
},
"engines": {
Expand Down
8 changes: 7 additions & 1 deletion packages/commonjs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [12.0.0]
### Changed
- **BREAKING:** Add peer dependency `@metamask/eslint-config` and remove ESLint plugin and prettier peer dependencies ([#301](https://github.com/MetaMask/eslint-config/pull/301))
- In the initial release, this package had the wrong list of peer dependencies. This brings this package back into alignment with the others.

## [11.1.0]
### Added
- Initial release of this package ([#267](https://github.com/MetaMask/eslint-config/pull/267))

[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v11.1.0...HEAD
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v12.0.0...HEAD
[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
4 changes: 2 additions & 2 deletions packages/commonjs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ MetaMask's ESLint configuration for projects using CommonJS.

```bash
yarn add --dev \
@metamask/eslint-config@^11.0.1 \
@metamask/eslint-config-commonjs@^11.0.2 \
@metamask/eslint-config@^12.0.0 \
@metamask/eslint-config-commonjs@^12.0.0 \
eslint@^8.27.0 \
eslint-config-prettier@^8.5.0 \
eslint-plugin-import@^2.26.0 \
Expand Down
4 changes: 2 additions & 2 deletions packages/commonjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/eslint-config-commonjs",
"version": "11.1.0",
"version": "12.0.0",
"description": "Shareable MetaMask ESLint config for CommonJS projects.",
"homepage": "https://github.com/MetaMask/eslint-config#readme",
"bugs": {
Expand Down Expand Up @@ -31,7 +31,7 @@
"prettier": "^2.7.1"
},
"peerDependencies": {
"@metamask/eslint-config": "^11.0.0",
"@metamask/eslint-config": "^12.0.0",
"eslint": "^8.27.0"
},
"engines": {
Expand Down
7 changes: 6 additions & 1 deletion packages/jest/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [12.0.0]
### Changed
- **BREAKING:** Update peer dependency `@metamask/eslint-config` to v12

## [11.1.0]
### Changed
- Exclude test files from package ([#266](https://github.com/MetaMask/eslint-config/pull/266))
Expand Down Expand Up @@ -55,7 +59,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/v11.1.0...HEAD
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v12.0.0...HEAD
[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
[11.0.0]: https://github.com/MetaMask/eslint-config/compare/v10.0.0...v11.0.0
[10.0.0]: https://github.com/MetaMask/eslint-config/compare/v9.0.0...v10.0.0
Expand Down
4 changes: 2 additions & 2 deletions packages/jest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ MetaMask's [Jest](https://jestjs.io/) ESLint configuration.

```bash
yarn add --dev \
@metamask/eslint-config@^11.0.1 \
@metamask/eslint-config-jest@^11.0.0 \
@metamask/eslint-config@^12.0.0 \
@metamask/eslint-config-jest@^12.0.0 \
eslint@^8.27.0 \
eslint-config-prettier@^8.5.0 \
eslint-plugin-import@^2.26.0 \
Expand Down
6 changes: 3 additions & 3 deletions packages/jest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/eslint-config-jest",
"version": "11.1.0",
"version": "12.0.0",
"description": "Shareable MetaMask ESLint config for Jest.",
"homepage": "https://github.com/MetaMask/eslint-config#readme",
"bugs": {
Expand All @@ -23,7 +23,7 @@
},
"devDependencies": {
"@metamask/auto-changelog": "^3.0.0",
"@metamask/eslint-config": "^11.0.0",
"@metamask/eslint-config": "^12.0.0",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
Expand All @@ -33,7 +33,7 @@
"prettier": "^2.7.1"
},
"peerDependencies": {
"@metamask/eslint-config": "^11.0.0",
"@metamask/eslint-config": "^12.0.0",
"eslint": "^8.27.0",
"eslint-plugin-jest": "^27.1.5"
},
Expand Down
7 changes: 6 additions & 1 deletion packages/mocha/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [12.0.0]
### Changed
- **BREAKING:** Update peer dependency `@metamask/eslint-config` to v12

## [11.1.0]
### Changed
- Exclude test files from package ([#266](https://github.com/MetaMask/eslint-config/pull/266))
Expand Down Expand Up @@ -57,7 +61,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/v11.1.0...HEAD
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v12.0.0...HEAD
[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
[11.0.0]: https://github.com/MetaMask/eslint-config/compare/v10.0.0...v11.0.0
[10.0.0]: https://github.com/MetaMask/eslint-config/compare/v9.0.0...v10.0.0
Expand Down
4 changes: 2 additions & 2 deletions packages/mocha/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ MetaMask's [Mocha](https://mochajs.org/) ESLint configuration.

```bash
yarn add --dev \
@metamask/eslint-config@^11.0.1 \
@metamask/eslint-config-mocha@^11.0.0 \
@metamask/eslint-config@^12.0.0 \
@metamask/eslint-config-mocha@^12.0.0 \
eslint@^8.27.0 \
eslint-config-prettier@^8.5.0 \
eslint-plugin-import@^2.26.0 \
Expand Down
6 changes: 3 additions & 3 deletions packages/mocha/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/eslint-config-mocha",
"version": "11.1.0",
"version": "12.0.0",
"description": "Shareable MetaMask ESLint config for Mocha.",
"homepage": "https://github.com/MetaMask/eslint-config#readme",
"bugs": {
Expand All @@ -23,7 +23,7 @@
},
"devDependencies": {
"@metamask/auto-changelog": "^3.0.0",
"@metamask/eslint-config": "^11.0.0",
"@metamask/eslint-config": "^12.0.0",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
Expand All @@ -33,7 +33,7 @@
"prettier": "^2.7.1"
},
"peerDependencies": {
"@metamask/eslint-config": "^11.0.0",
"@metamask/eslint-config": "^12.0.0",
"eslint": "^8.27.0",
"eslint-plugin-mocha": "^10.1.0"
},
Expand Down
8 changes: 7 additions & 1 deletion packages/nodejs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [12.0.0]
### Changed
- **BREAKING:** Update peer dependency `@metamask/eslint-config` to v12
- **BREAKING:** Replace `eslint-plugin-node` with `eslint-plugin-n` ([#297](https://github.com/MetaMask/eslint-config/pull/297))

## [11.1.0]
### Changed
- Exclude test files from package ([#266](https://github.com/MetaMask/eslint-config/pull/266))
Expand Down Expand Up @@ -66,7 +71,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/v11.1.0...HEAD
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v12.0.0...HEAD
[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
[11.0.1]: https://github.com/MetaMask/eslint-config/compare/v11.0.0...v11.0.1
[11.0.0]: https://github.com/MetaMask/eslint-config/compare/v10.0.0...v11.0.0
Expand Down
4 changes: 2 additions & 2 deletions packages/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ MetaMask's [Node.js](https://nodejs.org) ESLint configuration.

```bash
yarn add --dev \
@metamask/eslint-config@^11.0.1 \
@metamask/eslint-config-nodejs@^11.0.1 \
@metamask/eslint-config@^12.0.0 \
@metamask/eslint-config-nodejs@^12.0.0 \
eslint@^8.27.0 \
eslint-config-prettier@^8.5.0 \
eslint-plugin-import@^2.26.0 \
Expand Down
6 changes: 3 additions & 3 deletions packages/nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/eslint-config-nodejs",
"version": "11.1.0",
"version": "12.0.0",
"description": "Shareable MetaMask ESLint config for Node.js.",
"homepage": "https://github.com/MetaMask/eslint-config#readme",
"bugs": {
Expand All @@ -23,7 +23,7 @@
},
"devDependencies": {
"@metamask/auto-changelog": "^3.0.0",
"@metamask/eslint-config": "^11.0.0",
"@metamask/eslint-config": "^12.0.0",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
Expand All @@ -33,7 +33,7 @@
"prettier": "^2.7.1"
},
"peerDependencies": {
"@metamask/eslint-config": "^11.0.0",
"@metamask/eslint-config": "^12.0.0",
"eslint": "^8.27.0",
"eslint-plugin-n": "^15.7.0"
},
Expand Down
13 changes: 12 additions & 1 deletion packages/typescript/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [12.0.0]
### Added
- **BREAKING:** Add rule to enforce generic parameters have a length of at least 3 characters ([#292](https://github.com/MetaMask/eslint-config/pull/292))
- **BREAKING:** Enable `@typescript-eslint/consistent-type-imports` rule ([#284](https://github.com/MetaMask/eslint-config/pull/284))
- **BREAKING:** Enable `@typescript-eslint/prefer-enum-initializers` rule ([#269](https://github.com/MetaMask/eslint-config/pull/269))

### Changed
- **BREAKING:** Update peer dependency `@metamask/eslint-config` to v12
- Disable naming convention for properties that require quotes ([#293](https://github.com/MetaMask/eslint-config/pull/293))

## [11.1.0]
### Changed
- Exclude test files from package ([#266](https://github.com/MetaMask/eslint-config/pull/266))
Expand Down Expand Up @@ -93,7 +103,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/v11.1.0...HEAD
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v12.0.0...HEAD
[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
[11.0.2]: https://github.com/MetaMask/eslint-config/compare/v11.0.0...v11.0.2
[11.0.0]: https://github.com/MetaMask/eslint-config/compare/v10.0.0...v11.0.0
Expand Down
4 changes: 2 additions & 2 deletions packages/typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ MetaMask's [TypeScript](https://www.typescriptlang.org) ESLint configuration.

```bash
yarn add --dev \
@metamask/eslint-config@^11.0.1 \
@metamask/eslint-config-typescript@^11.0.0 \
@metamask/eslint-config@^12.0.0 \
@metamask/eslint-config-typescript@^12.0.0 \
@typescript-eslint/eslint-plugin@^5.42.1 \
@typescript-eslint/parser@^5.42.1 \
eslint@^8.27.0 \
Expand Down
6 changes: 3 additions & 3 deletions packages/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/eslint-config-typescript",
"version": "11.1.0",
"version": "12.0.0",
"description": "Shareable MetaMask ESLint config for TypeScript.",
"homepage": "https://github.com/MetaMask/eslint-config#readme",
"bugs": {
Expand All @@ -24,7 +24,7 @@
},
"devDependencies": {
"@metamask/auto-changelog": "^3.0.0",
"@metamask/eslint-config": "^11.0.0",
"@metamask/eslint-config": "^12.0.0",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"eslint": "^8.27.0",
Expand All @@ -36,7 +36,7 @@
"typescript": "~4.8.4"
},
"peerDependencies": {
"@metamask/eslint-config": "^11.0.0",
"@metamask/eslint-config": "^12.0.0",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"eslint": "^8.27.0",
Expand Down
Loading