Add .stylelintrc.json to @wordpress/create-block #35485
Labels
[Package] stylelint config
/packages/stylelint-config
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
When creating a new block with core blocks, it's requires to modify some BEM Class which generated by core, such as:
.wp-block-group__inner-container
However latest @wordpress/create-block still report violating "Selector should use lowercase and separate words with hyphens selector-class-pattern".
What is your proposed solution?
Add
.stylelintrc.json
in package @wordpress/create-block to ignore this warning.gutenberg/.stylelintrc.json
Line 11 in d9e7541
The text was updated successfully, but these errors were encountered: