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

chore(deps): update dependency eslint-plugin-react-refresh to v0.4.16 #4202

Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 7, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-react-refresh 0.4.14 -> 0.4.16 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

ArnaudBarre/eslint-plugin-react-refresh (eslint-plugin-react-refresh)

v0.4.16

Compare Source

Fix CJS/ESM interop issue. Sorry everyone for the trouble.

v0.4.15

Compare Source

Add support for custom HOCs (#​60)

By default, the rule only knows that memo & forwardRef function calls with return a React component. With this option, you can also allow extra function names like Mobx observer to make this code valid:

const Foo = () => <></>;
export default observer(Foo);
{
  "react-refresh/only-export-components": [
    "error",
    { "customHOCs": ["observer"] }
  ]
}

Thanks @​HorusGoul!

Add recommended config and simple types (#​67)

You can now add the recommended config to your ESLint config like this:

import reactRefresh from "eslint-plugin-react-refresh";

export default [
  /* Main config */
  reactRefresh.configs.recommended, // Or reactRefresh.configs.vite for Vite users
];

To follow ESLint recommandations, the rule is added with the error severity.

Some simple types ensure that people typecheking their config won't need @ts-expect-error anymore.

Bump ESLint peer dependency to 8.40

This was actually done by mistake in the previous release when moving from a deprecated API to a new one.

Given that ESLint 8 is officialy end-of-life and the only report (#​56) didn't get likes, I'm going forward and documenting the expected minimum version from ESLin in the package JSON so that people can get warning from their package manager.


Configuration

📅 Schedule: Branch creation - "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner December 7, 2024 18:47
@renovate renovate bot requested review from morganleroi and millotp and removed request for a team December 7, 2024 18:47
@algolia-bot
Copy link
Collaborator

algolia-bot commented Dec 7, 2024

✔️ Code generated!

Name Link
🪓 Triggered by 051d469e5a561ddfafa922ba86bf5cf508478467
🍃 Generated commit d6591d3b32e119c49099ad206e4b3316364079d0
🌲 Generated branch generated/renovate/eslint-plugin-react-refresh-0.x
📊 Benchmark results

Benchmarks performed on the method using a mock server, the results might not reflect the real-world performance.

Language Req/s
go 1683
javascript 1615
php 1484
csharp 1345
java 1132
python 1073
ruby 905
swift 762

@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from 10e3f3d to ceb55cf Compare December 7, 2024 19:17
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from ceb55cf to d17ad4f Compare December 7, 2024 19:45
@renovate renovate bot merged commit d412dec into chore/renovateBaseBranch Dec 7, 2024
28 checks passed
@renovate renovate bot deleted the renovate/eslint-plugin-react-refresh-0.x branch December 7, 2024 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant