From a8559da263d4ed111f4cf6506cc832812478e43d Mon Sep 17 00:00:00 2001 From: Yoki Yu Date: Fri, 22 Oct 2021 10:43:41 +0800 Subject: [PATCH 1/6] Update esnext.js in eslint-plugin --- packages/eslint-plugin/lib/config/esnext.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/eslint-plugin/lib/config/esnext.js b/packages/eslint-plugin/lib/config/esnext.js index 342525be..0e8ab221 100644 --- a/packages/eslint-plugin/lib/config/esnext.js +++ b/packages/eslint-plugin/lib/config/esnext.js @@ -5,11 +5,11 @@ module.exports = { parser: 'babel-eslint', env: { - es6: true, + es2021: true, }, parserOptions: { - ecmaVersion: 2018, + ecmaVersion: 'latest', sourceType: 'module', }, From 9df15aab1cd0ed1f3a5a6ad6fff4506c1fc1a012 Mon Sep 17 00:00:00 2001 From: iamyoki Date: Fri, 12 Nov 2021 02:55:16 +0800 Subject: [PATCH 2/6] Update CHANGELOG.md --- packages/eslint-plugin/CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/eslint-plugin/CHANGELOG.md b/packages/eslint-plugin/CHANGELOG.md index 324c324f..51dbd916 100644 --- a/packages/eslint-plugin/CHANGELOG.md +++ b/packages/eslint-plugin/CHANGELOG.md @@ -7,6 +7,11 @@ and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## 40.5.0 - 2021-10-22 +### Changed + +- Update ecmaVersion to 'latest' in `esnext.js` in eslint-plugin to ensure it's esnext. ([296](https://github.com/Shopify/web-configs/pull/296)) + ## 40.4.0 - 2021-07-12 ### Changed From 328975a5c14ad01d6fdb8b9336c4b9bd08668faa Mon Sep 17 00:00:00 2001 From: iamyoki Date: Fri, 12 Nov 2021 03:19:29 +0800 Subject: [PATCH 3/6] Revert "Update CHANGELOG.md" This reverts commit 9df15aab1cd0ed1f3a5a6ad6fff4506c1fc1a012. --- packages/eslint-plugin/CHANGELOG.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/eslint-plugin/CHANGELOG.md b/packages/eslint-plugin/CHANGELOG.md index 46e44948..03a85790 100644 --- a/packages/eslint-plugin/CHANGELOG.md +++ b/packages/eslint-plugin/CHANGELOG.md @@ -11,11 +11,6 @@ and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - Loosen semver restrictions on `eslint` plugins ([297](https://github.com/Shopify/web-configs/pull/297)) -## 40.5.0 - 2021-10-22 -### Changed - -- Update ecmaVersion to 'latest' in `esnext.js` in eslint-plugin to ensure it's esnext. ([296](https://github.com/Shopify/web-configs/pull/296)) - ## 40.4.0 - 2021-07-12 ### Changed From 35dc8b17a1c28e28442a9550d9145b01dc61cb64 Mon Sep 17 00:00:00 2001 From: iamyoki Date: Fri, 12 Nov 2021 03:23:09 +0800 Subject: [PATCH 4/6] Update CHANGELOG.md --- packages/eslint-plugin/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/eslint-plugin/CHANGELOG.md b/packages/eslint-plugin/CHANGELOG.md index 03a85790..b505c2c3 100644 --- a/packages/eslint-plugin/CHANGELOG.md +++ b/packages/eslint-plugin/CHANGELOG.md @@ -9,12 +9,16 @@ and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ### Changed +- Update ecmaVersion to 'latest' in `esnext.js` in eslint-plugin to ensure it's esnext. ([296](https://github.com/Shopify/web-configs/pull/296)) + - Loosen semver restrictions on `eslint` plugins ([297](https://github.com/Shopify/web-configs/pull/297)) ## 40.4.0 - 2021-07-12 ### Changed +- Update ecmaVersion to 'latest' in `esnext.js` in eslint-plugin to ensure it's esnext. ([296](https://github.com/Shopify/web-configs/pull/296)) + - Update `eslint` and plugin dependencies ([272](https://github.com/Shopify/web-configs/pull/272)) ## 40.3.0 - 2021-06-30 From b14fa23d6531b0bd4c12795eb5a5bdf3bb3e04a1 Mon Sep 17 00:00:00 2001 From: iamyoki Date: Fri, 12 Nov 2021 03:26:13 +0800 Subject: [PATCH 5/6] Update CHANGELOG.md --- packages/eslint-plugin/CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/eslint-plugin/CHANGELOG.md b/packages/eslint-plugin/CHANGELOG.md index b505c2c3..e14f47a7 100644 --- a/packages/eslint-plugin/CHANGELOG.md +++ b/packages/eslint-plugin/CHANGELOG.md @@ -17,8 +17,6 @@ and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ### Changed -- Update ecmaVersion to 'latest' in `esnext.js` in eslint-plugin to ensure it's esnext. ([296](https://github.com/Shopify/web-configs/pull/296)) - - Update `eslint` and plugin dependencies ([272](https://github.com/Shopify/web-configs/pull/272)) ## 40.3.0 - 2021-06-30 From 5086a17fb8dfeb75ee25e544ac824c34a508a73b Mon Sep 17 00:00:00 2001 From: Ben Scott <227292+BPScott@users.noreply.github.com> Date: Fri, 26 Nov 2021 16:29:47 +0000 Subject: [PATCH 6/6] Update packages/eslint-plugin/lib/config/esnext.js --- packages/eslint-plugin/lib/config/esnext.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-plugin/lib/config/esnext.js b/packages/eslint-plugin/lib/config/esnext.js index 0e8ab221..615d7e4f 100644 --- a/packages/eslint-plugin/lib/config/esnext.js +++ b/packages/eslint-plugin/lib/config/esnext.js @@ -9,7 +9,7 @@ module.exports = { }, parserOptions: { - ecmaVersion: 'latest', + ecmaVersion: '2021', sourceType: 'module', },