2.0.0
Changed
-
The primary configuration option is now the list of tags that should not
occur without a class qualifier. The secondary configuration option has
been dropped. The primary configuration option can also be a string (if
the rule applies to a single tag), and also supports regular expressions.Before:
"plugin/stylelint-selector-tag-no-without-class": [ true, { "tags": ["div", "span"] } ]
After:
"plugin/stylelint-selector-tag-no-without-class": ["div", "span"]
This brings the configuration in line with Stylelint's
*-blacklist
plugins.
Thanks to @hudochenkov for the suggestion.