You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using SCSS-lint to enforce the BEM syntax but it seems to want modifiers to be prefixed by one dash - in stead of two dashes --.
As I understand, it should normally work with two dashes.
For example, my block is jn-button (jn prefix, button is my block) and when I want to add a modifier I normally write it like this: jn-button--primary but this fails the scss lint.
It allows jn-button-primary but then I can no longer see which part is the block and which part is the modifier.
Or am I overlooking anything?
Kind regards,
The text was updated successfully, but these errors were encountered:
Hello,
I am using SCSS-lint to enforce the BEM syntax but it seems to want modifiers to be prefixed by one dash - in stead of two dashes --.
As I understand, it should normally work with two dashes.
For example, my block is jn-button (jn prefix, button is my block) and when I want to add a modifier I normally write it like this: jn-button--primary but this fails the scss lint.
It allows jn-button-primary but then I can no longer see which part is the block and which part is the modifier.
Or am I overlooking anything?
Kind regards,
The text was updated successfully, but these errors were encountered: