stylelint-config-crisp 1.0.25 → 1.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stylelint-config-crisp",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "Custom Stylelint Rules for Crisp",
5
5
  "author": "Crisp IM SAS",
6
6
  "main": "index.js",
@@ -152,7 +152,7 @@ function isSelectorIgnored(rule, fileScopeClass) {
152
152
  if (fileScopeClass) {
153
153
  if (rule.selector.startsWith(".")) {
154
154
  // Extract base part from BEM selector
155
- const regex = /(\.[\w-]+?)(?=--|__|\s|$)/;
155
+ const regex = /(\.[\w-]+?)(?=--|__|\s|:|$)/;
156
156
  const match = rule.selector.match(regex);
157
157
 
158
158
  if (match) {