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: bump @eslint-react/eslint-plugin from 1.20.1 to 1.22.1 #6

Conversation

dependabot[bot]
Copy link

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

Bumps @eslint-react/eslint-plugin from 1.20.1 to 1.22.1.

Release notes

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

v1.22.1

What's Changed

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

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

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

... (truncated)

Changelog

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

v1.22.1 (Tue 24 Dec 2024)

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

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
</tr></table> 

... (truncated)

Commits
  • f63bcc8 release: 1.22.1
  • 6ef7168 chore: update typescript-eslint and related dependencies to version 8.18.2
  • cb971fa release: 1.22.1-beta.4
  • fc75263 release: 1.22.1-next.4
  • f89db48 docs: improve eslint plugins imports
  • 8e8392a release: 1.22.1-beta.3
  • a570a51 release: 1.22.1-next.3
  • b8e418d docs: minor improvements
  • 8c4937e release: 1.22.1-beta.2
  • ea66016 release: 1.22.1-next.2
  • 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.20.1 to 1.22.1.
- [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.1/packages/plugins/eslint-plugin)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 24, 2024
Copy link
Author

dependabot bot commented on behalf of github Dec 30, 2024

Superseded by #12.

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