Skip to content

Prohibit usage of "G(g)utenberg_" prefixed functions, classes, and objects in ./packages/block-library PHP code. #54745

@anton-vlasenko

Description

@anton-vlasenko

What Problem Does This Address?

Calling functions prefixed with G(g)utenberg_ (and potentially instantiating objects of classes prefixed with Gutenberg_, as well as defining classes prefixed with Gutenberg_) 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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions