Skip to content
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

[New] Add suggestions to no-unescaped-entities #3831

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

StyleShit
Copy link
Contributor

Closes #3277

Copy link

codecov bot commented Sep 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.67%. Comparing base (59ef14c) to head (39a7a8f).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3831      +/-   ##
==========================================
- Coverage   97.73%   97.67%   -0.06%     
==========================================
  Files         133      136       +3     
  Lines        9917     9938      +21     
  Branches     3678     3679       +1     
==========================================
+ Hits         9692     9707      +15     
- Misses        225      231       +6     
Flag Coverage Δ
97.67% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ljharb
Copy link
Member

ljharb commented Sep 24, 2024

Looks pretty good, please mark ready for review once tests are passing :-)

@StyleShit
Copy link
Contributor Author

StyleShit commented Sep 24, 2024

@ljharb Thanks! 🙏

I have some issues running the tests locally
Well, actually they run, but don't fail (as opposed to the CI), so I'm kinda writing them blindly and hoping the CI will pass 😞

Any help here would be greatly appreciated!

@ljharb
Copy link
Member

ljharb commented Sep 24, 2024

You'll need to run the same commands the CI workflow is using to ensure the right versions of deps are installed; in this case i think it's that there's a lot of test cases that need to have suggestions added.

@StyleShit
Copy link
Contributor Author

Oh, that makes sense. Will try it, thanks!

@StyleShit StyleShit marked this pull request as ready for review September 25, 2024 17:14
@ljharb ljharb force-pushed the feat/3277-no-unescaped-entities branch from 4d9d249 to 95297ed Compare September 25, 2024 22:49
Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good

@ljharb ljharb merged commit 95297ed into jsx-eslint:master Sep 26, 2024
377 of 378 checks passed
renovate bot added a commit to mmkal/eslint-plugin-mmkal that referenced this pull request Sep 27, 2024
##### [v7.37.0](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7370---20240926)

##### Added

-   add type generation ([#3830][] [@voxpelli](https://github.com/voxpelli))
-   \[`no-unescaped-entities`]: add suggestions ([#3831][] [@StyleShit](https://github.com/StyleShit))
-   \[`forbid-component-props`]: add `allowedForPatterns`/`disallowedForPatterns` options ([#3805][] [@Efimenko](https://github.com/Efimenko))
-   \[`no-unstable-nested-components`]: add `propNamePattern` to support custom render prop naming conventions ([#3826][] [@danreeves](https://github.com/danreeves))

##### Changed

-   \[readme] flat config example for react 17+ ([#3824][] [@GabenGar](https://github.com/GabenGar))

[7.36.2]: jsx-eslint/eslint-plugin-react@v7.36.1...v7.36.2

[#3831]: jsx-eslint/eslint-plugin-react#3831

[#3830]: jsx-eslint/eslint-plugin-react#3830

[#3826]: jsx-eslint/eslint-plugin-react#3826

[#3824]: jsx-eslint/eslint-plugin-react#3824

[#3805]: jsx-eslint/eslint-plugin-react#3805
devjiwonchoi added a commit to vercel/next.js that referenced this pull request Nov 13, 2024
### Why?

Following up on #72752, the ESLint
fix suggestion for `react/no-unescaped-entities` rule was added at
jsx-eslint/eslint-plugin-react#3831, released on
[v7.37.0](https://github.com/jsx-eslint/eslint-plugin-react/releases/tag/v7.37.0).
Therefore, we bump the `eslint-plugin-react` version to `^7.37.0`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

[FEATURE] Add suggestions for no-unescaped-entities
2 participants