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

fix(deps): update eslint (patch) #222

Merged
merged 1 commit into from
Jan 1, 2025
Merged

fix(deps): update eslint (patch) #222

merged 1 commit into from
Jan 1, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 1, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint (source) 8.57.0 -> 8.57.1 age adoption passing confidence
eslint-plugin-react 7.34.3 -> 7.34.4 age adoption passing confidence
eslint-plugin-react-refresh 0.4.7 -> 0.4.16 age adoption passing confidence
eslint-plugin-wc 2.1.0 -> 2.1.1 age adoption passing confidence

Release Notes

eslint/eslint (eslint)

v8.57.1

Compare Source

jsx-eslint/eslint-plugin-react (eslint-plugin-react)

v7.34.4

Compare Source

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

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)

v0.4.8

Compare Source

  • Support export const foo = -1 with allowConstantExport (fixes #​43)
43081j/eslint-plugin-wc (eslint-plugin-wc)

v2.1.1

Compare Source

What's Changed

New Contributors

Full Changelog: 43081j/eslint-plugin-wc@v2.1.0...2.1.1


Configuration

📅 Schedule: Branch creation - "on the 1st day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, 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.

@renovate renovate bot added the automerge Automatically merge pull request label Jan 1, 2025
Copy link
Contributor

kodiakhq bot commented Jan 1, 2025

This PR currently has a merge conflict. Please resolve this and then re-add the ['automerge'] label.

@kodiakhq kodiakhq bot removed the automerge Automatically merge pull request label Jan 1, 2025
@renovate renovate bot force-pushed the deps/patch-eslint branch from 8795876 to d8240cc Compare January 1, 2025 00:17
@kodiakhq kodiakhq bot merged commit e708c26 into main Jan 1, 2025
3 checks passed
@kodiakhq kodiakhq bot deleted the deps/patch-eslint branch January 1, 2025 00:17
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