Skip to content

bump(deps): update eslint#237

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/eslint
Open

bump(deps): update eslint#237
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/eslint

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Dec 2, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-react-hooks (source) ^5.0.0 -> ^5.2.0 age adoption passing confidence
eslint-plugin-react-refresh ^0.4.14 -> ^0.4.19 age adoption passing confidence

Release Notes

facebook/react (eslint-plugin-react-hooks)

v5.2.0

Compare Source

v5.1.0

Compare Source

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

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 - 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 is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
ordit-sdk ✅ Ready (Inspect) Visit Preview Feb 28, 2025 6:15pm

@github-actions github-actions Bot added the kind/dependencies Pull requests that update a dependency file label Dec 2, 2024
@renovate renovate Bot changed the title bump(deps): update dependency eslint-plugin-react-refresh to ^0.4.15 bump(deps): update dependency eslint-plugin-react-refresh to ^0.4.16 Dec 2, 2024
@renovate renovate Bot force-pushed the renovate/eslint branch from 68d99fb to a464fd6 Compare December 2, 2024 13:12
@renovate renovate Bot changed the title bump(deps): update dependency eslint-plugin-react-refresh to ^0.4.16 bump(deps): update eslint Dec 5, 2024
@renovate renovate Bot force-pushed the renovate/eslint branch from a464fd6 to c3056c8 Compare December 5, 2024 20:13
@renovate renovate Bot force-pushed the renovate/eslint branch from c3056c8 to e2d7d69 Compare January 11, 2025 21:54
@renovate renovate Bot force-pushed the renovate/eslint branch from e2d7d69 to 3b4663d Compare January 27, 2025 09:18
@renovate renovate Bot force-pushed the renovate/eslint branch from 3b4663d to 5f163b6 Compare February 6, 2025 08:43
@renovate renovate Bot force-pushed the renovate/eslint branch from 5f163b6 to 407a765 Compare February 6, 2025 08:48
@renovate renovate Bot force-pushed the renovate/eslint branch from 407a765 to d9dff75 Compare February 6, 2025 13:54
@renovate renovate Bot force-pushed the renovate/eslint branch from d9dff75 to dff7648 Compare February 7, 2025 09:45
@renovate renovate Bot force-pushed the renovate/eslint branch from dff7648 to 3b94ae2 Compare February 9, 2025 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants