Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Mar 16, 2024

This PR contains the following updates:

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

Release Notes

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

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.

v0.4.14

Compare Source

v0.4.13

Compare Source

v0.4.12

Compare Source

  • Support type assertion on default export (fixes #​48)
  • Add default export to fix usage with jiti (fixes #​50)

v0.4.11

Compare Source

  • Ignore type exports (ex. export type foo = string;) (fixes #​47)

v0.4.10

Compare Source

  • Support function Foo() {}; export default React.memo(Foo) (#​46) (thanks @​SukkaW!)

v0.4.9

Compare Source

  • Support function Foo() {}; export default memo(Foo) (fixes #​44) (thanks @​SukkaW!)

v0.4.8

Compare Source

  • Support export const foo = -1 with allowConstantExport (fixes #​43)

v0.4.7

Compare Source

  • Support export { Component as default } (fixes #​41)

v0.4.6

Compare Source

  • Ignore cypress test files (#​39)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 branch from 762931f to aad2933 Compare May 12, 2024 12:17
@renovate renovate bot changed the title Renovate Update dependency eslint-plugin-react-refresh to v0.4.6 Renovate Update dependency eslint-plugin-react-refresh to v0.4.7 May 12, 2024
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from aad2933 to a30bca9 Compare July 13, 2024 01:45
@renovate renovate bot changed the title Renovate Update dependency eslint-plugin-react-refresh to v0.4.7 Renovate Update dependency eslint-plugin-react-refresh to v0.4.8 Jul 13, 2024
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from a30bca9 to 69da5a4 Compare July 24, 2024 18:34
@renovate renovate bot changed the title Renovate Update dependency eslint-plugin-react-refresh to v0.4.8 Renovate Update dependency eslint-plugin-react-refresh to v0.4.9 Jul 24, 2024
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from 69da5a4 to 6cad004 Compare August 23, 2024 21:48
@renovate renovate bot changed the title Renovate Update dependency eslint-plugin-react-refresh to v0.4.9 Renovate Update dependency eslint-plugin-react-refresh to v0.4.10 Aug 23, 2024
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from 6cad004 to a073c8e Compare August 25, 2024 14:11
@renovate renovate bot changed the title Renovate Update dependency eslint-plugin-react-refresh to v0.4.10 Renovate Update dependency eslint-plugin-react-refresh to v0.4.11 Aug 25, 2024
@renovate renovate bot changed the title Renovate Update dependency eslint-plugin-react-refresh to v0.4.11 Renovate Update dependency eslint-plugin-react-refresh to v0.4.12 Sep 17, 2024
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from a073c8e to 162b94e Compare September 17, 2024 10:55
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from 162b94e to 68b9c2e Compare October 23, 2024 00:21
@renovate renovate bot changed the title Renovate Update dependency eslint-plugin-react-refresh to v0.4.12 Renovate Update dependency eslint-plugin-react-refresh to v0.4.13 Oct 23, 2024
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from 68b9c2e to a54360e Compare October 27, 2024 18:29
@renovate renovate bot changed the title Renovate Update dependency eslint-plugin-react-refresh to v0.4.13 Renovate Update dependency eslint-plugin-react-refresh to v0.4.14 Oct 27, 2024
@renovate renovate bot changed the title Renovate Update dependency eslint-plugin-react-refresh to v0.4.14 Renovate Update dependency eslint-plugin-react-refresh to v0.4.16 Dec 5, 2024
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from a54360e to 3537140 Compare December 5, 2024 11:40
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from 3537140 to 3278859 Compare January 14, 2025 21:00
@renovate renovate bot changed the title Renovate Update dependency eslint-plugin-react-refresh to v0.4.16 Renovate Update dependency eslint-plugin-react-refresh to v0.4.17 Jan 14, 2025
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from 3278859 to 8d51051 Compare January 15, 2025 02:14
@renovate renovate bot changed the title Renovate Update dependency eslint-plugin-react-refresh to v0.4.17 Renovate Update dependency eslint-plugin-react-refresh to v0.4.18 Jan 15, 2025
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from 8d51051 to 6037bb4 Compare February 12, 2025 01:49
@renovate renovate bot changed the title Renovate Update dependency eslint-plugin-react-refresh to v0.4.18 Renovate Update dependency eslint-plugin-react-refresh to v0.4.19 Feb 12, 2025
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from 6037bb4 to bced325 Compare April 24, 2025 23:57
@renovate renovate bot changed the title Renovate Update dependency eslint-plugin-react-refresh to v0.4.19 Renovate Update dependency eslint-plugin-react-refresh to v0.4.20 Apr 24, 2025
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from bced325 to 50042b9 Compare September 26, 2025 02:47
@renovate renovate bot changed the title Renovate Update dependency eslint-plugin-react-refresh to v0.4.20 Renovate 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 branch from 50042b9 to b483942 Compare September 28, 2025 17:29
@renovate renovate bot changed the title Renovate Update dependency eslint-plugin-react-refresh to v0.4.21 Renovate Update dependency eslint-plugin-react-refresh to v0.4.22 Sep 28, 2025
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from b483942 to 365adc0 Compare October 5, 2025 01:09
@renovate renovate bot changed the title Renovate Update dependency eslint-plugin-react-refresh to v0.4.22 Renovate 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 branch from 365adc0 to 513b479 Compare October 18, 2025 09:59
@renovate renovate bot changed the title Renovate Update dependency eslint-plugin-react-refresh to v0.4.23 Renovate Update dependency eslint-plugin-react-refresh to v0.4.24 Oct 18, 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.

1 participant