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-dev): bump @eslint-react/eslint-plugin from 1.18.0 to 1.22.0 #241

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 23, 2024

Bumps @eslint-react/eslint-plugin from 1.18.0 to 1.22.0.

Release notes

Sourced from @​eslint-react/eslint-plugin's releases.

v1.22.0

What's Changed

🪄 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.

Full Changelog: rEl1cx/eslint-react@v1.21.0...v1.22.0

v1.21.0

What's Changed

✨ 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).
  • docs: document active rules, closes #830 by @​Rel1cx in Rel1cx/eslint-react#882
  • docs: add setup instructions and example to pure JS project, closes #844 by @​Rel1cx in Rel1cx/eslint-react#885

📝 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;
}

Full Changelog: rEl1cx/eslint-react@v1.20.1...v1.21.0

v1.20.1

... (truncated)

Changelog

Sourced from @​eslint-react/eslint-plugin's changelog.

v1.22.0 (Sun 22 Dec 2024)

🪄 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 (Fri 20 Dec 2024)

✨ 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;
}

v1.20.1 (Wed 18 Dec 2024)

🪄 Improvements

v1.20.0 (Mon 16 Dec 2024)

✨ New

... (truncated)

Commits
  • c55945e release: 1.22.0
  • 241bd4b release: 1.22.0-beta.2
  • 33d45a6 release: 1.22.0-next.2
  • 9066f3c release: 1.22.0-beta.1
  • 10b3590 release: 1.22.0-next.1
  • 2cd2fd1 release: 1.22.0-beta.0
  • 8f84993 release: 1.22.0-next.0
  • 1d1053a refactor(plugins/x): rename rules 'jsx-uses-vars' to 'use-jsx-vars' and 'jsx-...
  • 063f129 refactor: rename 'no-children-in-void-dom-elements' to 'no-void-eleme… (#888)
  • 8f44151 feat(local-plugin): add 'avoid-multiline-template-expression' rule and relate...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@eslint-react/eslint-plugin](https://github.com/Rel1cx/eslint-react/tree/HEAD/packages/plugins/eslint-plugin) from 1.18.0 to 1.22.0.
- [Release notes](https://github.com/Rel1cx/eslint-react/releases)
- [Changelog](https://github.com/Rel1cx/eslint-react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Rel1cx/eslint-react/commits/v1.22.0/packages/plugins/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@eslint-react/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from pauliesnug as a code owner December 23, 2024 00:22
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 23, 2024
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 javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants