Feature Request: Warn about deprecated component specifications in wp-script lint
#68828
Labels
[Type] Enhancement
A suggestion for improvement.
wp-script lint
#68828
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
gutenberg/packages/deprecated/src/index.js
Line 77 in 06ee5e1
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 componentsThe text was updated successfully, but these errors were encountered: