-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: use babel v7 #16
Conversation
@@ -12,7 +12,9 @@ | |||
"peerDependencies": { | |||
"eslint": ">=3.1.0" | |||
}, | |||
"dependencies": {}, | |||
"dependencies": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
woops this should be devDeps.
errors: ["Unexpected a rest property."], | ||
}, | ||
{ | ||
code: "let {a, ...{}} = obj", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a syntax error in the final spec. ObjectPattern
and ArrayPattern
cannot be after rest operator.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably worth just ditching the tests then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint's test runner cannot include test cases which include syntax errors. Those are failed always even if it's in invalid tests. So I merely removed those commented-out codes in the master branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mysticatea cool, I closed the PR
No description provided.