-
Notifications
You must be signed in to change notification settings - Fork 127
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
Upgrade eslint-config-airbnb #12760
Upgrade eslint-config-airbnb #12760
Conversation
// "no-unused-vars": [ | ||
// 2, | ||
// { "args": "after-used", "argsIgnorePattern": "^_", "vars": "local" } | ||
// ], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are the errors that are preventing this rule from staying on?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -27,12 +27,12 @@ | |||
"rules": { | |||
/* || Eslint main rules || */ | |||
"camelcase": [2, { "properties": "always" }], // Override airbnb style. | |||
"func-names": 2, | |||
// "func-names": 2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This rule as well. Why are we changing it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added the current errors to each rule as a comment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I ran $ yarn lint:js
locally and came up with zero errors. I'll be interested to see how this evolves as rules are added back.
I'll be working on turning some of these on soon. I noticed there are some |
Description
This PR will upgrade
eslint-plugin-jsx-a11y
andeslint
to the latest versionThere are a lot of new rules and modifications to existing ones. They have been temporarily disabled until the update is complete.
Most of these rules will be evaluated and errors will be fixed before turn them on.
Testing done
Locally
Acceptance criteria
Definition of done