Closed ehzhang closed 7 years ago
Also seems like with: https://github.com/davidtheclark/stylelint-selector-bem-pattern/blob/master/package.json#L34
Anyone that is using postcss-bem-linter
pre 2.7.0
will be silently failing the implicitComponents
check.
Thanks @ehzhang!
Hi! Thanks for this plugin!
I've been trying to get
implicitComponents
to work and have been running into the following error:It looks that
postcss-bem-linter
does not provide anode
or aline
, as expected by thestylelint.utils.report
, causing this line to fail.I tested this locally and fixes the error in my linter (so the warnings print properly). The change here seemed a bit more appropriate here vs in
postcss-bem-linter
since this is astylelint
plugin, and the expectation of anode | line
is more a stylelint demand than the linter's expectation. What do you think?