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

Option to ignore deprecated options #2625

Open
mindrones opened this issue Aug 18, 2015 · 1 comment
Open

Option to ignore deprecated options #2625

mindrones opened this issue Aug 18, 2015 · 1 comment

Comments

@mindrones
Copy link

I'm using both .jshintrc and .jscsrc so to separate concerns.

The problem is that sometimes just deleting a deprecated option in .jshintrc won't suffice because jshint is still using it with its default value, which might clash with the correspondent option I'm using in .jscsrc. For example jshint's default might be restrictive while I'm being permissive on the correspondent jscs's option in .jscsrc: in this case I get an error from jshint and I'm forced to add the deprecated option back in .jshintrc with a permissive value, which isn't what I'd like to do.

Is it possible to set jshint so to ignore its own deprecated options, i.e. using something like "ignoreDeprecated": true in .jshintrc?

@lukeapage lukeapage added this to the v3.0.0 milestone Sep 6, 2015
@lukeapage
Copy link
Member

We hope to remove these options in the next major which will fix your problem. I see how it is annoying!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants