Update dependency stylelint to v16 #771
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^15.0.0
->^16.0.0
Release Notes
stylelint/stylelint (stylelint)
v16.9.0
Compare Source
secondaryOptions
argument type of theRule
function (#7950) (@Mouvedia).color-function-notation
reporting functions with less than 3 arguments (#7948) (@Mouvedia).declaration-property-value-no-unknown
false positives/negatives (#7944 & #7957 & #7956) (@Mouvedia & @sidverma32).overflow
,word-break
,width
anchor-name
,field-sizing
,text-box-edge
,text-box-trim
,text-spacing-trim
,text-wrap
,text-wrap-mode
,text-wrap-style
,view-timeline
,view-timeline-axis
,view-timeline-inset
,view-timeline-name
,view-transition-name
keyframe-block-no-duplicate-selectors
/keyframe-declaration-no-important
/keyframe-selector-notation
/no-unknown-animations
false negatives for@-o-keyframes
and@-ms-keyframes
(#7953) (@Mouvedia).no-duplicate-selectors
reported ranges (#7938) (@romainmenke).property-no-vendor-prefix
report for-webkit-background-size
(#7940) (@Mouvedia).selector-class-pattern
reported ranges (#7959) (@Mouvedia).selector-no-qualifying-type
reported ranges (#7937) (@romainmenke).--no-deprecation
flag for rule deprecation warnings (#7943) (@Mouvedia).v16.8.2
Compare Source
context.fix
usage in favour of recommending to pass afix
callback toreport()
(#7895) (@Mouvedia).github
formatter (#7909) (@Mouvedia).custom-property-no-missing-var-function
false positives forview-transition-name
(#7914) (@Mouvedia).keyframe-block-no-duplicate-selectors
reported ranges (#7932) (@romainmenke).no-invalid-double-slash-comments
reported ranges (#7907 & #7905) (@Mouvedia & @romainmenke).selector-max-type
reported ranges (#7916) (@romainmenke).selector-type-no-unknown
false positives for::highlight()
and::view-transition-*()
(#7913) (@Mouvedia).v16.8.1
Compare Source
no-duplicate-selectors
false positives with Less syntax (#7888) (@romainmenke).v16.8.0
Compare Source
github
formatter (#7865) (@marcalexiei).function-url-quotes
false positives for SCSS variables and#
/?
characters (#7874) (@vimalloc).keyframe-selector-notation
false positives forentry-crossing
andexit-crossing
(#7859) (@romainmenke).no-descending-specificity
false positives for nested rules without declarations (#7850) (@romainmenke).no-duplicate-selectors
end positions (#7867) (@romainmenke).no-duplicate-selectors
false negatives for three or more duplicates (#7867) (@romainmenke).selector-max-compound-selectors
error for@nest
(#7875) (@romainmenke).selector-pseudo-class-no-unknown
false positives for:active-view-transition
and:active-view-transition-type()
(#7868) (@Mouvedia).selector-type-*
,selector-max-type
andselector-class-pattern
false positives for<timeline-range-name>
in keyframe selectors (#7856) (@romainmenke).stylelint.utils.checkAgainstRule()
regression whenreportNeedlessDisables
andquiet
are both enabled (#7879) (@ybiquitous).v16.7.0
Compare Source
tap
formatter to support TAP14 (#7759) (@Mouvedia).url
secondary option (#7743) (@emmacharp).at-rule-no-unknown
false positives for@historical-forms
and@font-palette-values
(#7774) (@Mouvedia).at-rule-no-unknown
false positives for@view-transition
(#7753) (@sebdanielsson).at-rule-no-vendor-prefix
false negatives for@-moz-document
and@-webkit-viewport
(#7772) (@Mouvedia).comment-whitespace-inside
end positions (#7744) (@Mouvedia).declaration-block-no-duplicate-properties
reported ranges (#7758) (@Mouvedia).declaration-block-no-redundant-longhand-properties
/declaration-block-no-shorthand-property-overrides
false negatives forfont-variant
(#7734) (@Bilie).font-family-name-quotes
false negatives for-moz-*
/-webkit-*
keywords (#7777) (@Mouvedia).font-family-no-missing-generic-family-keyword
false negatives for font families which names match a CSS3font-variant
keyword (#7823) (@Mouvedia).function-name-case
end positions (#7747) (@Mouvedia).function-no-unknown
performance by reducing file read count (#7801) (@ybiquitous).media-feature-name-no-vendor-prefix
autofix (#7770) (@Mouvedia).no-invalid-double-slash-comments
reported ranges (#7768) (@Mouvedia).property-no-unknown
false positives fornavigation
and miscellaneous legacy properties (#7764) (@Mouvedia).quietDeprecationWarnings
to suppressstylelint:003
warning (#7837) (@ybiquitous).selector-no-vendor-prefix
autofix (#7763) (@Mouvedia).selector-not-notation
end positions when new lines are part of the selector (#7755) (@Mouvedia).selector-type-case
end positions (#7752) (@Mouvedia).shorthand-property-no-redundant-values
false negatives for logical properties,overflow
,overscroll-behavior
,scroll-margin
andscroll-padding
(#7808) (@Mouvedia).string-no-newline
false positives for escaped multi-line (#7818) (@romainmenke).value-keyword-case
end positions (#7760) (@Mouvedia).stylelint.utils.checkAgainstRule()
for Promise-based rules (#7821) (@aaronccasanova).stylelint.utils.checkAgainstRule()
to useresult.stylelint
if present (#7833) (@ybiquitous).tap
formatter (#7759) (@Mouvedia).v16.6.1
Compare Source
no-descending-specificity
false positives for nested selectors (#7724) (@romainmenke).selector-type-no-unknown
false positive formodel
(#7718) (@Mouvedia).v16.6.0
Compare Source
function-calc-no-unspaced-operator
false negatives (#7655 & #7670 & #7676) (@ybiquitous & @romainmenke).selector-not-notation
autofix of the"simple"
option (#7703) (@Mouvedia).selector-max-specificity
end positions (#7685) (@romainmenke).no-descending-specificity
end positions (#7701) (@romainmenke).npm fund
(#7707) (@ybiquitous).v16.5.0
Compare Source
ignoreValues
forvalue-no-vendor-prefix
(#7650) (@Mouvedia).shorthand-property-no-redundant-values
false negatives for functions (#7657) (@ybiquitous).value-no-vendor-prefix
false negatives/positives (#7654 & #7658) (@Mouvedia).CosmiconfigResult
type error (#7661) (@ybiquitous).v16.4.0
Compare Source
no-unknown-custom-media
(#7594) (@fpetrakov).ignoreLonghands: []
todeclaration-block-no-redundant-longhand-properties
(#7611) (@Mouvedia).ignore: ["keyframe-selectors"]
torule-selector-property-disallowed-list
(#7572) (@emmacharp).declaration-block-no-redundant-longhand-properties
autofix conflicts (#7626) (@Mouvedia).declaration-block-no-redundant-longhand-properties
autofix fortext-decoration
(#7611) (@Mouvedia).declaration-block-no-shorthand-property-overrides
false negatives forborder
(#7585) (@fpetrakov).declaration-block-no-shorthand-property-overrides
false negatives forfont
andborder
(#7606) (@Mouvedia).function-calc-no-unspaced-operator
false negatives for some math functions (#7619) (@Mouvedia).function-no-unknown
false positives foranchor
andanchor-size
(#7607) (@Mouvedia).selector-max-attribute
end positions (#7592) (@romainmenke).selector-max-class
end positions (#7590) (@romainmenke).selector-max-combinators
end positions (#7596) (@romainmenke).selector-max-compound-selectors
end positions (#7599) (@romainmenke).selector-max-pseudo-class
end positions (#7598) (@romainmenke).selector-max-universal
end positions (#7597) (@romainmenke).selector-type-no-unknown
false positives for experimental and deprecated HTML tags (#7612) (@Mouvedia).v16.3.1
Compare Source
selector-max-id
end positions (#7571) (@romainmenke)./index.js
(#7578) (@ota-meshi).v16.3.0
Compare Source
ignoreSelectors: []
toselector-max-compound-selectors
(#7544) (@FloEdelmann).string
andverbose
formatters (#7539) (@m-allanson).*-deprecation
command-line flags of Node.js (#7550) (@fpetrakov).rule-selector-property-disallowed-list
false positives for nesting selectors (#7558) (@romainmenke).selector-pseudo-*-allowed-list
false positives for vendor prefixes (#7525) (@carlosjeurissen).report()
forindex
/endIndex
zero values (#7565) (@romainmenke).selector-max-type
end positions (#7518) (@romainmenke).v16.2.1
Compare Source
custom-property-no-missing-var-function
false positives for properties that can contain author-defined identifiers (#7478) (@ybiquitous).selector-pseudo-class-no-unknown
false positives for:seeking
, the media loading state and sound state pseudo-classes (#7490) (@Mouvedia).selector-max-specificity
false positives withignoreSelectors
option forof <selector>
syntax (#7475) (@ybiquitous).function-calc-no-unspaced-operator
performance (#7505) (@ybiquitous).validateOptions
to report when secondary option object is an empty object or null (#7476) (@ybiquitous).report()
error message responsibility for a missing node or line number (#7474) (@ybiquitous).v16.2.0
Compare Source
media-query-no-invalid
specific problem messages (#7462) (@romainmenke).checkContextFunctionalPseudoClasses: []
toselector-max-id
(#7380) (@brigitamaria).declaration-property-value-no-unknown
false negatives for@starting-style
(#7461) (@fpetrakov).function-no-unknown|value-keyword-case
false positives for template literals with line breaks (#7443) (@Sh031224).allowEmptyInput
option ignored in configuration object regression (#7446) (@ybiquitous).at-rule-no-unknown
false positives for@starting-style
(#7438) (@fpetrakov).ERR_UNSUPPORTED_ESM_URL_SCHEME
for--custom-formatter
on Windows (#7432) (@JounQin).Error: Could not find <package>
message clarity (#7456) (@jeddy3).overrides.files
negated pattern regression introduced in 15.0.0 (#7468) (@ybiquitous).v16.1.0
Compare Source
lightness-notation
rule (#7366) (@fpetrakov).ignore: ["keyframe-selectors"]
toselector-disallowed-list
(#7417) (@mattxwang).selector-pseudo-class-no-unknown
false positive for:popover-open
(#7425) (@mattxwang).declaration-property-value-no-unknown
and other false positives for multiline SCSS interpolation. (#7406) (@FloEdelmann).function-url-quotes
false positives for SCSS variable and@
character (#7416) (@mattxwang).v16.0.2
Compare Source
ERR_UNSUPPORTED_ESM_URL_SCHEME
error on Windows (#7383) (@JounQin).v16.0.1
Compare Source
v16.0.0
Compare Source
Migrating to
16.0.0
guide.stylelint.formatters
object to havePromise
values (#7184) (@ybiquitous).fix
regardless of extension (#7357) (@ybiquitous).stylelint.rules
object to havePromise
values (#7279) (@ybiquitous).stylelint.utils.checkAgainstRule
to be an async function (#7339) (@ybiquitous).output
property in a Node.js API returned object. Instead,report
/code
properties are recommended (#7183) (@ybiquitous) & (@haocheng6).exports
field topackage.json
for Conditional Exports (ESM/CommonJS) (#7307) (@ybiquitous).severity
secondary option's function support (#7202) (@kizu).Promise
formatter function (#7184) (@ybiquitous).report
/code
properties to a Node.js API returned object (#7183) (@ybiquitous) & (@haocheng6)..js
extension to.mjs
and.cjs
(#7307) (@ybiquitous).Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 10am every weekday,before 4pm every weekday" in timezone Europe/London.
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.