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

Misformatted .jshintrc should produce some visible error #60

Open
muszek opened this issue Jan 7, 2014 · 2 comments
Open

Misformatted .jshintrc should produce some visible error #60

muszek opened this issue Jan 7, 2014 · 2 comments

Comments

@muszek
Copy link

muszek commented Jan 7, 2014

It looks like it uses some default values if there's an error (but the user has no idea). For example, I've had a trailing comma in the globals object:

"globals": {
"_": true,
},
"smarttabs": true,
...
The plugin misbehaved, it jshinted my code as if smarttabs was set to false.

@victorporof
Copy link
Owner

Would a simple message outputted to the console be sufficient in your opinion? I'm afraid this can be easily missed though, and modal popups are super annoying.

@muszek
Copy link
Author

muszek commented Jan 17, 2014

They are annoying only when you have to deal with them too often. I'm afraid this might be the case, though (for example I'm unsuccessfully trying to fix the config file (don't really know what the problem is) and every time I save, I have to close the popup.

Maybe there's another hard-to-miss way? Like marking an error every single javascript line. This way I can't miss it and I don't have to do anything to dismiss the error message.

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