stylelint 16.13.0
It adds 3 rules to help you write error-free at-rules and 2 rules to warn you about deprecated CSS features. We've turned these rules on in our standard config. It also adds new rule options, a feature to display how long rules take, lax autofix and support for messageArgs in more rules. It fixes 7 bugs. Lastly, we've made a deprecation that may affect some plugins. We've updated our docs for plugin authors and end users on how to silence deprecation warnings.
- Deprecated: ambiguous position arguments passed to
utils.report()(#8244) (@romainmenke). - Added:
lax/strictvalues to thefixNode.js API option and CLI flag (#8106) (@ryo-manba). - Added: support for profiling rule performance via the
TIMINGenvironment variable (#8108) (@ryo-manba). - Added:
at-rule-descriptor-no-unknownrule (#8197) (@ryo-manba). - Added:
at-rule-descriptor-value-no-unknownrule (#8211) (@ryo-manba). - Added:
at-rule-no-deprecatedrule (#8251) (@jeddy3). - Added:
at-rule-prelude-no-invalidrule (#8268) (@ryo-manba). - Added:
declaration-property-value-keyword-no-deprecatedrule (#8223) (@Mouvedia). - Added:
"ignore": ["at-rule-preludes", "declaration-values"]tostring-no-newline(#8214) (@ryo-manba). - Added:
messageArgstodeclaration-property-value-no-unknown,font-family-name-quotes,font-family-no-duplicate-names,function-calc-no-unspaced-operator,import-notation,media-feature-name-unit-allowed-list,selector-attribute-quotesandselector-pseudo-element-colon-notation(#8285 & #8252) (@Mouvedia). - Fixed: deprecation warnings to only display once per (custom) rule (#8265) (@romainmenke).
- Fixed:
*-no-vendor-prefixmessage ambiguity (#8239) (@Mouvedia). - Fixed:
at-rule-(dis)allowed-list,at-rule-no-vendor-prefix,at-rule-property-required-listmessage argument (#8277) (@Mouvedia). - Fixed:
at-rule-property-required-listmessage for inclusion of properties and descriptors (#8207) (@jeddy3). - Fixed:
at-rule-*false positives and negatives for@charsetrule (#8215) (@jeddy3). - Fixed:
declaration-property-value-no-unknownfalse positives for descriptors (#8240) (@jeddy3). - Fixed:
property-(dis)allowed-listfalse negatives for custom properties, use/^--/to (dis)allow them (#8209) (@fbasmaison-lucca). - Fixed:
property-no-unknownfalse positives for descriptors (#8203) (@jeddy3). - Fixed:
selector-pseudo-class-no-unknownfalse positives for deprecated pseudo-classes (#8264) (@Mouvedia). - Fixed:
selector-type-casefalse positives forhatchPath(#8264) (@Mouvedia). - Fixed:
selector-type-no-unknownfalse positives forshadow,hatchandhatchpath(#8264) (@Mouvedia).