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-dev): bump eslint-plugin-react-refresh from 0.4.7 to 0.4.18 #5597

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 27, 2025

Bumps eslint-plugin-react-refresh from 0.4.7 to 0.4.18.

Release notes

Sourced from eslint-plugin-react-refresh's releases.

v0.4.18

ESM/CJS interop is the worse that happened to this ecosystem, this is all I have to say.

v0.4.17

  • Fix detection of local components to not generate warning on for variable inside JSX files that follow React component naming (fixes #75)
  • Update types to not require extra unnecessary .default property access under TS node16 module resolution (fixes #70)

v0.4.16

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

v0.4.15

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

... (truncated)

Changelog

Sourced from eslint-plugin-react-refresh's changelog.

0.4.18

ESM/CJS interop is the worth that happend to this ecosystem, this is all I have to say.

0.4.17

  • Fix detection of local components to not generate warning on for variable inside JSX files that follow React component naming (fixes #75)
  • Update types to not require extra unnecessary .default property access under TS node16 module resolution (fixes #70)

0.4.16

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

0.4.15

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.

... (truncated)

Commits
  • 3d6251d Fix types [publish]
  • 47f25f0 Update types to not require extra unnecessary .default property access unde...
  • 639e772 Fix detection of local components to not generate warning on for variable ins...
  • d939cc4 Fix exports [publish]
  • 7d1709b 0.4.15 [publish]
  • ec747c2 Add configs and simple types (#67)
  • 359ae21 Bump ESLint peer dependency (fixes #56)
  • 86bddb3 Add changelog entry & simplify legacy name based only check
  • 478e778 Add basic support for custom HOCs (#60)
  • 94c9d7d docs: switch suggested severity from 'warn' to 'error' (#66)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 27, 2025
@dependabot dependabot bot requested a review from a team as a code owner January 27, 2025 02:40
@dependabot dependabot bot added the skip changeset This change does not need a changelog label Jan 27, 2025
@dependabot dependabot bot requested a review from iansan5653 January 27, 2025 02:40
Copy link

changeset-bot bot commented Jan 27, 2025

⚠️ No Changeset found

Latest commit: 2b7a3b9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot temporarily deployed to storybook-preview-5597 January 27, 2025 02:42 Inactive
@joshblack joshblack enabled auto-merge January 27, 2025 16:25
Bumps [eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh) from 0.4.7 to 0.4.18.
- [Release notes](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases)
- [Changelog](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/main/CHANGELOG.md)
- [Commits](ArnaudBarre/eslint-plugin-react-refresh@v0.4.7...v0.4.18)

---
updated-dependencies:
- dependency-name: eslint-plugin-react-refresh
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/eslint-plugin-react-refresh-0.4.18 branch from 8b5102d to 2b7a3b9 Compare January 27, 2025 16:35
@joshblack joshblack added this pull request to the merge queue Jan 27, 2025
Merged via the queue into main with commit 7c5104d Jan 27, 2025
40 of 41 checks passed
@joshblack joshblack deleted the dependabot/npm_and_yarn/eslint-plugin-react-refresh-0.4.18 branch January 27, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file skip changeset This change does not need a changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant