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
|
@@ -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) {
|