Releases: stylelint/stylelint
16.26.1
It fixes numerous false positive bugs, including many in the declaration-property-value-no-unknown rule for the latest CSS specifications.
- Fixed:
*-no-unknownfalse positives for latest specs by integrating@csstools/css-syntax-patches-for-csstree(#8850) (@romainmenke). - Fixed:
at-rule-no-unknownfalse positives for@function(#8851) (@jeddy3). - Fixed:
declaration-property-value-no-unknownfalse positives forattr(),if()and custom functions (#8853) (@jeddy3). - Fixed:
function-url-quotesfalse positives when URLs require quoting (#8804) (@taearls). - Fixed:
selector-pseudo-element-no-unknownfalse positives for::scroll-button()(#8856) (@Mouvedia).
16.26.0
It adds 1 feature and fixes 2 bugs.
- Added: support for
customSyntaxwith function export (#8834) (@silverwind). - Fixed:
custom-property-no-missing-var-functionfalse positives for style query inif()function (#8813) (@sajdakabir). - Fixed:
media-feature-range-notationfalse positives for multiple queries andexcept: exact-value(#8832) (@jeddy3).
16.25.0
It adds 3 new features, including experimental support for bulk suppressions. It's also our first immutable release, with the package published to npm using trusted publishing and our dependencies updated on a cool down for improved supply chain security.
16.24.0
It adds 1 new rule, adds 1 option to a rule and fixes 2 bugs.
- Added:
rule-nesting-at-rule-required-listrule (#8680) (@sw1tch3roo). - Added:
ignoreAtRules: []tonesting-selector-no-missing-scoping-root(#8743) (@karlhorky). - Fixed:
function-no-unknownfalse positives forcontrast-color()andsibling-*()(#8729) (@Mouvedia). - Fixed:
selector-pseudo-class-no-unknownfalse positives for:heading(#8749) (@Mouvedia).
16.23.1
It fixes 7 bugs.
- Fixed:
no-invalid-position-declarationfalse positives for embedded styles (#8701) (@sw1tch3roo). - Fixed:
property-no-deprecatederroneously autofixingclip(#8699) (@immitsu). - Fixed:
property-no-deprecatedfalse positives for-webkit-box-orient: vertical;(#8699) (@immitsu). - Fixed:
selector-pseudo-*-no-unknownfalse positives for some meter pseudo classes/elements (#8708) (@Mouvedia). - Fixed:
selector-pseudo-class-no-unknownfalse positives for:unchecked(#8705) (@Mouvedia). - Fixed:
selector-pseudo-element-no-unknownfalse positives for::search-text(#8707) (@Mouvedia). - Fixed:
selector-type-no-unknownfalse positives forselectedcontent(#8716) (@Mouvedia).
16.23.0
It adds 5 new rules, 1 option to a rule and fixes 3 bugs. We've turned on the new rules in our standard config.
- Added:
block-no-redundant-nested-style-rulesrule (#8684) (@sw1tch3roo). - Added:
media-type-no-deprecatedrule (#8668) (@immitsu). - Added:
nesting-selector-no-missing-scoping-rootrule (#8674) (@sw1tch3roo). - Added:
no-invalid-position-declarationrule (#8669) (@sw1tch3roo). - Added:
property-no-deprecatedrule (#8682) (@immitsu). - Added:
except: ["exact-value"]tomedia-feature-range-notation(#8675) (@immitsu). - Fixed:
declaration-block-no-duplicate-propertiesfalse negatives for named colors withignore: ['consecutive-duplicates-with-different-syntaxes'](#8665) (@sw1tch3roo). - Fixed:
function-no-unknownfalse positives (#8677) (@Mouvedia). - Fixed:
no-irregular-whitespacefalse positives for strings (#8667) (@immitsu).
16.22.0
It adds 3 rule features and fixes 2 bugs.
- Added:
messageArgstocolor-named(#8663) (@Mouvedia). - Added:
messageArgstodeclaration-property-value-keyword-no-deprecated(#8654) (@Mouvedia). - Added:
no-descending-specificityreport message includes line number of the anchoring selector (#8666) (@immitsu). - Fixed:
at-rule-no-deprecatedfalse positives for@apply(#8630) (@Mouvedia). - Fixed:
lightness-notationcrash with"number"option and single-digit percentage (#8661) (@ybiquitous).
16.21.1
It fixes 3 bugs.
- Fixed: unexpected change of syntax in computed
EditInfo(#8638) (@romainmenke). - Fixed:
function-linear-gradient-no-nonstandard-directionfalse positives for CSS variables' names containing a direction substring (#8643) (@Solomon-mithra). - Fixed:
media-feature-range-notationautofix for exact values (#8651) (@romainmenke).
16.21.0
It rounds out the message secondary option and marks it as stable, adds 1 new option to a rule, and fixes 4 bugs.
- Added: non-experimental support for functional
messagesecondary option (#8595) (@ybiquitous). - Added:
ignore: ["after-custom-property"]tocustom-property-empty-line-before(#8627) (@imkesin). - Fixed:
cacheconfiguration property not being respected (#8599) (@ybiquitous). - Fixed:
fastest-levenshteinimport when bundling (#8621) (@onigoetz). - Fixed:
named-grid-areas-no-invalidfalse positives for interpolated grid-template-areas in CSS-in-JS (#8606) (@shahana308). - Fixed:
selector-pseudo-*-no-unknownfalse positives for the missing form control styling selectors (#8623) (@tyrann0us).
16.20.0
It fixes 2 bugs with the built-in rules.
- Fixed:
function-url-no-scheme-relativefalse negatives for@import(#8576) (@pamelalozano16). - Fixed:
shorthand-property-no-redundant-valuesfalse negatives for additional radius (#8539) (@ryo-manba).