-
Notifications
You must be signed in to change notification settings - Fork 1
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
chore(rules)!: adds new rules missed in v31 #205
Conversation
plugins/typescript-semantics.js
Outdated
@@ -18,11 +18,17 @@ module.exports = { | |||
'no-return-await': 0, | |||
'no-throw-literal': 0, | |||
'require-await': 0, | |||
'key-spacing': 0, |
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.
[nit] please keep this alphabetically sorted
plugins/react.js
Outdated
@@ -19,6 +19,13 @@ module.exports = { | |||
} | |||
}, | |||
rules: { | |||
// enforces using semantic DOM elements over the ARIA role property. | |||
'jsx-a11y/prefer-tag-over-role': 0, |
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 is important to Garden and should be set to 2
error due to the first rule of ARIA
plugins/react.js
Outdated
@@ -118,7 +125,7 @@ module.exports = { | |||
// prevent JSX prop spreading | |||
'react/jsx-props-no-spreading': 0, | |||
// enforce default props alphabetical sorting | |||
'react/jsx-sort-default-props': 0, | |||
'react/sort-default-props': 0, |
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.
[nit] please cut/past to retain alphabetical sorting
plugins/typescript-semantics.js
Outdated
'@typescript-eslint/key-spacing': [2, { | ||
beforeColon: false, | ||
afterColon: true | ||
}], |
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.
'@typescript-eslint/key-spacing': [2, { | |
beforeColon: false, | |
afterColon: true | |
}], | |
'@typescript-eslint/key-spacing': stylisticIssues['key-spacing'], |
with stylisticIssues
require'd at top of file.
Fixed all the things: 27a2f72 I removed the other |
Thanks for updating the title. I also opened a bug against |
Description
Forgot a handful of rules from the last renovate update.
Detail