This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
ERROR: Parsing Error: The keyword 'const' is reserved #14960
Comments
Add |
Thanks, that worked! And sorry for the late reply! |
No, it's because its not defined anywhere jslint can see, add |
Aha, now it worked! Thanks for your help! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Prerequisites
Debug -> Reload Without Extensions
?Description
I've started a new project only containing three files, HTML, CSS and JS. HTML works fine, CSS works fine, but I just can't get the JavaScript to work. I've only written
I then get three JSLint Errors and one ESLint Errors:
Apparently Brackets does not support ES6. Since I have never worked with JSLint, I have absolutely no idea what to do.
Is there a global fix that works for new projects as well?
Steps to Reproduce
Expected behavior: Accept ES6 code
Actual behavior: Outputing warnings and an error.
Versions
I'm running Brackets Release 1.14 build 1.14.0-17740 (release 329d08f) on Windows 10
The text was updated successfully, but these errors were encountered: