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

<options> in maven doesn't seem to support setting some default behaviors to false #62

Open
johnkharvey opened this issue Mar 19, 2015 · 0 comments

Comments

@johnkharvey
Copy link

There's a possibility a case where I'm using the tool wrong.
If that's the case, please let me know what I'm missing.

I want to run jshint, but only do a specific set of options. In short, I'd like to disable some of the defaults.
Now, I know that I can do that withjshint.conf.js, by setting certain options to false, and they'll be skipped. However, using is not ideal for me, as I have a bunch of maven sub-projects, and I don't really want to maintain multiple config File locations (which I'd have to do, as they're picked up by each sub-project's relative path).

So, instead, I'd prefer to use the tag.
Unfortunately, when I use it, some default options seem to be enabled by default, and I'm not quite sure how to disable them. I know that with the configFile option, I could modify jshint.conf.js appropriately by adding lines like:
"-W041": false,
But, I can't figure out how to do this using . I seem to be able to enable options, but not to disable options that are default behaviors. Is that supported? Or, do I need to resort to using the tag?

Thank you!

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

1 participant