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

fix(no-redundant-files): detect variations of README.md as redundant #765

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

michaelfaith
Copy link
Collaborator

@michaelfaith michaelfaith commented Jan 23, 2025

PR Checklist

Overview

This change detects additional variations of README and LICENSE files. Apparently, npm will include any README followed by any extension (e.g. README.fi.md)

Closes #763

Copy link

codecov bot commented Jan 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.81%. Comparing base (6bc31c3) to head (90aa922).
Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #765      +/-   ##
==========================================
+ Coverage   97.67%   97.81%   +0.13%     
==========================================
  Files          18       19       +1     
  Lines        1077     1142      +65     
  Branches      133      140       +7     
==========================================
+ Hits         1052     1117      +65     
  Misses         25       25              

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

@michaelfaith
Copy link
Collaborator Author

So weird that cspell doesn't ignore regex's

This change detects additional variations of README and LICENSE files.  Apparently npm will include any README followed by any extension (e.g. README.fi.md)
Copy link
Owner

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

💯

@JoshuaKGoldberg JoshuaKGoldberg merged commit 7453095 into main Jan 24, 2025
13 checks passed
@JoshuaKGoldberg JoshuaKGoldberg deleted the fix/readmes branch January 24, 2025 00:04
Copy link

🎉 This is included in version v0.21.1 🎉

The release is available on:

Cheers! 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 Bug: Fail to identify README.zh-CN.md file for no-redundant-files rule
2 participants