Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 2, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@eslint-react/eslint-plugin (source) ^1.20.1 -> ^1.23.1 age adoption passing confidence

Release Notes

rEl1cx/eslint-react (@​eslint-react/eslint-plugin)

v1.23.1

Compare Source

🐞 Fixes
  • fix(plugins/x): fixed false positives in no-unstable-context-value and no-unstable-default-props by @​rEl1cx in #​896

v1.23.0

Compare Source

🪄 Improvements
  • refactor: JSX fragments related rules no longer rely on jsxPragma and jsxPragmaFrag settings to perform their checks by @​rEl1cx in #​893
  • refactor: improve applicability of the no-useless-fragment and prefer-shorthand-fragment rules
  • refactor: deprecate settings["react-x"].jsxPragma and settings["react-x"].jsxPragmaFrag as they are no longer needed by any rules
  • refactor: replace short-unique-id w/ uid by @​SukkaW in #​894
🐞 Fixes
  • fix(plugins/hooks-extra): fix call and new expression related false positives in no-unnecessary-use-memo and no-unnecessary-use-callback by @​rEl1cx in #​895

v1.22.2

Compare Source

🪄 Improvements
  • perf: re-implement no-duplicate-key rule to improve its performance @​rEl1cx in #​891 and 33ab3cc
  • refactor: prevent potential interference from TypeScript's as, satisfies, and non-null assertion operator in various rules

v1.22.1

Compare Source

🪄 Improvements
  • docs: add getting started guides for JavaScript, TypeScript, and JavaScript with Babel.
  • docs: improve code samples in rules docs.
  • docs: improve eslint.config.js examples in README.md, docs and the examples folder.
  • docs: improve the error message and description of various rules.
  • refactor(website): better website layout and navigation experience.
📝 Changes in examples

The eslint.config.js in the examples now uses tsconfig's includes and excludes as the SSoT glob patterns for ESLint's files and ignores fields.

This approach can fundamentally avoid the errors[1, 2, 3] caused by mismatched config scopes between tsconfig.json and eslint.config.js when using type-checked rules.

v1.22.0

Compare Source

🪄 Improvements
  • refactor(plugins/x): rename jsx-use-vars to use-jsx-vars.
  • refactor(plugins/x): rename jsx-no-duplicate-props to no-duplicate-jsx-props.
  • refactor(plugins/dom): rename no-children-in-void-dom-elements to no-void-elements-with-children.
📝 Changes you should be aware of

The following rules have been renamed:

  • jsx-uses-vars to use-jsx-vars.
  • jsx-no-duplicate-props to no-duplicate-jsx-props.
  • dom/no-children-in-void-dom-elements to dom/no-void-elements-with-children.

The new rule names are aligned with the same rules in the biomejs/rules-sources/#eslint-plugin-react (if any) to enhance consistency. The old rule names will still be available until the next major update to avoid breaking changes.

v1.21.0

Compare Source

✨ New
  • feat(plugins/hooks-extra): add no-useless-custom-hooks rule by @​rEl1cx
🪄 Improvements
  • refactor(plugins/hooks-extra): deprecate rule no-redundant-custom-hook in favor of no-useless-custom-hooks (the previous rule will still be available until the next major update to avoid breaking changes).
📝 Changes in Rule implementation

no-useless-custom-hooks now detects Hook calls within comments and the following code no longer triggers a warning:

// ✅ Good: A Hook that will likely use some other Hooks later
function useAuth() {
  // TODO: Replace with this line when authentication is implemented:
  // return useContext(Auth);
  return TEST_USER;
}

Configuration

📅 Schedule: Branch creation - "after 9pm,before 9am" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.


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

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

@netlify
Copy link

netlify bot commented Jan 2, 2025

Deploy Preview for donny-eslint-config ready!

Name Link
🔨 Latest commit 96feadf
🔍 Latest deploy log https://app.netlify.com/sites/donny-eslint-config/deploys/67771ae309e7bc0008f048d8
😎 Deploy Preview https://deploy-preview-519--donny-eslint-config.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@renovate renovate bot force-pushed the renovate/eslint-react-eslint-plugin-1.x branch from 0047a44 to e811069 Compare January 2, 2025 18:39
@renovate renovate bot changed the title chore(deps): update dependency @eslint-react/eslint-plugin to ^1.23.0 chore(deps): update dependency @eslint-react/eslint-plugin to ^1.23.1 Jan 2, 2025
@renovate renovate bot force-pushed the renovate/eslint-react-eslint-plugin-1.x branch from e811069 to 96feadf Compare January 2, 2025 23:01
@renovate renovate bot merged commit e2fa360 into main Jan 3, 2025
5 checks passed
@renovate renovate bot deleted the renovate/eslint-react-eslint-plugin-1.x branch January 3, 2025 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant