Skip to content

chore: downgrade @wordpress/use-recommended-components to warn#223

Merged
justlevine merged 1 commit into
mainfrom
chore/downgrade-eslint-rule-2857431342261436016
May 25, 2026
Merged

chore: downgrade @wordpress/use-recommended-components to warn#223
justlevine merged 1 commit into
mainfrom
chore/downgrade-eslint-rule-2857431342261436016

Conversation

@justlevine
Copy link
Copy Markdown
Collaborator

@justlevine justlevine commented May 25, 2026

What

Update the eslint config rules for @wordpress/use-recommended-components so they warn instead of error.

Why

@wordpress/ui isn't version stable and they're graduating new components every release. We want to make sure to build new components using the recommended components, but we shouldn't break CI.


PR created automatically by Jules for task 2857431342261436016 started by @justlevine

Open WordPress Playground Preview

Update `eslint.config.mjs` to set the `@wordpress/use-recommended-components` rule to `warn` instead of `error`.

Co-authored-by: justlevine <29322304+justlevine@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Copilot AI review requested due to automatic review settings May 25, 2026 15:37
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts the project’s ESLint configuration to reduce the severity of the @wordpress/use-recommended-components rule, allowing lint runs to surface the guidance without failing builds/CI.

Changes:

  • Downgrade @wordpress/use-recommended-components from error to warn in the ESLint flat config.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@justlevine justlevine merged commit e7e7456 into main May 25, 2026
17 checks passed
@justlevine justlevine deleted the chore/downgrade-eslint-rule-2857431342261436016 branch May 25, 2026 16:00
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.

3 participants