Specifies a stylelint rule with a regex to check BEM naming. Modifies the default styleint rules which only allow hyphens in class names. I adapted the regex from this GitHub issue comment.
I looked into adding the styleint-selector-bem-pattern plugin, but there is a bunch of stuff that it necessitates including defining component names in the scss files and seemed like overkill.
Fixes #72
Specifies a stylelint rule with a regex to check BEM naming. Modifies the default styleint rules which only allow hyphens in class names. I adapted the regex from this GitHub issue comment.
I looked into adding the styleint-selector-bem-pattern plugin, but there is a bunch of stuff that it necessitates including defining component names in the scss files and seemed like overkill.