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

Option esversion doesn't work. #134

Open
MatixYo opened this issue Aug 10, 2016 · 1 comment
Open

Option esversion doesn't work. #134

MatixYo opened this issue Aug 10, 2016 · 1 comment

Comments

@MatixYo
Copy link

MatixYo commented Aug 10, 2016

I use ES6 features like const, let, arrow functions. Unfortunately JSHint hints them even although there's "esversion": 6 in .jshintrc settings.

Other JSHint options work, for example "node": true works.
Also a bit weird is that this package hints me with

(use 'esversion: {b}')

Why "{b}"?

@coilysiren
Copy link

I have the same problem. It works when I set /*jshint esversion: 6 */ inside the file itself, but not when I have "esversion": 6 inside my sublime config file

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

2 participants