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

feat: export plugin metadata #8331

Merged
merged 3 commits into from
Feb 3, 2024
Merged

feat: export plugin metadata #8331

merged 3 commits into from
Feb 3, 2024

Conversation

bradzacher
Copy link
Member

@bradzacher bradzacher commented Feb 1, 2024

Overview

Splitting out of #7935 to focus that PR and reduce its line count.

Adds plugin metadata which is a requirement for flat config files.
https://eslint.org/docs/latest/extend/plugin-migration-flat-config#adding-plugin-meta-information

I also added some satisfies around the place to help enforce that our previously anonymous objects actually match the shapes we have defined.

@bradzacher bradzacher added the enhancement New feature or request label Feb 1, 2024
@typescript-eslint
Copy link
Contributor

Thanks for the PR, @bradzacher!

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.

Copy link

netlify bot commented Feb 1, 2024

Deploy Preview for typescript-eslint ready!

Name Link
🔨 Latest commit 639f980
🔍 Latest deploy log https://app.netlify.com/sites/typescript-eslint/deploys/65bdb412803a940008900080
😎 Deploy Preview https://deploy-preview-8331--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 89 (🔴 down 1 from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 98 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@bradzacher bradzacher marked this pull request as ready for review February 1, 2024 13:32
JoshuaKGoldberg
JoshuaKGoldberg previously approved these changes Feb 2, 2024
Copy link
Member

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

🚀

packages/utils/src/ts-eslint/Linter.ts Show resolved Hide resolved
Copy link

nx-cloud bot commented Feb 3, 2024

@bradzacher bradzacher merged commit 9883ee2 into main Feb 3, 2024
63 checks passed
@bradzacher bradzacher deleted the export-rule-meta branch February 3, 2024 04:15
danvk pushed a commit to danvk/typescript-eslint that referenced this pull request Feb 4, 2024
* feat: export plugin metadata

* Update Config.ts
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants