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

es-lint is failing to recognize ?? operator in workday-waiver.js #1010

Closed
araujoarthur0 opened this issue Oct 7, 2023 · 2 comments · Fixed by #1019
Closed

es-lint is failing to recognize ?? operator in workday-waiver.js #1010

araujoarthur0 opened this issue Oct 7, 2023 · 2 comments · Fixed by #1019
Labels
bug Something isn't working

Comments

@araujoarthur0
Copy link
Collaborator

.\GitHub\time-to-leave\src\workday-waiver.js
  369:93  error  Parsing error: Unexpected token ?

happens when running npm run lint-fix:eslint.

Its likely that the eslint package needs an update.

@araujoarthur0 araujoarthur0 added the bug Something isn't working label Oct 7, 2023
@gsriram24
Copy link
Contributor

Hi, I think changing the ecmaVersion in the eslint config should fix this issue. I have raised the PR for the same.

@araujoarthur0
Copy link
Collaborator Author

Thanks @gsriram24 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants