-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
pkg: fix fragments should contain more then one child #20254
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.
Hah, nice cleanup!
isInline={!!iface} | ||
onClick={syn_click(model, show)} | ||
variant={!iface ? "secondary" : "link"}> |
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.
Please fix the indentation.
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.
Seems this comes up too much :) I think we should really let eslint handle this better but that requires some starter-kit / podman work first :)
close={() => this.setState({ showRestartServicesDialog: false })} | ||
state={this.state.state} | ||
callTracer={(state) => this.callTracer(state)} | ||
onValueChanged={delta => this.setState(delta)} | ||
loadUpdates={this.loadUpdates} /> |
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.
Same here -- either the properties should align (prefered), or it should at least have a consistent 4-space indentation).
`oxlint` a Rust implementation of `eslint` finds more issues for the `jsx-no-useless-fragment` eslint react rule. The Rust implementation is not feature complete yet so we can't yet switch over.
af17048
to
e75bd6f
Compare
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.
Cheers!
<RestartServices | ||
tracerPackages={this.state.tracerPackages} |
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.
These 2 added lines are not executed by any test.
oxlint
a Rust implementation ofeslint
finds more issues for thejsx-no-useless-fragment
eslint react rule. The Rust implementation is not feature complete yet so we can't yet switch over.https://oxc-project.github.io/blog/2023-12-12-announcing-oxlint.html