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

Creating .settings/com.eclipsesource.jshint.ui.prefs should enable JSHint #79

Closed
davidparsson opened this issue Feb 11, 2014 · 2 comments

Comments

@davidparsson
Copy link

We're using a script to set up our development environment. That script creates Eclipse configurations for plugins, including JSHint in .settings/com.eclipsesource.jshint.ui.prefs.

Our prefs file looks like this:

eclipse.preferences.version=1
included=test//*.js\:src//*.js
projectSpecificOptions=true

However, for JSHint to be enabled, a developer must still open the JSHint preferences for each project, modify something in the JSHint settings and save.

Is that a bug, or are we missing something?

@ralfstx
Copy link
Member

ralfstx commented Feb 11, 2014

Saving the settings will add the builder com.eclipsesource.jshint.ui.builder to the .project file. If the builder is missing, the JSHint validator will not run. This issue is related to #29.

@ralfstx ralfstx closed this as completed Feb 11, 2014
@davidparsson
Copy link
Author

Thanks, you're right. That resolved it.

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