I have a .scss-lint.yml
file containing all the rules I want to use in my project.
One thing we enforce in our SCSS is that only classes are targeted, as per BEM documentation.
Because this is not covered in my .scss-lint.yml
, it stands currently as a sort of unofficial rule.
It's not immediately obvious from the scss-lint page. Is there some rule I can apply to my YML that will show an error if anything but a classname is used as a selector?