-
-
Notifications
You must be signed in to change notification settings - Fork 507
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
feat(lint): add rule noJsxPropsBind #4639
Conversation
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.
Some minor notes before you get too deep
/// | ||
pub NoBind { | ||
version: "next", | ||
name: "noBind", |
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 feel like we can come up with a better name than noBind
. At the very least, it should mention "Jsx" since this rule should only apply to Jsx.
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.
Oh, I see😅.
However, I've noticed that some existing JSX rules include "jsx" in their names while others do not. Maybe need to standardize "Jsx" naming convention.
Hey, is this ready for review? |
Sorry, I've been struggling to understand the infrastructure, and due to health issues, I am currently unable to dedicate time to the open-source project. I hope to contribute again in the future. |
No worries! |
Summary
Implement react/jsx-no-bind
closes #4637
Test Plan