postcss / postcss-bem-linter

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

Support string patterns #71

Closed davidtheclark closed 9 years ago

davidtheclark commented 9 years ago

Incorporates and adds to #69. Hopefully makes this plugin completely compatible with postcss-cli.

Also provides important groundwork for https://github.com/postcss/postcss-bem-linter/issues/68.

Alters all applicable tests to try both regular expression and string patterns --- also, interpolated string patterns in addition to functions (for componentSelectors).

Also adds documentation.

I am submitting this as a PR before merging in case any watchers have input or feedback.

davidtheclark commented 9 years ago

@tornqvist This feature is released in 2.1.0.

tornqvist commented 9 years ago

Thx m8!