Rel1cx / eslint-react

A series of composable ESLint rules for libraries and frameworks that use React as a UI runtime.
https://eslint-react.xyz
MIT License
156 stars 6 forks source link

Update Documentation for `no-useless-fragment` Rule #596

Closed liby closed 3 weeks ago

liby commented 3 weeks ago

What kind of change does this PR introduce?

Does this PR introduce a breaking change?

Checklist

Other information

This pull request updates the documentation to reflect the changes in the no-useless-fragment rule. The rule previously had an allowExpressions 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

vercel[bot] commented 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.

vercel[bot] commented 3 weeks ago

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
liby commented 3 weeks ago

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?

  1. I submit an additional fix PR
  2. Revert this PR (or force push overwrite on the main branch), and I will resubmit this PR after fixing it
  3. Other
image

In addition, I found that after merging, you used my PR title as the commit message instead of following the conventional commit message format.

image