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
From eslint/eslint#1805
Maybe a bug with ES 6 block bindings?
$ eslint -v v0.14.1 $ eslint -c .eslintrc test.js test.js 4:7 error Unexpected token const ✖ 1 problem (1 error, 0 warnings) $ cat test.js function fn(foo) { switch (foo) { case "foo": const bar = "bar"; break; } } $ cat .eslintrc env: browser: true, node: true ecmaFeatures: blockBindings: true
Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered:
Related: jquery/esprima#1070
Sorry, something went wrong.
Working on this.
457de85
Merge pull request #63 from eslint/issue54
d328131
Fix: Allow let/const in switchcase (fixes #54)
🎸
No branches or pull requests
From eslint/eslint#1805
Maybe a bug with ES 6 block bindings?
Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: