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.18 #340

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

svc-secops
Copy link
Contributor

@svc-secops svc-secops commented May 16, 2024

This PR contains the following updates:

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

Release Notes

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

v0.4.18

Compare Source

ESM/CJS interop is the worth that happend 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)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 8am and before 4pm on tuesday" in timezone Etc/UTC.

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

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.


This PR has been generated by Renovate Bot.

@svc-secops svc-secops requested a review from a team as a code owner May 16, 2024 13:42
@svc-secops svc-secops added the dependencies Pull requests that update a dependency file label May 16, 2024
@svc-secops svc-secops force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from f5056ab to 2649622 Compare July 13, 2024 12:31
@svc-secops svc-secops changed the title chore(deps): update dependency eslint-plugin-react-refresh to v0.4.7 chore(deps): update dependency eslint-plugin-react-refresh to v0.4.8 Jul 13, 2024
@svc-secops svc-secops force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from 2649622 to 6350fd2 Compare July 17, 2024 11:40
@svc-secops svc-secops force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from 6350fd2 to 1ca14a8 Compare July 25, 2024 11:21
@svc-secops svc-secops changed the title chore(deps): update dependency eslint-plugin-react-refresh to v0.4.8 chore(deps): update dependency eslint-plugin-react-refresh to v0.4.9 Jul 25, 2024
@svc-secops svc-secops force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from 1ca14a8 to 9193840 Compare August 14, 2024 12:17
@svc-secops svc-secops force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from 9193840 to ab50971 Compare August 24, 2024 11:07
@svc-secops svc-secops changed the title chore(deps): update dependency eslint-plugin-react-refresh to v0.4.9 chore(deps): update dependency eslint-plugin-react-refresh to v0.4.10 Aug 24, 2024
@svc-secops svc-secops force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from ab50971 to d51659f Compare August 25, 2024 11:02
@svc-secops svc-secops changed the title chore(deps): update dependency eslint-plugin-react-refresh to v0.4.10 chore(deps): update dependency eslint-plugin-react-refresh to v0.4.11 Aug 25, 2024
@svc-secops svc-secops force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from d51659f to ab5cd82 Compare September 17, 2024 11:03
@svc-secops svc-secops changed the title chore(deps): update dependency eslint-plugin-react-refresh to v0.4.11 chore(deps): update dependency eslint-plugin-react-refresh to v0.4.12 Sep 17, 2024
@svc-secops svc-secops force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from ab5cd82 to d739efd Compare October 23, 2024 11:20
@svc-secops svc-secops changed the title chore(deps): update dependency eslint-plugin-react-refresh to v0.4.12 chore(deps): update dependency eslint-plugin-react-refresh to v0.4.13 Oct 23, 2024
@svc-secops svc-secops force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from d739efd to d45d3fe Compare October 28, 2024 12:59
@svc-secops svc-secops changed the title chore(deps): update dependency eslint-plugin-react-refresh to v0.4.13 chore(deps): update dependency eslint-plugin-react-refresh to v0.4.14 Oct 28, 2024
@svc-secops svc-secops force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from d45d3fe to dcf5764 Compare December 5, 2024 14:22
@svc-secops svc-secops changed the title chore(deps): update dependency eslint-plugin-react-refresh to v0.4.14 chore(deps): update dependency eslint-plugin-react-refresh to v0.4.16 Dec 5, 2024
@svc-secops svc-secops force-pushed the renovate/eslint-plugin-react-refresh-0.x branch from dcf5764 to 6deceb7 Compare January 15, 2025 12:10
@svc-secops svc-secops changed the title chore(deps): update dependency eslint-plugin-react-refresh to v0.4.16 chore(deps): update dependency eslint-plugin-react-refresh to v0.4.18 Jan 15, 2025
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant