Prohibit usage of "G(g)utenberg_" prefixed functions, classes, and objects in ./packages/block-library PHP code. #54745
Labels
[Package] Block library
/packages/block-library
[Type] Code Quality
Issues or PRs that relate to code quality
[Type] Enhancement
A suggestion for improvement.
What Problem Does This Address?
Calling functions prefixed with
G(g)utenberg_
(and potentially instantiating objects of classes prefixed withGutenberg_
, as well as defining classes prefixed withGutenberg_
) should not be allowed in./packages/block-library
PHP code.What Is Your Proposed Solution?
Either existing linting rules should be reused, or new ones should be written to address this issue.
The text was updated successfully, but these errors were encountered: