Skip to content

Commit

Permalink
Update ecmaVersion to 'latest' in esnext.js in eslint-plugin to ensur…
Browse files Browse the repository at this point in the history
…e it's esnext. (#296)

Co-authored-by: Ben Scott <227292+BPScott@users.noreply.github.com>
  • Loading branch information
iamyoki and BPScott committed Nov 26, 2021
1 parent 0e65962 commit 69c32c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/eslint-plugin/CHANGELOG.md
Expand Up @@ -11,6 +11,8 @@ 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
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-plugin/lib/config/esnext.js
Expand Up @@ -5,11 +5,11 @@ module.exports = {
parser: 'babel-eslint',

env: {
es6: true,
es2021: true,
},

parserOptions: {
ecmaVersion: 2018,
ecmaVersion: '2021',
sourceType: 'module',
},

Expand Down

0 comments on commit 69c32c1

Please sign in to comment.