-
Notifications
You must be signed in to change notification settings - Fork 26.6k
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
latest version of eslint-config-airbnb is not compatible with eslint 7.3.0 #2245
Comments
yes! here's a build failing as you describe |
I wonder if it has to do with the fact that when you JSON stringify |
Looks like this is due to an eslint bug: eslint/eslint#13427 I'd suggest downgrading to eslint v7.2 for now. |
v7.2 works as expected. thanks! |
Pin eslint to version 7.2.0 to avoid this bug: airbnb/javascript#2245
Fixed by ESLint 7.3.1 eslint/eslint#13435 |
This comment has been minimized.
This comment has been minimized.
No, they reverted the original config cloning change, not the band-aid hack in v7.3.1. v7.4.0 restores the pre-v7.3.0 behavior, so things should work just fine here. |
when using latest version of eslint with latest version of eslint-config-airbnb is throwing the following error:
It seems that when parsing the rule configuration, eslint now receives:
Removing
maxDepth
from this line fixes the issue.The text was updated successfully, but these errors were encountered: