Skip to content

stylelint 8.2.0

  • Added: autofix of syntax errors in standard CSS e.g. unclosed braces and brackets (#2886).
  • Added: length-zero-no-unit autofix (#2861).
  • Added: selector-max-specificity support for level 4 evaluation context pseudo-classes (#2857).
  • Added: ignoreUnits option to number-max-precision (#2941).
  • Added: ignoreSelectors option to selector-max-specificity (#2857).
  • Added: ignoreProperties option to value-keyword-case (#2937).
  • Fixed: *-empty-line-before false negatives and positives when two or more except: [*] options were triggered (#2920).
  • Fixed: *-empty-line-before false positives for CSS in HTML (#2854).
  • Fixed: rule-empty-line-before false positives for ignore: ["inside-block"] and CSS in HTML (#2894).
  • Fixed: rule-empty-line-before false positives for except: ["after-single-line-comment"] and preceding shared-line comments (#2920).
  • Fixed: selector-list-comma-newline-after false positives for shared-line comments separated by more than once space (#2915).
  • Fixed: selector-pseudo-class-no-unknown false positives when using chained pseudo-classes (#2810).
  • Fixed: string-quotes false positives for @charset and single quotes (#2902).
  • Fixed: unit-no-unknown false positives for spaceless multiplication and division in calc() functions (#2848).