Skip to content
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/eslint-config-root",
"version": "14.1.0",
"version": "15.0.0",
"private": true,
"repository": {
"type": "git",
Expand Down
15 changes: 14 additions & 1 deletion packages/base/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [15.0.0]

### Changed

- **BREAKING:** Update `jsdoc/require-jsdoc` to require documentation for more things ([#394](https://github.com/MetaMask/eslint-config/pull/394))
- New things that now require documentation are:
- Arrow functions
- Class declarations
- TypeScript enum declarations
- Function expressions
- TypeScript interface declarations
- Method definitions
- TypeScript type alias declarations
- TypeScript property signatures
- **BREAKING:** Convert various rules from `warn` to `error` ([#424](https://github.com/MetaMask/eslint-config/pull/424))
- The rules impacted are:
- `promise/no-callback-in-promise`
Expand Down Expand Up @@ -280,7 +292,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

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

[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]
[15.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[14.1.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[14.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[13.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
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": "14.1.0",
"version": "15.0.0",
"description": "Shareable MetaMask ESLint config.",
"homepage": "https://github.com/MetaMask/eslint-config#readme",
"bugs": {
Expand Down
9 changes: 8 additions & 1 deletion packages/browser/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [15.0.0]

### Changed

- **BREAKING:** Bump peer dependency on `@metamask/eslint-config` from `^14.0.0` to `^15.0.0` ([#431](https://github.com/MetaMask/eslint-config/pull/431))

## [14.0.0]

### Changed
Expand Down Expand Up @@ -54,7 +60,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Initial release of this package.

[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]
[15.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[14.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[13.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[12.1.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/eslint-config-browser",
"version": "14.0.0",
"version": "15.0.0",
"description": "Shareable MetaMask ESLint plugin for browser environments.",
"homepage": "https://github.com/MetaMask/eslint-config#readme",
"bugs": {
Expand Down
9 changes: 8 additions & 1 deletion packages/commonjs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [15.0.0]

### Changed

- **BREAKING:** Bump peer dependency on `@metamask/eslint-config` from `^14.0.0` to `^15.0.0` ([#431](https://github.com/MetaMask/eslint-config/pull/431))

## [14.0.0]

### Changed
Expand Down Expand Up @@ -49,7 +55,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

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

[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]
[15.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[14.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[13.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[12.1.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/commonjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/eslint-config-commonjs",
"version": "14.0.0",
"version": "15.0.0",
"description": "Shareable MetaMask ESLint config for CommonJS projects.",
"homepage": "https://github.com/MetaMask/eslint-config#readme",
"bugs": {
Expand Down
7 changes: 6 additions & 1 deletion packages/jest/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [15.0.0]

### Changed

- **BREAKING:** Bump peer dependency on `@metamask/eslint-config` from `^14.0.0` to `^15.0.0` ([#431](https://github.com/MetaMask/eslint-config/pull/431))
- **BREAKING:** Convert various rules from `warn` to `error` ([#424](https://github.com/MetaMask/eslint-config/pull/424))
- The rules impacted are:
- `jest/expect-expect`
- `jest/no-alias-methods`
- `jest/no-commented-out-tests`
- `jest/no-disabled-tests`
- Widen `typescript` peer dependency to allow all 5.x versions ([#422](https://github.com/MetaMask/eslint-config/pull/422))

## [14.1.0]

Expand Down Expand Up @@ -124,7 +128,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/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]
[15.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[14.1.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[14.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[13.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/jest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/eslint-config-jest",
"version": "14.1.0",
"version": "15.0.0",
"description": "Shareable MetaMask ESLint config for Jest.",
"homepage": "https://github.com/MetaMask/eslint-config#readme",
"bugs": {
Expand Down
9 changes: 8 additions & 1 deletion packages/mocha/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [15.0.0]

### Changed

- **BREAKING:** Bump peer dependency on `@metamask/eslint-config` from `^14.0.0` to `^15.0.0` ([#431](https://github.com/MetaMask/eslint-config/pull/431))

## [14.0.0]

### Changed
Expand Down Expand Up @@ -109,7 +115,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/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]
[15.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[14.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[13.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[12.1.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/mocha/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/eslint-config-mocha",
"version": "14.0.0",
"version": "15.0.0",
"description": "Shareable MetaMask ESLint config for Mocha.",
"homepage": "https://github.com/MetaMask/eslint-config#readme",
"bugs": {
Expand Down
9 changes: 8 additions & 1 deletion packages/nodejs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [15.0.0]

### Changed

- **BREAKING:** Bump peer dependency on `@metamask/eslint-config` from `^14.0.0` to `^15.0.0` ([#431](https://github.com/MetaMask/eslint-config/pull/431))

## [14.0.0]

### Changed
Expand Down Expand Up @@ -123,7 +129,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/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]
[15.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[14.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[13.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[12.1.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/eslint-config-nodejs",
"version": "14.0.0",
"version": "15.0.0",
"description": "Shareable MetaMask ESLint config for Node.js.",
"homepage": "https://github.com/MetaMask/eslint-config#readme",
"bugs": {
Expand Down
10 changes: 9 additions & 1 deletion packages/typescript/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [15.0.0]

### Changed

- **BREAKING:** Bump peer dependency on `@metamask/eslint-config` from `^14.0.0` to `^15.0.0` ([#431](https://github.com/MetaMask/eslint-config/pull/431))
- **BREAKING:** Update `typescript-eslint` peer dependency to have a minimum version of v8.39.0 ([#423](https://github.com/MetaMask/eslint-config/pull/423))
- This version has a matching supported `typescript` range, and includes some bug fixes for problems we ran into.
- **BREAKING:** Update type import specifier rules ([#381](https://github.com/MetaMask/eslint-config/pull/381))
- `@typescript-eslint/consistent-type-imports` has been replaced with `import-x/consistent-type-specifier-style`
- The rule now prefers "top-level" type imports over inline. e.g. `import type { a } from 'x'` over `import { type a } from 'x'`
- Disable `@typescript-eslint/no-unnecessary-type-arguments` ([#426](https://github.com/MetaMask/eslint-config/pull/426))
- We decided that "unnecessary" type arguments make types easier to read sometimes, so we should allow them.
- Disable `promise/valid-params` because it's redundant in type-checked projects ([#425](https://github.com/MetaMask/eslint-config/pull/425))
Expand All @@ -20,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Object literals are too often used as parameters for 3rd party libraries/services.
- Disable `jsdoc/check-indentation` ([#430](https://github.com/MetaMask/eslint-config/pull/430))
- Disabled due to a problem with indended sections in TSDoc blocks.
- Widen `typescript` peer dependency to allow all 5.x versions ([#422](https://github.com/MetaMask/eslint-config/pull/422))

### Fixed

Expand Down Expand Up @@ -204,7 +211,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/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]
[15.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[14.1.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[14.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[13.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/eslint-config-typescript",
"version": "14.1.0",
"version": "15.0.0",
"description": "Shareable MetaMask ESLint config for TypeScript.",
"homepage": "https://github.com/MetaMask/eslint-config#readme",
"bugs": {
Expand Down
10 changes: 9 additions & 1 deletion packages/vitest/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [15.0.0]

### Changed

- **BREAKING:** Bump peer dependency on `@metamask/eslint-config` from `^14.0.0` to `^15.0.0` ([#431](https://github.com/MetaMask/eslint-config/pull/431))
- Bump version to v15 rather than v2 to synchronize this with the other lint config packages ([#431](https://github.com/MetaMask/eslint-config/pull/431))

## [1.0.0]

### Added
Expand All @@ -15,5 +22,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- This config is based on the `@metamask/eslint-config-jest` config, but uses
the Vitest plugin instead of Jest.

[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]
[15.0.0]: https://github.com/MetaMask/eslint-config/compare/@metamask/[email protected]...@metamask/[email protected]
[1.0.0]: https://github.com/MetaMask/eslint-config/releases/tag/@metamask/[email protected]
2 changes: 1 addition & 1 deletion packages/vitest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/eslint-config-vitest",
"version": "1.0.0",
"version": "15.0.0",
"description": "Shareable MetaMask ESLint config for Vitest.",
"homepage": "https://github.com/MetaMask/eslint-config#readme",
"bugs": {
Expand Down
Loading