simonsmith / stylelint-selector-bem-pattern

Stylelint plugin that incorporates postcss-bem-linter
MIT License
244 stars 13 forks source link

Avoid reparsing #1

Closed davidtheclark closed 8 years ago

davidtheclark commented 8 years ago

Sources tell me that this should work --- keeping the bem-linter warnings off the main result but also avoiding a re-parsing of the source string.

var ownResult = new Result();
bemLinter()(root, ownResult);