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

Feature Request: Warn about deprecated component specifications in wp-script lint #68828

Open
shimotmk opened this issue Jan 22, 2025 · 0 comments
Labels
[Type] Enhancement A suggestion for improvement.

Comments

@shimotmk
Copy link
Contributor

What problem does this address?

Hello!👋

I am a developer of Gutenberg extension plugin.

Gutenberg has many deprecated components and components that need to be fixed.

Deprecated components and processes to add them are displayed as warnings with console.warn().

https://github.com/WordPress/gutenberg/tree/trunk/packages/deprecated

console.warn( message );

However, you cannot find the warning until it is rendered.

It would be useful to be able to detect the specifications of deprecated components with wp-script lint:js.

I would like such a feature!

Or is there already such an option?

Label
[Tool] WP Scripts

What is your proposed solution?

wp-script lint:js command identifies deprecated components

@shimotmk shimotmk added the [Type] Enhancement A suggestion for improvement. label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

1 participant