Skip to content

Commit 94e0dcf

Browse files
author
Ray Schamp
committed
fix(es6): Allow rest/spread syntax
Previously the parser didn't recognize rest/spread syntax as valid
1 parent 0b0c0c5 commit 94e0dcf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

es6.js

+5
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,10 @@ module.exports = {
1818
},
1919
env: {
2020
es6: true
21+
},
22+
parserOptions: {
23+
ecmaFeatures: {
24+
experimentalObjectRestSpread: true
25+
}
2126
}
2227
};

0 commit comments

Comments
 (0)