Closed Dzhakhar closed 6 years ago
Just set it to something else.
PR welcome for other styles if you need it
@SimenB thank you for your quick response.
Is false
value set by default on namingConventionStrict
?
@SimenB is it possible to pass a BEM detecting regex (bemRe
) as an option? To configure the BEM rules to my needs?
PR welcome for that, yes.
I think it will have to be the path to a module then, as you can't pass functions directly
@SimenB can't I pass something like this "/^([$.#{:][${a-z]([-]?[${}a-z0-9]+)*(_{2}[${}a-z0-9]([-]?[${}a-z0-9]+)*)?((_[${}a-z0-9]([-]?[a-z0-9}]+)*){2})*)\b/m"
?
That works as well if a regexp is always enough
Is
false
value set by default onnamingConventionStrict
?
yes
It doesn't work now though, PR is needed for it
@SimenB I'm gonna contribute. Could you please get back to me via email or via skype dzhakhar1209 to discuss it
I'm on holidays, so not available.
I would add a new option called namingConventionRegexp
or namingConventionPattern
(and require namingConvention: "regexp"
or namingConvention: "pattern"
depending on which you land on)
Got it! But will you be able to review my PR in case it comes today? Have a nice holidays
But will you be able to review my PR in case it comes today?
Yes
Can I provide any customization for the
namingConvention: "BEM"
property?