Skip to content
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

Optional chaining breaks linting #394

Closed
dev-bjoern opened this issue Aug 5, 2019 · 3 comments
Closed

Optional chaining breaks linting #394

dev-bjoern opened this issue Aug 5, 2019 · 3 comments

Comments

@dev-bjoern
Copy link

Optional chaining reached stage 3. Currently, using it breaks linting.

Any tipps on how to proceed?

@sindresorhus
Copy link
Member

ESLint, which XO uses, usually only implements stage 4 things, so you'll have to use the parser option with https://github.com/babel/babel-eslint.

@jonahsnider
Copy link
Contributor

Optional chaining has reached stage 4 and this issue is still occuring

@ryparker
Copy link

Example error: 23:17 Parsing error: Unexpected token .

Mind if we reopen this for traceability?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants