mirror of
https://github.com/scratchfoundation/eslint-config-scratch.git
synced 2025-08-28 22:40:13 -04:00
replace experimentalObjectRestSpread with ecmaVersion: 2018
https://github.com/tc39/proposal-object-rest-spread has become a part of the ECMAScript standard as of version 2018 (also known as ECMAScript 9). experimentalObjectRestSpread will be removed in the future from eslint.
This commit is contained in:
parent
0a802a0828
commit
923a06d2ad
1 changed files with 1 additions and 3 deletions
4
es6.js
4
es6.js
|
@ -20,8 +20,6 @@ module.exports = {
|
|||
es6: true
|
||||
},
|
||||
parserOptions: {
|
||||
ecmaFeatures: {
|
||||
experimentalObjectRestSpread: true
|
||||
}
|
||||
ecmaVersion: 2018
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue