diff --git a/package.json b/package.json index cf5de04..ac50e17 100644 --- a/package.json +++ b/package.json @@ -70,13 +70,11 @@ "stylelint-config-property-sort-order-smacss" ], "rules": { - "max-nesting-depth": [ - 2, + "max-nesting-depth": 2, + "selector-class-pattern": [ + "^([a-z][a-z0-9]*)(-[a-z0-9]+)*((__([a-z][a-z0-9]*)(-[a-z0-9]+)*)?(--([a-z][a-z0-9]*)(-[a-z0-9]+)*)?)$", { - "ignore": [ - "blockless-at-rules", - "pseudo-classes" - ] + "message": "Expected class pattern to be BEM style" } ], "import-notation": null,