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
{{ message }}
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
The @neutrinojs/airbnb and @neutrinojs/airbnb-base presets both enable some of eslint-plugin-babel's custom rules, and switch off the corresponding default rule.
However when they enable the replacement babel/* rule, it's done with hardcoded rule options that match the eslint defaults, which in some cases doesn't match when the airbnb guide was using.
Instead, I think we should be transferring the airbnb settings across, using something like so:
Previously the `babel/*` rules provided by `eslint-plugin-babel` were
being set to ESLint defaults, rather than inheriting what the `airbnb`,
`airbnb-base` or `standardjs` presets had set for the original rule
that they were replacing.
In addition, all missing `eslint-plugin-babel` rules have been added:
https://github.com/babel/eslint-plugin-babel#rulesFixes#881.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The
@neutrinojs/airbnb
and@neutrinojs/airbnb-base
presets both enable some of eslint-plugin-babel's custom rules, and switch off the corresponding default rule.However when they enable the replacement
babel/*
rule, it's done with hardcoded rule options that match the eslint defaults, which in some cases doesn't match when the airbnb guide was using.Instead, I think we should be transferring the airbnb settings across, using something like so:
The text was updated successfully, but these errors were encountered: