We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Use the nullish coalescing operator ?? in a file and try to lint it.
??
Minimal repro:
let x = undefined ?? "";
The linter reported a generic syntax error.
No error.
The linter reports the error as occurring at line 1, col 1 despite the error being caused by the operator.
The text was updated successfully, but these errors were encountered:
Duplicate of #2978
Sorry, something went wrong.
Sorry, edited the wrong issue. Still related though: this error is because the new syntax is not yet supported by eslint.
This is probably fixed by #3161
No branches or pull requests
Describe the problem and steps to reproduce it:
Use the nullish coalescing operator
??
in a file and try to lint it.Minimal repro:
What happened?
The linter reported a generic syntax error.
What did you expect to happen?
No error.
Anything else we should know?
The linter reports the error as occurring at line 1, col 1 despite the error being caused by the operator.
The text was updated successfully, but these errors were encountered: