Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps @eslint-react/eslint-plugin from 1.15.2 to 1.21.0.

Release notes

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

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 hooks-extra/no-redundant-custom-hook in favor of hooks-extra/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

What's Changed

🪄 Improvements

Full Changelog: Rel1cx/eslint-react@v1.20.0...v1.20.1

v1.20.0

What's Changed

✨ New

🪄 Improvements

... (truncated)

Changelog

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

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 hooks-extra/no-redundant-custom-hook in favor of hooks-extra/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

🪄 Improvements

New Contributors

v1.19.0 (Tue 10 Dec 2024)

✨ New

... (truncated)

Commits
  • 4cccae1 release: 1.21.0
  • 5e8a40f release: 1.21.0-beta.1
  • 3a5cb35 release: 1.21.0-next.1
  • b683a16 release: 1.21.0-beta.0
  • 6494165 release: 1.21.0-next.0
  • 7ce9557 refactor: deprecate 'no-redundant-custom-hook' in favor of 'no-useles… (#886)
  • c7e8527 release: 1.20.2-next.7
  • 8972096 docs: update installation links to point to getting started guide
  • 0323e7e docs: update readme
  • 2b1e253 release: 1.20.2-next.6
  • 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.15.2 to 1.21.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.21.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] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 20, 2024
@vercel
Copy link

vercel bot commented Dec 20, 2024

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

Name Status Preview Updated (UTC)
kanojo ✅ Ready (Inspect) Visit Preview Dec 20, 2024 1:22pm

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 23, 2024

Superseded by #150.

@dependabot dependabot bot closed this Dec 23, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/eslint-react/eslint-plugin-1.21.0 branch December 23, 2024 12:56
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.

0 participants