postcss / postcss-bem-linter

A BEM linter for postcss
MIT License
572 stars 35 forks source link

fix typo for modifier inside bemSelector fn preset #171

Closed nicoPuegher closed 1 year ago

nicoPuegher commented 1 year ago

I was trying to use this for the first time and I wanted to use the BEM preset but the (--) modifiers were not working, I was getting an error as it my class modifier with (--) was not allowed. Went for the source code and found the function where the preset is created, and I found a typo.

Now the modifier works well. Let me know if you have any comments, this is my very first contribution!

simonsmith commented 1 year ago

@nicoPuegher Hey, did you close the PR on purpose?

nicoPuegher commented 1 year ago

Hi! Yes I did, after I sent it I saw there was no activity so I thought there was no point in sending the request. Let me know and I'll send it again if you want, thanks for the message!