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

Unwanted "redeclaring const" warnings #114

Open
JoannesJ opened this issue Sep 9, 2015 · 1 comment
Open

Unwanted "redeclaring const" warnings #114

JoannesJ opened this issue Sep 9, 2015 · 1 comment

Comments

@JoannesJ
Copy link

JoannesJ commented Sep 9, 2015

This plugin is giving me different warnings from what the actual JSHint CLI is giving me.
Even though I have removed all default JSHint config options for the plugin.
Specifically, I'm getting "redeclaring const" warnings where there should be none.

Example:

{ const num = 6; }
{ const num = 7; }
@victorporof
Copy link
Owner

Can you try again now that jshint was updated to 2.9.1? Please also verify that the options passed in by the plugin don't affect the result you'd want to see (check out "Linting Preferences").

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