stylelint-selector-tag-no-without-class
Advanced tools
Changelog
[2.0.3] - 2020-02-24
Changelog
[2.0.2] - 2019-09-23
Changelog
[2.0.1] - 2019-07-24
Changelog
[2.0.0] - 2018-03-12
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 Aleks Hudochenkov for the suggestion.