diff --git a/packages/scripts/CHANGELOG.md b/packages/scripts/CHANGELOG.md index c1b97def8299a0..05ed2438b2f74d 100644 --- a/packages/scripts/CHANGELOG.md +++ b/packages/scripts/CHANGELOG.md @@ -13,6 +13,10 @@ - Added optional support for React Fast Refresh in the `start` command. It can be activated with `--hot` CLI argument ([#28273](https://github.com/WordPress/gutenberg/pull/28273)). +### Enhancements + +- Disable `selector-class-pattern` rule when linting styles until we have more flexible handling ([#37531](https://github.com/WordPress/gutenberg/pull/37531)). + ### Bug Fixes - Prevent the `CleanWebpackPlugin` plugin from deleting webpack assets during multi-configuration builds [#35980](https://github.com/WordPress/gutenberg/issues/35980). diff --git a/packages/scripts/config/.stylelintrc.json b/packages/scripts/config/.stylelintrc.json index 693913b573de3c..1cfc8fc10ea564 100644 --- a/packages/scripts/config/.stylelintrc.json +++ b/packages/scripts/config/.stylelintrc.json @@ -1,3 +1,6 @@ { - "extends": "@wordpress/stylelint-config/scss" + "extends": "@wordpress/stylelint-config/scss", + "rules": { + "selector-class-pattern": null + } }