Closed liby closed 3 weeks ago
@liby is attempting to deploy a commit to the Rel1cx's projects Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
eslint-react | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 25, 2024 8:00am |
Sorry, due to my negligence, I forgot to import Fragment
in the example, which caused the code highlighting not to work.
How do we generally tend to solve this issue?
main
branch), and I will resubmit this PR after fixing itIn addition, I found that after merging, you used my PR title as the commit message instead of following the conventional commit message format.
What kind of change does this PR introduce?
Does this PR introduce a breaking change?
Checklist
fix: remove a typo, closes #___, #___
)Other information
This pull request updates the documentation to reflect the changes in the
no-useless-fragment
rule. The rule previously had anallowExpressions
option, which controlled whether single expressions in a fragment were allowed. This option has been removed, and the rule now always allows single expressions in a fragment.Motivation
allowExpressions
option was not reflected in the documentation, potentially causing confusion for users transitioning fromeslint-plugin-react
to@eslint-react
.no-useless-fragment
rule.