Skip to content

2.0.0

Compare
Choose a tag to compare
@aboks aboks released this 12 Mar 15:19
· 33 commits to master since this release

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.