You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: