-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"class-style": "bem" does not accept any dash in class name. #195
Comments
@akumanara I cannot reproduce your issue 😞 . Can you provide the following information to help me?
|
@KamiKillertO Thanks for your response, i just saw that it didnt like an extra space! my bad! |
Happy to here that there's no issue with the bem analyzer 😊 . But there is still an issue here, the linter should not report an issue for spaces >< |
Fun times! Update: the github code format ommits the second space. |
As you can see in the naming conventions (Naming rules) for BEM below, it says the following:
Words are separated by a hyphen (-).
So for example, the class class="hp-intro__logo" is valid, but the linter throws the following error.
Value "" of attribute "class" does not respect the format: bem
Resource:
https://en.bem.info/methodology/naming-convention/#naming-rules
The text was updated successfully, but these errors were encountered: