Skip to content

stylelint 7.12.0

  • Deprecated: 6 rules, each has been replaced by a more configurable alternative (#2679).
    • function-url-data-uris rule. Use either function-url-scheme-blacklist or function-url-scheme-whitelist.
    • selector-no-attribute rule. Use selector-max-attribute with 0 as its primary option.
    • selector-no-combinator rule. Use selector-max-combinators with 0 as its primary option.
    • selector-no-id rule. Use selector-max-id with 0 as its primary option.
    • selector-no-type rule. Use selector-max-type with 0 as its primary option.
    • selector-no-universal rule. Use selector-max-universal with 0 as its primary option.
  • Added: function-url-scheme-blacklist rule (#2626).
  • Added: function-url-scheme-whitelist regex support (#2662).
  • Added: selector-max-attribute rule (#2628).
  • Added: selector-max-combinators rule (#2658).
  • Added: selector-max-id rule (#2654).
  • Added: selector-max-type rule (#2665).
  • Added: selector-max-universal rule (#2653).
  • Fixed: --fix no longer crashes when used with ignored files (#2652).
  • Fixed: max-* rules now use singular and plural nouns in their messages (#2663).