Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 30, 2025

This PR contains the following updates:

Package Change Age Confidence
eslint-plugin-react-refresh 0.4.140.4.26 age confidence

Release Notes

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

v0.4.26

Compare Source

v0.4.25

Compare Source

  • Report cases like export const ENUM = Object.keys(TABLE) as EnumType[]; (fixes #​93)
  • Allow _ in component names (#​94)

v0.4.24

Compare Source

  • Add "generateImageMetadata", "generateSitemaps" & "generateStaticParams" to allowExportNames in Next config

v0.4.23

Compare Source

  • Add "metadata", "generateMetadata" & "generateViewport" to allowExportNames in Next config

v0.4.22

Compare Source

  • Add "viewport" to allowExportNames in Next config (#​89)

v0.4.21

Compare Source

  • Add Next config (fixes #​85)

This allows exports like fetchCache and revalidate which are used in Page or Layout components and don't trigger a full page reload.

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

export default [
  /* Main config */
  reactRefresh.configs.next,
];

v0.4.20

Compare Source

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

v0.4.19

Compare Source

Add name to configs for ESLint Config Inspector

v0.4.18

Compare Source

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

v0.4.17

Compare Source

  • 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

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 - "before 07:00 on Thursday" in timezone Europe/Oslo, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 force-pushed the renovate/eslint-plugin-react-refresh-0.x-lockfile branch from 0d48c3e to f6da47d Compare February 13, 2025 00:15
@renovate renovate bot changed the title Update dependency eslint-plugin-react-refresh to v0.4.18 Update dependency eslint-plugin-react-refresh to v0.4.19 Feb 13, 2025
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x-lockfile branch from f6da47d to b19c46d Compare April 26, 2025 11:46
@renovate renovate bot changed the title Update dependency eslint-plugin-react-refresh to v0.4.19 Update dependency eslint-plugin-react-refresh to v0.4.20 Apr 26, 2025
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x-lockfile branch 2 times, most recently from b5c4041 to da468f9 Compare August 15, 2025 23:47
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x-lockfile branch from da468f9 to 10dd863 Compare September 26, 2025 07:55
@renovate renovate bot changed the title Update dependency eslint-plugin-react-refresh to v0.4.20 Update dependency eslint-plugin-react-refresh to v0.4.21 Sep 26, 2025
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x-lockfile branch from 10dd863 to 9c6545d Compare September 29, 2025 11:05
@renovate renovate bot changed the title Update dependency eslint-plugin-react-refresh to v0.4.21 Update dependency eslint-plugin-react-refresh to v0.4.22 Sep 29, 2025
@renovate renovate bot changed the title Update dependency eslint-plugin-react-refresh to v0.4.22 chore(deps): update dependency eslint-plugin-react-refresh to v0.4.22 Sep 30, 2025
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x-lockfile branch from 9c6545d to 18b6690 Compare October 5, 2025 08:02
@renovate renovate bot changed the title chore(deps): update dependency eslint-plugin-react-refresh to v0.4.22 chore(deps): update dependency eslint-plugin-react-refresh to v0.4.23 Oct 5, 2025
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x-lockfile branch from 18b6690 to 4258599 Compare October 18, 2025 15:05
@renovate renovate bot changed the title chore(deps): update dependency eslint-plugin-react-refresh to v0.4.23 chore(deps): update dependency eslint-plugin-react-refresh to v0.4.24 Oct 18, 2025
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x-lockfile branch from 4258599 to 2f203a2 Compare October 25, 2025 20:12
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x-lockfile branch from 2f203a2 to eb6d146 Compare November 15, 2025 15:53
@renovate renovate bot changed the title chore(deps): update dependency eslint-plugin-react-refresh to v0.4.24 Update dependency eslint-plugin-react-refresh to v0.4.24 Nov 20, 2025
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x-lockfile branch from eb6d146 to 0bb18bb Compare December 4, 2025 22:33
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x-lockfile branch from 0bb18bb to 70ad9d2 Compare December 20, 2025 23:37
@renovate renovate bot changed the title Update dependency eslint-plugin-react-refresh to v0.4.24 Update dependency eslint-plugin-react-refresh to v0.4.26 Dec 20, 2025
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.

0 participants