Skip to content

Commit 27e5e20

Browse files
committed
[eslint config] [base] [new] update base ecmaVersion to 2018; remove deprecated experimentalObjectRestSpread option
1 parent d951220 commit 27e5e20

File tree

1 file changed

+1
-4
lines changed
  • packages/eslint-config-airbnb-base

1 file changed

+1
-4
lines changed

packages/eslint-config-airbnb-base/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,8 @@ module.exports = {
99
'./rules/imports',
1010
].map(require.resolve),
1111
parserOptions: {
12-
ecmaVersion: 2017,
12+
ecmaVersion: 2018,
1313
sourceType: 'module',
14-
ecmaFeatures: {
15-
experimentalObjectRestSpread: true,
16-
},
1714
},
1815
rules: {
1916
strict: 'error',

0 commit comments

Comments
 (0)