-
-
Notifications
You must be signed in to change notification settings - Fork 292
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
nodeVersion: false
doesn't disable the related rules
#598
Comments
Pull request welcome. |
I can make a PR but I'm still not sure if it's the proper solution since IMHO it should be possible to override those rules only without overriding |
Ideally, yes, but it's complicated. Rule overrides can come from your package.json, but it can also come from a shareable config, and we override before all the config is resolved, so we cannot reliably check whether it's already set. Lines 309 to 313 in bc6e05d
|
It looks like this was not fixed in #761,
It did fix #613 though. cc @melusc |
Pretty sure Line 120 in b537b21
because |
Confirmed to be fixed in v0.59.2 |
I was trying to disable the following two rules:
but it doesn't have any effect. So then I saw that there's the
nodeVersion
option that could control this. I tried setting it tofalse
but it doesn't work either.A quick patch would be to change
xo/lib/options-manager.js
Line 205 in bc6e05d
But shouldn't it be possible to override the related rules?
The text was updated successfully, but these errors were encountered: