Skip to content

Bump eslint-plugin-react-refresh from 0.4.14 to 0.4.20 #725

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

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 28, 2025

Bumps eslint-plugin-react-refresh from 0.4.14 to 0.4.20.

Release notes

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

v0.4.20

  • Don't warn on nested HOC calls (fixes #79)
  • Fix false positive with as const (fixes #80)

v0.4.19

Add name to configs for ESLint Config Inspector

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
];

... (truncated)

Changelog

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

0.4.20

  • Don't warn on nested HOC calls (fixes #79)
  • Fix false positive with as const (fixes #80)

0.4.19

Add name to configs for ESLint Config Inspector

0.4.18

ESM/CJS interop is the worse that happened 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";
</tr></table> 

... (truncated)

Commits
  • 4ddbb1f Don't warn on nested HOC calls [publish]
  • b7efe8d Bump deps
  • 3b5b600 Fix false positive with as const (fixes #80)
  • ee193a1 Fix your -> you're typo (#78)
  • b054ab4 0.4.19 [publish]
  • f36623b fix: added name attribute for eslint config inspector (#77)
  • 826d8c9 Create SECURITY.md
  • 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...
  • 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)

Bumps [eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh) from 0.4.14 to 0.4.20.
- [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.14...v0.4.20)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 28, 2025
@arifszn arifszn merged commit 5fc7455 into main Apr 29, 2025
1 check passed
@arifszn arifszn deleted the dependabot/npm_and_yarn/eslint-plugin-react-refresh-0.4.20 branch April 29, 2025 16:34
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 javascript Pull requests that update javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant