-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
fix: exclude docs/ directory from eslint-plugin package #11251
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: exclude docs/ directory from eslint-plugin package #11251
Conversation
Thanks for the PR, @roottool! typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community. The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately. Thanks again! 🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint. |
✅ Deploy Preview for typescript-eslint ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
View your CI Pipeline Execution ↗ for commit b90bf9e.
☁️ Nx Cloud last updated this comment at |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Nice eagle eyes on the docs/rules/README.md
inclusion.
Looks like the yarn equivalent of this also includes I'm happy for us to omit explicit README and LICENSE from the |
Thank you for reviewing!
I decided not to omit them. I thought it was odd that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice spots all around!
As one of the maintainers on eslint-plugin-package-json
I'm hoping to eventually propose using its recommended sets here. Once they're stable. So I'd wager we might just get around to this after a while.
| datasource | package | from | to | | ---------- | -------------------------------- | ------ | ------ | | npm | @typescript-eslint/eslint-plugin | 8.32.1 | 8.33.1 | | npm | @typescript-eslint/parser | 8.32.1 | 8.33.1 | ## [v8.33.1](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8331-2025-06-02) ##### 🩹 Fixes - exclude docs/ directory from eslint-plugin package ([#11251](typescript-eslint/typescript-eslint#11251)) ##### ❤️ Thank You - roottool You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ## [v8.33.0](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8330-2025-05-26) This was a version bump only for eslint-plugin to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
PR Checklist
Overview
This PR excludes
docs/
directory from the published@typescript-eslint/eslint-plugin
package.I converted from
README.md
to./README.md
infiles
ofpackage.json
. This is because docs/rules/README.md is included in the eslint-plugin package afterdocs/
directory is excluded. I checked it withyarn pack --dry-run
.As an aside, I think that
README.md
infiles
can be deleted.README
is always included in thisfiles
config.