Skip to content

Commit

Permalink
[eslint config] [base] [new] update base ecmaVersion to 2018; remove …
Browse files Browse the repository at this point in the history
…deprecated experimentalObjectRestSpread option
  • Loading branch information
ljharb committed Jun 25, 2018
1 parent d951220 commit 27e5e20
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/eslint-config-airbnb-base/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@ module.exports = {
'./rules/imports',
].map(require.resolve),
parserOptions: {
ecmaVersion: 2017,
ecmaVersion: 2018,
sourceType: 'module',
ecmaFeatures: {
experimentalObjectRestSpread: true,
},
},
rules: {
strict: 'error',
Expand Down

0 comments on commit 27e5e20

Please sign in to comment.