Skip to content

feat(prefer-presence-queries): Add autofix support #1020

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

Merged
merged 3 commits into from
Jun 5, 2025

Conversation

y-hsgw
Copy link
Contributor

@y-hsgw y-hsgw commented Jun 4, 2025

Checks

Changes

  • Make the rule fixable by adding a fixer
  • Update related documentation and test cases to reflect the fixable behavior

Context

Fixes #916

Copy link

codecov bot commented Jun 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.29%. Comparing base (26d360e) to head (dcb6fd0).
Report is 26 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1020      +/-   ##
==========================================
+ Coverage   96.27%   96.29%   +0.01%     
==========================================
  Files          46       47       +1     
  Lines        2472     2535      +63     
  Branches     1025     1047      +22     
==========================================
+ Hits         2380     2441      +61     
- Misses         92       94       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Belco90 Belco90 self-requested a review June 5, 2025 05:30
@Belco90 Belco90 added the enhancement New feature or request label Jun 5, 2025
Copy link
Member

@Belco90 Belco90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@y-hsgw you are on fire! Thanks for this one too!

@Belco90 Belco90 merged commit 4ab50a0 into testing-library:main Jun 5, 2025
31 checks passed
Copy link

github-actions bot commented Jun 5, 2025

🎉 This PR is included in version 7.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@y-hsgw y-hsgw deleted the pr/fix-prefer-presence-queries branch June 5, 2025 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make 'prefer-presence-queries' autofixable
2 participants