Skip to content

Commit e6c86f3

Browse files
authored
6.0.0 (#163)
* 6.0.0 * Update changelogs
1 parent f0516bb commit e6c86f3

File tree

11 files changed

+88
-28
lines changed

11 files changed

+88
-28
lines changed

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "5.0.0",
2+
"version": "6.0.0",
33
"command": {
44
"publish": {
55
"registry": "https://registry.npmjs.org"

packages/base/CHANGELOG.md

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,34 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
## [6.0.0] - 2021-04-08
10+
11+
## Changed
12+
13+
- **(BREAKING)** Set minimum Node.js version to `^12.0.0` ([#144](https://github.com/MetaMask/eslint-config/pull/144))
14+
- **(BREAKING)** Set ECMAScript version to `es2017`/`8` ([#150](https://github.com/MetaMask/eslint-config/pull/150))
15+
- **(BREAKING)** Add the [Prettier](https://prettier.io) ESLint plugin and extend the recommended Prettier ESLint config ([#96](https://github.com/MetaMask/eslint-config/pull/96))
16+
- See [here](https://github.com/prettier/eslint-plugin-prettier/blob/d993f24/eslint-plugin-prettier.js#L62-L73) for the `eslint-plugin-prettier` rules and [here](https://github.com/prettier/eslint-config-prettier/blob/abf3ba1/index.js) for the rules of `eslint-config-prettier`, which the plugin extends.
17+
- The rules of this config should otherwise be unchanged.
18+
- Update `eslint` and other ESLint peer dependencies ([#151](https://github.com/MetaMask/eslint-config/pull/151))
19+
20+
## Removed
21+
22+
- **(BREAKING)** All configs except the base config ([#141](https://github.com/MetaMask/eslint-config/pull/141))
23+
- All configs are now published as separate packages, and must be extended by referencing their package names:
24+
- [`@metamask/eslint-config`](https://npmjs.com/package/@metamask/eslint-config) (the base config)
25+
- [`@metamask/eslint-config-jest`](https://npmjs.com/package/@metamask/eslint-config-jest)
26+
- [`@metamask/eslint-config-mocha`](https://npmjs.com/package/@metamask/eslint-config-mocha)
27+
- [`@metamask/eslint-config-nodejs`](https://npmjs.com/package/@metamask/eslint-config-nodejs)
28+
- [`@metamask/eslint-config-typescript`](https://npmjs.com/package/@metamask/eslint-config-typescript)
29+
930
## [5.0.0] - 2021-02-02
1031

1132
### Changed
1233

13-
- **BREAKING:** Enable `semi` in base config ([#101](https://github.com/MetaMask/eslint-config/pull/101))
14-
- **BREAKING:** Disallow spaces before parentheses of named functions ([#101](https://github.com/MetaMask/eslint-config/pull/101))
15-
- **BREAKING:** Upgrade to TypeScript v4 and corresponding `@typescript-eslint` dependencies ([#79](https://github.com/MetaMask/eslint-config/pull/79), [#80](https://github.com/MetaMask/eslint-config/pull/80), [#103](https://github.com/MetaMask/eslint-config/pull/103))
34+
- **(BREAKING)** Enable `semi` in base config ([#101](https://github.com/MetaMask/eslint-config/pull/101))
35+
- **(BREAKING)** Disallow spaces before parentheses of named functions ([#101](https://github.com/MetaMask/eslint-config/pull/101))
36+
- **(BREAKING)** Upgrade to TypeScript v4 and corresponding `@typescript-eslint` dependencies ([#79](https://github.com/MetaMask/eslint-config/pull/79), [#80](https://github.com/MetaMask/eslint-config/pull/80), [#103](https://github.com/MetaMask/eslint-config/pull/103))
1637

1738
## [4.1.0] - 2020-10-21
1839

@@ -25,7 +46,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
2546

2647
### Changed
2748

28-
- **BREAKING:** Update to ESLint v7 (#46, #58, #62, #63)
49+
- **(BREAKING)** Update to ESLint v7 (#46, #58, #62, #63)
2950
- Relax `member-delimiter-style` for TypeScript ([#68](https://github.com/MetaMask/eslint-config/pull/68))
3051
- Disable `space-before-function-paren` for TypeScript ([#65](https://github.com/MetaMask/eslint-config/pull/65))
3152

@@ -101,7 +122,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
101122

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

104-
[Unreleased]:https://github.com/MetaMask/eslint-config/compare/v5.0.0...HEAD
125+
[Unreleased]:https://github.com/MetaMask/eslint-config/compare/v6.0.0...HEAD
126+
[6.0.0]:https://github.com/MetaMask/eslint-config/compare/v5.0.0...v6.0.0
105127
[5.0.0]:https://github.com/MetaMask/eslint-config/compare/v4.1.0...v5.0.0
106128
[4.1.0]:https://github.com/MetaMask/eslint-config/compare/v4.0.0...v4.1.0
107129
[4.0.0]:https://github.com/MetaMask/eslint-config/compare/v3.2.0...v4.0.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": "5.0.0",
3+
"version": "6.0.0",
44
"description": "Shareable MetaMask ESLint config.",
55
"main": "src/index.js",
66
"publishConfig": {

packages/jest/CHANGELOG.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9-
The contents of this package were previosly published as part of [`@metamask/eslint-config`](https://npmjs.com/package/@metamask/eslint-config).
10-
For changes prior to version `6.0.0`, please refer to the changelog of that package.
9+
## [6.0.0] - 2021-04-08
1110

12-
[Unreleased]:https://github.com/MetaMask/eslint-config/compare/v5.0.0...HEAD
13-
<!-- [6.0.0]:https://github.com/MetaMask/eslint-config/tree/v6.0.0 -->
11+
### Changed
12+
13+
- **(BREAKING)** Set minimum Node.js version to `^12.0.0` ([#144](https://github.com/MetaMask/eslint-config/pull/144))
14+
- Publish this config as its own package ([#141](https://github.com/MetaMask/eslint-config/pull/141))
15+
- The contents of this package were previously published as part of [`@metamask/eslint-config`](https://npmjs.com/package/@metamask/eslint-config).
16+
For changes prior to version `6.0.0`, please refer to the changelog of that package.
17+
- 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`.
18+
- Update `eslint` and other ESLint peer dependencies ([#151](https://github.com/MetaMask/eslint-config/pull/151))
19+
20+
[Unreleased]:https://github.com/MetaMask/eslint-config/compare/v6.0.0...HEAD
21+
[6.0.0]:https://github.com/MetaMask/eslint-config/tree/v6.0.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": "5.0.0",
3+
"version": "6.0.0",
44
"description": "Shareable MetaMask ESLint config for Jest.",
55
"main": "src/index.js",
66
"publishConfig": {

packages/mocha/CHANGELOG.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,17 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [Unreleased]
7+
## [6.0.0] - 2021-04-08
88

9-
The contents of this package were previosly published as part of [`@metamask/eslint-config`](https://npmjs.com/package/@metamask/eslint-config).
10-
For changes prior to version `6.0.0`, please refer to the changelog of that package.
9+
### Changed
1110

12-
[Unreleased]:https://github.com/MetaMask/eslint-config/compare/v5.0.0...HEAD
13-
<!-- [6.0.0]:https://github.com/MetaMask/eslint-config/tree/v6.0.0 -->
11+
- **(BREAKING)** Set minimum Node.js version to `^12.0.0` ([#144](https://github.com/MetaMask/eslint-config/pull/144))
12+
- **(BREAKING)** Enable [`mocha/no-exports`](https://github.com/lo1tuma/eslint-plugin-mocha/blob/bb203bc/docs/rules/no-exports.md) ([#156](https://github.com/MetaMask/eslint-config/pull/156))
13+
- Publish this config as its own package ([#141](https://github.com/MetaMask/eslint-config/pull/141))
14+
- The contents of this package were previously published as part of [`@metamask/eslint-config`](https://npmjs.com/package/@metamask/eslint-config).
15+
For changes prior to version `6.0.0`, please refer to the changelog of that package.
16+
- 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`.
17+
- Update `eslint` and other ESLint peer dependencies ([#151](https://github.com/MetaMask/eslint-config/pull/151))
18+
19+
[Unreleased]:https://github.com/MetaMask/eslint-config/compare/v6.0.0...HEAD
20+
[6.0.0]:https://github.com/MetaMask/eslint-config/tree/v6.0.0

packages/mocha/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-mocha",
3-
"version": "5.0.0",
3+
"version": "6.0.0",
44
"description": "Shareable MetaMask ESLint config for Mocha.",
55
"main": "src/index.js",
66
"publishConfig": {

packages/nodejs/CHANGELOG.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9-
The contents of this package were previosly published as part of [`@metamask/eslint-config`](https://npmjs.com/package/@metamask/eslint-config).
10-
For changes prior to version `6.0.0`, please refer to the changelog of that package.
9+
## [6.0.0] - 2021-04-08
1110

12-
[Unreleased]:https://github.com/MetaMask/eslint-config/compare/v5.0.0...HEAD
13-
<!-- [6.0.0]:https://github.com/MetaMask/eslint-config/tree/v6.0.0 -->
11+
### Changed
12+
13+
- **(BREAKING)** Set minimum Node.js version to `^12.0.0` ([#144](https://github.com/MetaMask/eslint-config/pull/144))
14+
- Publish this config as its own package ([#141](https://github.com/MetaMask/eslint-config/pull/141))
15+
- The contents of this package were previously published as part of [`@metamask/eslint-config`](https://npmjs.com/package/@metamask/eslint-config).
16+
For changes prior to version `6.0.0`, please refer to the changelog of that package.
17+
- 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`.
18+
- Update `eslint` and other ESLint peer dependencies ([#151](https://github.com/MetaMask/eslint-config/pull/151))
19+
20+
[Unreleased]:https://github.com/MetaMask/eslint-config/compare/v6.0.0...HEAD
21+
[6.0.0]:https://github.com/MetaMask/eslint-config/tree/v6.0.0

packages/nodejs/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-nodejs",
3-
"version": "5.0.0",
3+
"version": "6.0.0",
44
"description": "Shareable MetaMask ESLint config for Node.js.",
55
"main": "src/index.js",
66
"publishConfig": {

packages/typescript/CHANGELOG.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,23 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9-
The contents of this package were previosly published as part of [`@metamask/eslint-config`](https://npmjs.com/package/@metamask/eslint-config).
10-
For changes prior to version `6.0.0`, please refer to the changelog of that package.
9+
## [6.0.0] - 2021-04-08
1110

12-
[Unreleased]:https://github.com/MetaMask/eslint-config/compare/v5.0.0...HEAD
13-
<!-- [6.0.0]:https://github.com/MetaMask/eslint-config/tree/v6.0.0 -->
11+
### Changed
12+
13+
- **(BREAKING)** Set minimum Node.js version to `^12.0.0` ([#144](https://github.com/MetaMask/eslint-config/pull/144))
14+
- **(BREAKING)** Set ECMAScript version to `es2020`/`11` ([#150](https://github.com/MetaMask/eslint-config/pull/150))
15+
- **(BREAKING)** Enable all rules recommended by the `@typescript-eslint` plugin ([#156](https://github.com/MetaMask/eslint-config/pull/156))
16+
- This amounted to setting the following core ESLint rules to `error`:
17+
- [no-var](https://eslint.org/docs/7.0.0/rules/no-var)
18+
- [prefer-const](https://eslint.org/docs/7.0.0/rules/prefer-const)
19+
- [prefer-rest-params](https://eslint.org/docs/7.0.0/rules/prefer-rest-params)
20+
- [prefer-spread](https://eslint.org/docs/7.0.0/rules/prefer-spread)
21+
- Publish this config as its own package ([#141](https://github.com/MetaMask/eslint-config/pull/141))
22+
- The contents of this package were previously published as part of [`@metamask/eslint-config`](https://npmjs.com/package/@metamask/eslint-config).
23+
For changes prior to version `6.0.0`, please refer to the changelog of that package.
24+
- 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`.
25+
- Update `eslint` and other ESLint peer dependencies ([#151](https://github.com/MetaMask/eslint-config/pull/151))
26+
27+
[Unreleased]:https://github.com/MetaMask/eslint-config/compare/v6.0.0...HEAD
28+
[6.0.0]:https://github.com/MetaMask/eslint-config/tree/v6.0.0

0 commit comments

Comments
 (0)