diff --git a/docs/description/alpha-value-notation.md b/docs/description/alpha-value-notation.md index b319a1f..23a7150 100644 --- a/docs/description/alpha-value-notation.md +++ b/docs/description/alpha-value-notation.md @@ -9,9 +9,9 @@ Specify percentage or number notation for alpha-values. * This notation */ ``` -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/annotation-no-unknown.md b/docs/description/annotation-no-unknown.md index 0f8ec52..e7b9954 100644 --- a/docs/description/annotation-no-unknown.md +++ b/docs/description/annotation-no-unknown.md @@ -11,7 +11,7 @@ a { color: green !imprtant; } This rule considers annotations defined in the CSS Specifications, up to and including Editor's Drafts, to be known. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/at-rule-allowed-list.md b/docs/description/at-rule-allowed-list.md index 3f6ad97..57610f1 100644 --- a/docs/description/at-rule-allowed-list.md +++ b/docs/description/at-rule-allowed-list.md @@ -9,7 +9,9 @@ Specify a list of allowed at-rules. * At-rules like this */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +This rule ignores the `@charset` rule. + +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/at-rule-descriptor-no-unknown.md b/docs/description/at-rule-descriptor-no-unknown.md new file mode 100644 index 0000000..dfe060f --- /dev/null +++ b/docs/description/at-rule-descriptor-no-unknown.md @@ -0,0 +1,64 @@ +# at-rule-descriptor-no-unknown + +Disallow unknown descriptors for at-rules. + + +```css +@counter-style foo { + unknown-descriptor: cyclic; +/** ↑ + * Descriptors like this */ +} +``` + +This rule considers descriptors defined in the CSS Specifications, up to and including Editor's Drafts, to be known. + +You can filter the [CSSTree Syntax Reference](https://csstree.github.io/docs/syntax/) to find out what descriptors are known for an at-rule. + +This rule is only appropriate for CSS. You should not turn it on for CSS-like languages, such as SCSS or Less. + +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. + +This rule checks descriptors within at-rules. To check properties, you can use the [`property-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/property-no-unknown/README.md) rule. + +For customizing syntax, see the [`languageOptions`](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#languageoptions) section. + +Prior art: + +- [stylelint-csstree-validator](https://www.npmjs.com/package/stylelint-csstree-validator) + +## Options + +### `true` + +The following patterns are considered problems: + + +```css +@counter-style foo { + unknown-descriptor: cyclic; +} +``` + + +```css +@property --foo { + unknown-descriptor: ""; +} +``` + +The following patterns are _not_ considered problems: + + +```css +@counter-style foo { + system: cyclic; +} +``` + + +```css +@property --foo { + syntax: ""; +} +``` diff --git a/docs/description/at-rule-descriptor-value-no-unknown.md b/docs/description/at-rule-descriptor-value-no-unknown.md new file mode 100644 index 0000000..5015c63 --- /dev/null +++ b/docs/description/at-rule-descriptor-value-no-unknown.md @@ -0,0 +1,74 @@ +# at-rule-descriptor-value-no-unknown + +Disallow unknown values for descriptors within at-rules. + + +```css +@counter-style foo { + system: unknown; +/** ↑ + * Values like this */ +} +``` + +This rule considers descriptors and values defined in the CSS Specifications, up to and including Editor's Drafts, to be known. + +You can filter the [CSSTree Syntax Reference](https://csstree.github.io/docs/syntax/) to find out what values are valid for a descriptor of an at-rule. + +This rule is only appropriate for CSS. You should not turn it on for CSS-like languages, such as SCSS or Less. + +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. + +This rule checks descriptor values within at-rules. You can use [`declaration-property-value-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/declaration-property-value-no-unknown/README.md) to disallow unknown values for properties within declarations, and [`at-rule-descriptor-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/at-rule-descriptor-no-unknown/README.md) to disallow unknown descriptors for at-rules. + +This rule overlaps with: + +- [`color-no-invalid-hex`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/color-no-invalid-hex/README.md) +- [`function-linear-gradient-no-nonstandard-direction`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/function-linear-gradient-no-nonstandard-direction/README.md) +- [`function-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/function-no-unknown/README.md) +- [`string-no-newline`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/string-no-newline/README.md) +- [`unit-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/unit-no-unknown/README.md) + +You can either turn off the rules or configure them to ignore the overlaps. + +For customizing syntax, see the [`languageOptions`](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#languageoptions) section. + +Prior art: + +- [stylelint-csstree-validator](https://www.npmjs.com/package/stylelint-csstree-validator) + +## Options + +### `true` + +The following patterns are considered problems: + + +```css +@counter-style foo { + system: unknown; +} +``` + + +```css +@property --foo { + syntax: unknown; +} +``` + +The following patterns are _not_ considered problems: + + +```css +@counter-style foo { + system: numeric; +} +``` + + +```css +@property --foo { + syntax: ""; +} +``` diff --git a/docs/description/at-rule-disallowed-list.md b/docs/description/at-rule-disallowed-list.md index 49976fe..b50677f 100644 --- a/docs/description/at-rule-disallowed-list.md +++ b/docs/description/at-rule-disallowed-list.md @@ -9,7 +9,9 @@ Specify a list of disallowed at-rules. * At-rules like this */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +This rule ignores the `@charset` rule. + +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/at-rule-empty-line-before.md b/docs/description/at-rule-empty-line-before.md index 2efe940..89e3512 100644 --- a/docs/description/at-rule-empty-line-before.md +++ b/docs/description/at-rule-empty-line-before.md @@ -14,9 +14,10 @@ a {} This rule ignores: - at-rules that are the very first node in the source -- `@import` in Less. +- the `@charset` rule +- `@import` in Less -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options @@ -90,8 +91,6 @@ The following patterns are _not_ considered problems: ```css -@charset "UTF-8"; - @import url(x.css); @import url(y.css); @@ -163,18 +162,18 @@ The following patterns are _not_ considered problems: ```css -@charset "UTF-8"; - @import url(x.css); @import url(y.css); + +@namespace svg url('http://www.w3.org/2000/svg'); ``` ```css -@charset "UTF-8"; - @import url(x.css); /* comment */ @import url(y.css); + +@namespace svg url('http://www.w3.org/2000/svg'); ``` @@ -357,10 +356,10 @@ The following patterns are _not_ considered problems: ```css -@charset "UTF-8"; - @import url(x.css); @import url(y.css); + +@namespace svg url('http://www.w3.org/2000/svg'); ``` @@ -400,7 +399,7 @@ The following patterns are _not_ considered problems: @media print {} ``` -### `ignoreAtRules: ["array", "of", "at-rules"]` +### `ignoreAtRules: ["/regex/", /regex/, "string"]` Ignore specified at-rules. @@ -409,13 +408,19 @@ For example, with `"always"`. Given: ```json -["import"] +["namespace", "/^my-/"] ``` The following patterns are _not_ considered problems: ```css -@charset "UTF-8"; -@import {} +@import "foo.css"; +@namespace svg url('http://www.w3.org/2000/svg'); +``` + + +```css +a {} +@my-at-rule {} ``` diff --git a/docs/description/at-rule-no-deprecated.md b/docs/description/at-rule-no-deprecated.md new file mode 100644 index 0000000..8f9753c --- /dev/null +++ b/docs/description/at-rule-no-deprecated.md @@ -0,0 +1,77 @@ +# at-rule-no-deprecated + +Disallow deprecated at-rules. + + +```css + @viewport {} +/** ↑ + * At-rules like this */ +``` + +This rule flags at-rules that were removed or deprecated after being in the CSS specifications, including editor drafts, and were subsequently either: + +- shipped in a stable version of a browser +- shipped by a developer channel/edition browser +- shipped but behind experimental flags +- polyfilled with some adoption before any browser actually shipped +- had an MDN page at one point in time + +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix some of the problems reported by this rule. + +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) accept arguments. + +Prior art: + +- [@csstools/stylelint-no-at-nest-rule](https://www.npmjs.com/package/@csstools/stylelint-no-at-nest-rule) +- [@isnotdefined/no-obsolete](https://www.npmjs.com/package/@isnotdefined/stylelint-plugin) + +## Options + +### `true` + +The following patterns are considered problems: + + +```css +@viewport {} +``` + + +```css +a { @apply foo; } +``` + +The following patterns are _not_ considered problems: + + +```css +@starting-style {} +``` + + +```css +a { @layer {} } +``` + +## Optional secondary options + +### `ignoreAtRules: ["/regex/", /regex/, "string"]` + +Given: + +```json +["/^view/", "apply"] +``` + +The following patterns are _not_ considered problems: + + +```css +@viewport {} +``` + + +```css +a { @apply foo; } +``` diff --git a/docs/description/at-rule-no-unknown.md b/docs/description/at-rule-no-unknown.md index b10dc9b..5bb45f5 100644 --- a/docs/description/at-rule-no-unknown.md +++ b/docs/description/at-rule-no-unknown.md @@ -11,7 +11,9 @@ Disallow unknown at-rules. This rule considers at-rules defined in the CSS Specifications, up to and including Editor's Drafts, to be known. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. + +For customizing syntax, see the [`languageOptions`](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#languageoptions) section. ## Options @@ -26,16 +28,6 @@ The following patterns are considered problems: The following patterns are _not_ considered problems: - -```css -@charset "UTF-8"; -``` - - -```css -@CHARSET "UTF-8"; -``` - ```css @media (max-width: 960px) {} diff --git a/docs/description/at-rule-no-vendor-prefix.md b/docs/description/at-rule-no-vendor-prefix.md index 5ed062b..28d42c7 100644 --- a/docs/description/at-rule-no-vendor-prefix.md +++ b/docs/description/at-rule-no-vendor-prefix.md @@ -11,9 +11,9 @@ Disallow vendor prefixes for at-rules. This rule ignores non-standard vendor-prefixed at-rules that aren't handled by [Autoprefixer](https://github.com/postcss/autoprefixer). -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate at-rules produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate at-rules produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/at-rule-prelude-no-invalid.md b/docs/description/at-rule-prelude-no-invalid.md new file mode 100644 index 0000000..4d6d70d --- /dev/null +++ b/docs/description/at-rule-prelude-no-invalid.md @@ -0,0 +1,82 @@ +# at-rule-prelude-no-invalid + +Disallow invalid preludes for at-rules. + + +```css +@property --foo {} +/** ↑ + * Preludes like this */ +``` + +This rule considers preludes for at-rules defined within the CSS specifications, up to and including Editor's Drafts, to be valid. + +You can filter the [CSSTree Syntax Reference](https://csstree.github.io/docs/syntax/) to find out what preludes are valid for an at-rule. + +This rule is only appropriate for CSS. You should not turn it on for CSS-like languages, such as SCSS or Less. + +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. + +This rule overlaps with: + +- [`media-query-no-invalid`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/media-query-no-invalid/README.md) +- [`string-no-newline`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/string-no-newline/README.md) +- [`unit-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/unit-no-unknown/README.md) + +You can either turn off the rules or configure them to ignore the overlaps. + +For customizing syntax, see the [`languageOptions`](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#languageoptions) section. + +Prior art: + +- [stylelint-csstree-validator](https://www.npmjs.com/package/stylelint-csstree-validator) + +## Options + +### `true` + +The following patterns are considered problems: + + +```css +@property foo {} +``` + + +```css +@font-palette-values foo {} +``` + +The following patterns are _not_ considered problems: + + +```css +@property --foo {} +``` + + +```css +@font-palette-values --foo {} +``` + +## Secondary Options + +### `ignoreAtRules: ["/regex/", /regex/, "string"]` + +Given: + +```json +["property", "/^font-/"] +``` + +The following patterns are _not_ considered problems: + + +```css +@property foo; +``` + + +```css +@font-palette-values foo {} +``` diff --git a/docs/description/at-rule-property-required-list.md b/docs/description/at-rule-property-required-list.md index c0d1aa3..6bd1752 100644 --- a/docs/description/at-rule-property-required-list.md +++ b/docs/description/at-rule-property-required-list.md @@ -1,19 +1,19 @@ # at-rule-property-required-list -Specify a list of required properties for an at-rule. +Specify a list of required properties (or descriptors) for an at-rule. ```css @font-face { font-display: swap; font-family: 'foo'; } /** ↑ ↑ ↑ - * At-rule and required property names */ + * At-rule and required descriptor names */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options -`object`: `{ "at-rule-name": ["array", "of", "properties"]|"property" }` +`object`: `{ "at-rule-name": ["array", "of", "properties or descriptors"]|"property or descriptor" }` Given: diff --git a/docs/description/color-function-notation.md b/docs/description/color-function-notation.md index 3bead21..fc6639a 100644 --- a/docs/description/color-function-notation.md +++ b/docs/description/color-function-notation.md @@ -13,9 +13,9 @@ Modern color-functions use a comma-free syntax because functions in CSS are used For legacy reasons, `rgb()` and `hsl()` also supports an alternate syntax that separates all of its arguments with commas. Also for legacy reasons, the `rgba()` and `hsla()` functions exist using the same comma-based syntax. -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix some of the problems reported by this rule when the primary option is `"modern"`. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix some of the problems reported by this rule when the primary option is `"modern"`. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/color-hex-alpha.md b/docs/description/color-hex-alpha.md index e783efd..99ef206 100644 --- a/docs/description/color-hex-alpha.md +++ b/docs/description/color-hex-alpha.md @@ -9,7 +9,7 @@ a { color: #fffa } * This alpha channel */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/color-hex-length.md b/docs/description/color-hex-length.md index 90f94f7..d506583 100644 --- a/docs/description/color-hex-length.md +++ b/docs/description/color-hex-length.md @@ -9,9 +9,9 @@ a { color: #fff } * This hex color */ ``` -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/color-no-hex.md b/docs/description/color-no-hex.md index ce5e89a..4e050aa 100644 --- a/docs/description/color-no-hex.md +++ b/docs/description/color-no-hex.md @@ -9,7 +9,7 @@ a { color: #333 } * This hex color */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/color-no-invalid-hex.md b/docs/description/color-no-invalid-hex.md index 34e453f..52fc529 100644 --- a/docs/description/color-no-invalid-hex.md +++ b/docs/description/color-no-invalid-hex.md @@ -11,7 +11,14 @@ a { color: #y3 } Longhand hex colors can be either 6 or 8 (with alpha channel) hexadecimal characters. And their shorthand variants are 3 and 4 characters respectively. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. + +This rule overlaps with: + +- [`at-rule-descriptor-value-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/at-rule-descriptor-value-no-unknown/README.md) +- [`declaration-property-value-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/declaration-property-value-no-unknown/README.md) + +We recommend using these rules for CSS and this rule for CSS-like languages, such as SCSS and Less. ## Options diff --git a/docs/description/comment-empty-line-before.md b/docs/description/comment-empty-line-before.md index fb66792..6be930a 100644 --- a/docs/description/comment-empty-line-before.md +++ b/docs/description/comment-empty-line-before.md @@ -18,7 +18,7 @@ This rule ignores: - single-line comments with `//` (when you're using a custom syntax that supports them) - comments within selector and value lists -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/comment-pattern.md b/docs/description/comment-pattern.md index ad47b07..55965ed 100644 --- a/docs/description/comment-pattern.md +++ b/docs/description/comment-pattern.md @@ -9,7 +9,7 @@ Specify a pattern for comments. * The pattern of this */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/comment-whitespace-inside.md b/docs/description/comment-whitespace-inside.md index d0f9a6b..421c7d9 100644 --- a/docs/description/comment-whitespace-inside.md +++ b/docs/description/comment-whitespace-inside.md @@ -14,7 +14,7 @@ Any number of asterisks are allowed at the beginning or end of the comment. So ` > [!WARNING] > Comments within _selector and value lists_ are currently ignored. -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/comment-word-disallowed-list.md b/docs/description/comment-word-disallowed-list.md index 13cc846..7a519bf 100644 --- a/docs/description/comment-word-disallowed-list.md +++ b/docs/description/comment-word-disallowed-list.md @@ -12,7 +12,7 @@ Specify a list of disallowed words within comments. > [!WARNING] > Comments within _selector and value lists_ are currently ignored. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/custom-media-pattern.md b/docs/description/custom-media-pattern.md index fffc086..ba47903 100644 --- a/docs/description/custom-media-pattern.md +++ b/docs/description/custom-media-pattern.md @@ -9,7 +9,7 @@ Specify a pattern for custom media query names. * The pattern of this */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/custom-property-empty-line-before.md b/docs/description/custom-property-empty-line-before.md index a062796..3c47c9a 100644 --- a/docs/description/custom-property-empty-line-before.md +++ b/docs/description/custom-property-empty-line-before.md @@ -13,7 +13,7 @@ a { * This line */ ``` -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/custom-property-no-missing-var-function.md b/docs/description/custom-property-no-missing-var-function.md index 802c250..549fe95 100644 --- a/docs/description/custom-property-no-missing-var-function.md +++ b/docs/description/custom-property-no-missing-var-function.md @@ -15,7 +15,7 @@ This rule has the following limitations: - It only reports custom properties that are defined within the same source. - It does not check properties that can contain author-defined identifiers, e.g. `transition-property`. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/custom-property-pattern.md b/docs/description/custom-property-pattern.md index 1725d82..6dea7bc 100644 --- a/docs/description/custom-property-pattern.md +++ b/docs/description/custom-property-pattern.md @@ -9,7 +9,7 @@ a { --foo-: 1px; } * The pattern of this */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-block-no-duplicate-custom-properties.md b/docs/description/declaration-block-no-duplicate-custom-properties.md index 201ea18..5e3e7cc 100644 --- a/docs/description/declaration-block-no-duplicate-custom-properties.md +++ b/docs/description/declaration-block-no-duplicate-custom-properties.md @@ -11,7 +11,7 @@ a { --custom-property: pink; --custom-property: orange; } This rule is case-sensitive. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-block-no-duplicate-properties.md b/docs/description/declaration-block-no-duplicate-properties.md index dc4cb68..2902828 100644 --- a/docs/description/declaration-block-no-duplicate-properties.md +++ b/docs/description/declaration-block-no-duplicate-properties.md @@ -11,9 +11,9 @@ a { color: pink; color: orange; } This rule ignores variables (`$sass`, `@less`, `--custom-property`). -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-block-no-redundant-longhand-properties.md b/docs/description/declaration-block-no-redundant-longhand-properties.md index 1d1a60f..5765312 100644 --- a/docs/description/declaration-block-no-redundant-longhand-properties.md +++ b/docs/description/declaration-block-no-redundant-longhand-properties.md @@ -90,9 +90,9 @@ This rule complains when the following shorthand properties can be used: Flexbox-related properties can be ignored using `ignoreShorthands: ["/flex/"]` (see below). -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix most of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix most of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-block-no-shorthand-property-overrides.md b/docs/description/declaration-block-no-shorthand-property-overrides.md index 89337ba..1891185 100644 --- a/docs/description/declaration-block-no-shorthand-property-overrides.md +++ b/docs/description/declaration-block-no-shorthand-property-overrides.md @@ -11,7 +11,7 @@ a { background-repeat: repeat; background: green; } In almost every case, this is just an authorial oversight. For more about this behavior, see [MDN's documentation of shorthand properties](https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties). -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-block-single-line-max-declarations.md b/docs/description/declaration-block-single-line-max-declarations.md index c8d459e..22ee83e 100644 --- a/docs/description/declaration-block-single-line-max-declarations.md +++ b/docs/description/declaration-block-single-line-max-declarations.md @@ -9,7 +9,7 @@ a { color: pink; top: 0; } * The number of these declarations */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-empty-line-before.md b/docs/description/declaration-empty-line-before.md index 600aeef..6a54f5f 100644 --- a/docs/description/declaration-empty-line-before.md +++ b/docs/description/declaration-empty-line-before.md @@ -13,9 +13,9 @@ a { * This line */ ``` -This rule only applies to standard property declarations. Use the [`custom-property-empty-line-before`](https://github.com/stylelint/stylelint/16.10.0/lib/rules/custom-property-empty-line-before/README.md) rule for custom property declarations. +This rule only applies to standard property declarations. Use the [`custom-property-empty-line-before`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/custom-property-empty-line-before/README.md) rule for custom property declarations. -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/declaration-property-max-values.md b/docs/description/declaration-property-max-values.md index c75c3f1..ab6e371 100644 --- a/docs/description/declaration-property-max-values.md +++ b/docs/description/declaration-property-max-values.md @@ -2,7 +2,7 @@ Limit the number of values for a list of properties within declarations. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-property-unit-allowed-list.md b/docs/description/declaration-property-unit-allowed-list.md index 0bd278e..3d442fa 100644 --- a/docs/description/declaration-property-unit-allowed-list.md +++ b/docs/description/declaration-property-unit-allowed-list.md @@ -9,7 +9,7 @@ a { width: 100px; } * These properties and these units */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-property-unit-disallowed-list.md b/docs/description/declaration-property-unit-disallowed-list.md index 04e4ffc..435fdbc 100644 --- a/docs/description/declaration-property-unit-disallowed-list.md +++ b/docs/description/declaration-property-unit-disallowed-list.md @@ -9,7 +9,7 @@ a { width: 100px; } * These properties and these units */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-property-value-allowed-list.md b/docs/description/declaration-property-value-allowed-list.md index 62d1040..5affe1e 100644 --- a/docs/description/declaration-property-value-allowed-list.md +++ b/docs/description/declaration-property-value-allowed-list.md @@ -9,7 +9,7 @@ a { text-transform: uppercase; } * These properties and these values */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-property-value-disallowed-list.md b/docs/description/declaration-property-value-disallowed-list.md index 28b619d..9ce3b9f 100644 --- a/docs/description/declaration-property-value-disallowed-list.md +++ b/docs/description/declaration-property-value-disallowed-list.md @@ -9,7 +9,7 @@ a { text-transform: uppercase; } * These properties and these values */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-property-value-keyword-no-deprecated.md b/docs/description/declaration-property-value-keyword-no-deprecated.md new file mode 100644 index 0000000..795b71e --- /dev/null +++ b/docs/description/declaration-property-value-keyword-no-deprecated.md @@ -0,0 +1,78 @@ +# declaration-property-value-keyword-no-deprecated + +Disallow deprecated keywords for properties within declarations. + + +```css + a { color: ThreeDDarkShadow; } +/** ↑ ↑ + * property and value pairs like these */ +``` + +This rule flags keywords that were removed or deprecated after being in the CSS specifications, including editor drafts, and were subsequently either: + +- shipped in a stable version of a browser +- shipped by a developer channel/edition browser +- shipped but behind experimental flags +- polyfilled with some adoption before any browser actually shipped +- had an MDN page at one point in time + +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix some of the problems reported by this rule. + +Prior art: + +- [@isnotdefined/no-obsolete](https://www.npmjs.com/package/@isnotdefined/stylelint-plugin) + +## Options + +### `true` + +The following patterns are considered problems: + + +```css +a { overflow: overlay; } +``` + + +```css +a { text-justify: distribute; } +``` + +The following patterns are _not_ considered problems: + + +```css +a { overflow: auto; } +``` + + +```css +a { text-justify: inter-character; } +``` + +## Optional secondary options + +### `ignoreKeywords: ["/regex/", /regex/, "string"]` + +Given: + +```json +["ActiveBorder", "/caption/i"] +``` + +The following patterns are _not_ considered problems: + + +```css +a { + color: ActiveBorder; +} +``` + + +```css +a { + color: InactiveCaptionText; +} +``` diff --git a/docs/description/declaration-property-value-no-unknown.md b/docs/description/declaration-property-value-no-unknown.md index ab22526..597091b 100644 --- a/docs/description/declaration-property-value-no-unknown.md +++ b/docs/description/declaration-property-value-no-unknown.md @@ -11,18 +11,27 @@ a { top: unknown; } This rule considers values for properties defined within the CSS specifications to be known. You can use the `propertiesSyntax` and `typesSyntax` secondary options to extend the syntax. -This rule is only appropriate for CSS. You should not turn it on for CSS-like languages, such as Sass or Less, as they have their own syntaxes. +You can filter the [CSSTree Syntax Reference](https://csstree.github.io/docs/syntax/) to find out what value syntax is known for a property. -This rule is experimental with some false negatives that we'll patch in minor releases. +This rule is only appropriate for CSS. You should not turn it on for CSS-like languages, such as SCSS or Less. -It sometimes overlaps with: +This rule checks property values. You can use [`at-rule-descriptor-value-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/at-rule-descriptor-value-no-unknown/README.md) to disallow unknown values for descriptors within at-rules. -- [`color-no-invalid-hex`](https://github.com/stylelint/stylelint/16.10.0/lib/rules/color-no-invalid-hex/README.md) -- [`function-no-unknown`](https://github.com/stylelint/stylelint/16.10.0/lib/rules/function-no-unknown/README.md) -- [`string-no-newline`](https://github.com/stylelint/stylelint/16.10.0/lib/rules/string-no-newline/README.md) -- [`unit-no-unknown`](https://github.com/stylelint/stylelint/16.10.0/lib/rules/unit-no-unknown/README.md) +This rule overlaps with: -If duplicate problems are flagged, you can turn off the corresponding rule. +- [`color-no-invalid-hex`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/color-no-invalid-hex/README.md) +- [`function-linear-gradient-no-nonstandard-direction`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/function-linear-gradient-no-nonstandard-direction/README.md) +- [`function-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/function-no-unknown/README.md) +- [`string-no-newline`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/string-no-newline/README.md) +- [`unit-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/unit-no-unknown/README.md) + +You can either turn off the rules or configure them to ignore the overlaps. + +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept arguments. + +Prior art: + +- [stylelint-csstree-validator](https://www.npmjs.com/package/stylelint-csstree-validator) ## Options diff --git a/docs/description/description.json b/docs/description/description.json index 5655faa..da1b230 100644 --- a/docs/description/description.json +++ b/docs/description/description.json @@ -68,6 +68,13 @@ "name" : "comment-word-disallowed-list", "description" : "comment-word-disallowed-list" } ] +}, { + "patternId" : "layer-name-pattern", + "title" : "Specify a pattern for layer names.", + "parameters" : [ { + "name" : "layer-name-pattern", + "description" : "layer-name-pattern" + } ] }, { "patternId" : "font-size-is-readable", "title" : "Disallow font sizes less than 15px (or 11.25pt).", @@ -159,6 +166,13 @@ "name" : "declaration-block-no-duplicate-custom-properties", "description" : "declaration-block-no-duplicate-custom-properties" } ] +}, { + "patternId" : "declaration-property-value-keyword-no-deprecated", + "title" : "Disallow deprecated keywords for properties within declarations.", + "parameters" : [ { + "name" : "declaration-property-value-keyword-no-deprecated", + "description" : "declaration-property-value-keyword-no-deprecated" + } ] }, { "patternId" : "function-disallowed-list", "title" : "Specify a list of disallowed functions.", @@ -257,6 +271,13 @@ "name" : "map-keys-quotes", "description" : "map-keys-quotes" } ] +}, { + "patternId" : "at-rule-descriptor-no-unknown", + "title" : "Disallow unknown descriptors for at-rules.", + "parameters" : [ { + "name" : "at-rule-descriptor-no-unknown", + "description" : "at-rule-descriptor-no-unknown" + } ] }, { "patternId" : "at-rule-allowed-list", "title" : "Specify a list of allowed at-rules.", @@ -824,13 +845,6 @@ "name" : "selector-max-compound-selectors", "description" : "selector-max-compound-selectors" } ] -}, { - "patternId" : "at-rule-property-required-list", - "title" : "Specify a list of required properties for an at-rule.", - "parameters" : [ { - "name" : "at-rule-property-required-list", - "description" : "at-rule-property-required-list" - } ] }, { "patternId" : "declaration-property-value-no-unknown", "title" : "Disallow unknown values for properties within declarations.", @@ -922,6 +936,13 @@ "name" : "at-if-no-null", "description" : "at-if-no-null" } ] +}, { + "patternId" : "at-rule-prelude-no-invalid", + "title" : "Disallow invalid preludes for at-rules.", + "parameters" : [ { + "name" : "at-rule-prelude-no-invalid", + "description" : "at-rule-prelude-no-invalid" + } ] }, { "patternId" : "length-zero-no-unit", "title" : "Disallow units for zero lengths.", @@ -992,6 +1013,13 @@ "name" : "no-descending-specificity", "description" : "no-descending-specificity" } ] +}, { + "patternId" : "at-rule-property-required-list", + "title" : "Specify a list of required properties (or descriptors) for an at-rule.", + "parameters" : [ { + "name" : "at-rule-property-required-list", + "description" : "at-rule-property-required-list" + } ] }, { "patternId" : "scss_at-function-pattern", "title" : "Specify a pattern for Sass/SCSS-like function names.", @@ -1132,6 +1160,13 @@ "name" : "selector-max-pseudo-class", "description" : "selector-max-pseudo-class" } ] +}, { + "patternId" : "scss_no-duplicate-load-rules", + "title" : "Disallow duplicate `@import`, `@use` and `@forward` rules.", + "parameters" : [ { + "name" : "no-duplicate-load-rules", + "description" : "no-duplicate-load-rules" + } ] }, { "patternId" : "alpha-value-notation", "title" : "Specify percentage or number notation for alpha-values.", @@ -1139,13 +1174,6 @@ "name" : "alpha-value-notation", "description" : "alpha-value-notation" } ] -}, { - "patternId" : "comment-whitespace-inside", - "title" : "Require or disallow whitespace on the inside of comment markers.", - "parameters" : [ { - "name" : "comment-whitespace-inside", - "description" : "comment-whitespace-inside" - } ] }, { "patternId" : "no-unknown-animations", "title" : "Disallow unknown animations.", @@ -1167,6 +1195,20 @@ "name" : "selector-no-vendor-prefix", "description" : "selector-no-vendor-prefix" } ] +}, { + "patternId" : "comment-whitespace-inside", + "title" : "Require or disallow whitespace on the inside of comment markers.", + "parameters" : [ { + "name" : "comment-whitespace-inside", + "description" : "comment-whitespace-inside" + } ] +}, { + "patternId" : "syntax-string-no-invalid", + "title" : "Disallow invalid syntax strings.", + "parameters" : [ { + "name" : "syntax-string-no-invalid", + "description" : "syntax-string-no-invalid" + } ] }, { "patternId" : "scss_double-slash-comment-inline", "title" : "Require or disallow `//`-comments to be inline comments.", @@ -1321,6 +1363,13 @@ "name" : "at-mixin-parentheses-space-before", "description" : "at-mixin-parentheses-space-before" } ] +}, { + "patternId" : "at-rule-descriptor-value-no-unknown", + "title" : "Disallow unknown values for descriptors within at-rules.", + "parameters" : [ { + "name" : "at-rule-descriptor-value-no-unknown", + "description" : "at-rule-descriptor-value-no-unknown" + } ] }, { "patternId" : "scss_dollar-variable-no-namespaced-assignment", "title" : "Disallow assignment to namespaced variables.", @@ -1426,6 +1475,13 @@ "name" : "no-duplicate-mixins", "description" : "no-duplicate-mixins" } ] +}, { + "patternId" : "at-rule-no-deprecated", + "title" : "Disallow deprecated at-rules.", + "parameters" : [ { + "name" : "at-rule-no-deprecated", + "description" : "at-rule-no-deprecated" + } ] }, { "patternId" : "declaration-block-no-duplicate-properties", "title" : "Disallow duplicate properties within declaration blocks.", diff --git a/docs/description/font-family-name-quotes.md b/docs/description/font-family-name-quotes.md index ad037f6..3df9c70 100644 --- a/docs/description/font-family-name-quotes.md +++ b/docs/description/font-family-name-quotes.md @@ -13,7 +13,9 @@ This rule checks the `font` and `font-family` properties. This rule ignores `$sass`, `@less`, and `var(--custom-property)` variable syntaxes. -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix most of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix most of the problems reported by this rule. + +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept arguments. ## Options @@ -21,7 +23,7 @@ The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guid _Please read the following to understand these options_: -- The `font` and `font-family` properties accept a short list of special **keywords**: `inherit`, `serif`, `sans-serif`, `cursive`, `fantasy`, `system-ui`, `monospace`, `ui-serif`, `ui-sans-serif`, `ui-monospace`, and `ui-rounded`. If you wrap these words in quotes, the browser will not interpret them as keywords, but will instead look for a font by that name (e.g. will look for a `"sans-serif"` font) -- which is almost _never_ what you want. Instead, you use these keywords to point to the built-in, generic fallbacks (right?). Therefore, _all of the options below enforce no quotes around these keywords_. (If you actually want to use a font named `"sans-serif"`, turn this rule off.) +- The `font` and `font-family` properties accept a short list of special **keywords**: `inherit`, `serif`, `sans-serif`, `cursive`, `fantasy`, `system-ui`, `monospace`, `ui-serif`, `ui-sans-serif`, `ui-monospace`, `ui-rounded`, `emoji`, `math` and `fangsong`. If you wrap these words in quotes, the browser will not interpret them as keywords, but will instead look for a font by that name (e.g. will look for a `"sans-serif"` font) -- which is almost _never_ what you want. Instead, you use these keywords to point to the built-in, generic fallbacks (right?). Therefore, _all of the options below enforce no quotes around these keywords_. (If you actually want to use a font named `"sans-serif"`, turn this rule off.) - Quotes are **recommended** [in the spec](https://www.w3.org/TR/CSS2/fonts.html#font-family-prop) with "font family names that contain white space, digits, or punctuation characters other than hyphens". - Quotes are **required** around font-family names when they are not [valid CSS identifiers](https://www.w3.org/TR/CSS2/syndata.html#value-def-identifier). For example, a font family name requires quotes around it if it contains `$`, `!` or `/`, but does not require quotes just because it contains spaces or a (non-initial) number or underscore. _You can probably bet that almost every font family name you use **will** be a valid CSS identifier_. - Quotes should **never** be used around vendor prefixed system fonts such as `-apple-system` and `BlinkMacSystemFont`. diff --git a/docs/description/font-family-no-duplicate-names.md b/docs/description/font-family-no-duplicate-names.md index 1b08b47..6c5b154 100644 --- a/docs/description/font-family-no-duplicate-names.md +++ b/docs/description/font-family-no-duplicate-names.md @@ -16,6 +16,8 @@ This rule ignores `$sass`, `@less`, and `var(--custom-property)` variable syntax > [!WARNING] > This rule will stumble on _unquoted_ multi-word font names and _unquoted_ font names containing escape sequences. Wrap these font names in quotation marks, and everything should be fine. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept arguments. + ## Options ### `true` diff --git a/docs/description/font-weight-notation.md b/docs/description/font-weight-notation.md index 2830208..af49468 100644 --- a/docs/description/font-weight-notation.md +++ b/docs/description/font-weight-notation.md @@ -19,7 +19,7 @@ a { font: italic small-caps 600 16px/3 cursive; } This rule ignores `$sass`, `@less`, and `var(--custom-property)` variable syntaxes. -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/function-allowed-list.md b/docs/description/function-allowed-list.md index 5f69653..9ed0a77 100644 --- a/docs/description/function-allowed-list.md +++ b/docs/description/function-allowed-list.md @@ -9,7 +9,7 @@ a { transform: scale(1); } * This function */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/function-calc-no-unspaced-operator.md b/docs/description/function-calc-no-unspaced-operator.md index ca954f6..acc7b87 100644 --- a/docs/description/function-calc-no-unspaced-operator.md +++ b/docs/description/function-calc-no-unspaced-operator.md @@ -11,7 +11,9 @@ a { top: calc(1px + 2px); } This rule checks that there is a single whitespace or a newline plus indentation before the `+` or `-` operator, and a single whitespace or a newline after that operator. -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. + +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept arguments. ## Options diff --git a/docs/description/function-disallowed-list.md b/docs/description/function-disallowed-list.md index 0be84ab..57b6c44 100644 --- a/docs/description/function-disallowed-list.md +++ b/docs/description/function-disallowed-list.md @@ -9,7 +9,7 @@ a { transform: scale(1); } * This function */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/function-linear-gradient-no-nonstandard-direction.md b/docs/description/function-linear-gradient-no-nonstandard-direction.md index dbddc2d..a9b9d02 100644 --- a/docs/description/function-linear-gradient-no-nonstandard-direction.md +++ b/docs/description/function-linear-gradient-no-nonstandard-direction.md @@ -16,6 +16,13 @@ A valid and standard direction value is one of the following: A common mistake (matching outdated non-standard syntax) is to use just a side-or-corner without the preceding `to`. +This rule overlaps with: + +- [`at-rule-descriptor-value-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/at-rule-descriptor-value-no-unknown/README.md) +- [`declaration-property-value-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/declaration-property-value-no-unknown/README.md) + +We recommend using these rules for CSS and this rule for CSS-like languages, such as SCSS and Less. + ## Options ### `true` diff --git a/docs/description/function-name-case.md b/docs/description/function-name-case.md index 1a79d52..43da863 100644 --- a/docs/description/function-name-case.md +++ b/docs/description/function-name-case.md @@ -11,9 +11,9 @@ a { width: calc(5% - 10em); } Camel case function names, e.g. `translateX`, are accounted for when the `lower` option is used. -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/function-no-unknown.md b/docs/description/function-no-unknown.md index 90582a8..b88b068 100644 --- a/docs/description/function-no-unknown.md +++ b/docs/description/function-no-unknown.md @@ -13,7 +13,14 @@ This rule considers functions defined in the CSS Specifications to be known. This rule ignores double-dashed custom functions, e.g. `--custom-function()`. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. + +This rule overlaps with: + +- [`at-rule-descriptor-value-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/at-rule-descriptor-value-no-unknown/README.md) +- [`declaration-property-value-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/declaration-property-value-no-unknown/README.md) + +We recommend using these rules for CSS and this rule for CSS-like languages, such as SCSS and Less. ## Options diff --git a/docs/description/function-url-quotes.md b/docs/description/function-url-quotes.md index a5fdb74..c1cdb0d 100644 --- a/docs/description/function-url-quotes.md +++ b/docs/description/function-url-quotes.md @@ -9,7 +9,7 @@ a { background: url("x.jpg") } * These quotes */ ``` -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix most of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix most of the problems reported by this rule. ## Options diff --git a/docs/description/function-url-scheme-allowed-list.md b/docs/description/function-url-scheme-allowed-list.md index 7f60fbf..e34b2e7 100644 --- a/docs/description/function-url-scheme-allowed-list.md +++ b/docs/description/function-url-scheme-allowed-list.md @@ -16,7 +16,7 @@ This rule ignores: - URL arguments without an existing URL scheme - URL arguments with variables or variable interpolation (`$sass`, `@less`, `--custom-property`, `#{$var}`, `@{var}`, `$(var)`) -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/function-url-scheme-disallowed-list.md b/docs/description/function-url-scheme-disallowed-list.md index b79f850..75ed109 100644 --- a/docs/description/function-url-scheme-disallowed-list.md +++ b/docs/description/function-url-scheme-disallowed-list.md @@ -16,7 +16,7 @@ This rule ignores: - URL arguments without an existing URL scheme - URL arguments with variables or variable interpolation (`$sass`, `@less`, `--custom-property`, `#{$var}`, `@{var}`, `$(var)`) -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/hue-degree-notation.md b/docs/description/hue-degree-notation.md index ebd2c54..65f02b7 100644 --- a/docs/description/hue-degree-notation.md +++ b/docs/description/hue-degree-notation.md @@ -11,9 +11,9 @@ Specify number or angle notation for degree hues. Because hues are so often given in degrees, a hue can also be given as a number, which is interpreted as a number of degrees. -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/import-notation.md b/docs/description/import-notation.md index a35f509..56d96fb 100644 --- a/docs/description/import-notation.md +++ b/docs/description/import-notation.md @@ -9,7 +9,9 @@ Specify string or URL notation for `@import` rules. * This notation */ ``` -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. + +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept arguments. ## Options diff --git a/docs/description/keyframe-block-no-duplicate-selectors.md b/docs/description/keyframe-block-no-duplicate-selectors.md index ec8e25e..d1f957b 100644 --- a/docs/description/keyframe-block-no-duplicate-selectors.md +++ b/docs/description/keyframe-block-no-duplicate-selectors.md @@ -11,7 +11,7 @@ Disallow duplicate selectors within keyframe blocks. This rule is case-insensitive. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/keyframe-selector-notation.md b/docs/description/keyframe-selector-notation.md index 9880c33..bea4866 100644 --- a/docs/description/keyframe-selector-notation.md +++ b/docs/description/keyframe-selector-notation.md @@ -11,9 +11,9 @@ Specify keyword or percentage notation for keyframe selectors. The keyword `from` is equivalent to the value `0%`. The keyword `to` is equivalent to the value `100%`. -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/keyframes-name-pattern.md b/docs/description/keyframes-name-pattern.md index da51999..5be87fa 100644 --- a/docs/description/keyframes-name-pattern.md +++ b/docs/description/keyframes-name-pattern.md @@ -9,7 +9,7 @@ Specify a pattern for keyframe names. * The pattern of this */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/layer-name-pattern.md b/docs/description/layer-name-pattern.md new file mode 100644 index 0000000..8db431d --- /dev/null +++ b/docs/description/layer-name-pattern.md @@ -0,0 +1,68 @@ +# layer-name-pattern + +Specify a pattern for layer names. + + +```css +@layer foo {} +/** ↑ + * This layer name */ +``` + +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. + +## Options + +`regex|string` + +A string will be translated into a RegExp like so `new RegExp(yourString)` — so be sure to escape properly. + +Given the string: + +```json +"^[a-z][a-z0-9.-]*$" +``` + +The following patterns are considered problems: + + +```css +@layer Foo; +``` + + +```css +@layer foo.Bar {} +``` + + +```css +@layer foo, Bar {} +``` + + +```css +@import "foo.css" layer(Bar); +``` + +The following patterns are _not_ considered problems: + + +```css +@layer foo; +``` + + +```css +@layer foo.bar {} +``` + + +```css +@layer foo, bar {} +``` + + +```css +@import "foo.css" layer(bar); +``` diff --git a/docs/description/length-zero-no-unit.md b/docs/description/length-zero-no-unit.md index f4cf7a1..15258fb 100644 --- a/docs/description/length-zero-no-unit.md +++ b/docs/description/length-zero-no-unit.md @@ -13,7 +13,7 @@ _Lengths_ refer to distance measurements. A length is a _dimension_, which is a This rule ignores lengths within math functions (e.g. `calc`). -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options @@ -87,3 +87,25 @@ a { top: var(--foo, 0px); } ```css a { top: --bar(0px); } ``` + +### `ignorePreludeOfAtRules: ["/regex/", /regex/, "string"]` + +Ignore units for zero lengths within the preludes of the specified at-rules. + +Given: + +```json +["media", "/^--bar/"] +``` + +The following patterns are _not_ considered problems: + + +```css +@media (height > 0px) {} +``` + + +```css +@--bar-baz 0px; +``` diff --git a/docs/description/lightness-notation.md b/docs/description/lightness-notation.md index e6cbd92..4605dc7 100644 --- a/docs/description/lightness-notation.md +++ b/docs/description/lightness-notation.md @@ -11,9 +11,9 @@ Specify number or percentage notation for lightness. This rule supports `oklch`, `oklab`, `lch` and `lab` functions. -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/max-nesting-depth.md b/docs/description/max-nesting-depth.md index 8ad668f..64cd3f8 100644 --- a/docs/description/max-nesting-depth.md +++ b/docs/description/max-nesting-depth.md @@ -48,7 +48,7 @@ a { This rule integrates into Stylelint's core the functionality of the (now deprecated) plugin [`stylelint-statement-max-nesting-depth`](https://github.com/davidtheclark/stylelint-statement-max-nesting-depth). -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/media-feature-name-allowed-list.md b/docs/description/media-feature-name-allowed-list.md index a774e69..32390e1 100644 --- a/docs/description/media-feature-name-allowed-list.md +++ b/docs/description/media-feature-name-allowed-list.md @@ -9,7 +9,7 @@ Specify a list of allowed media feature names. * This media feature name */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/media-feature-name-disallowed-list.md b/docs/description/media-feature-name-disallowed-list.md index ff97c89..c96d1ad 100644 --- a/docs/description/media-feature-name-disallowed-list.md +++ b/docs/description/media-feature-name-disallowed-list.md @@ -9,7 +9,7 @@ Specify a list of disallowed media feature names. * This media feature name */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/media-feature-name-no-unknown.md b/docs/description/media-feature-name-no-unknown.md index 59207dc..27e0ad7 100644 --- a/docs/description/media-feature-name-no-unknown.md +++ b/docs/description/media-feature-name-no-unknown.md @@ -13,7 +13,7 @@ This rule considers media feature names defined in the CSS Specifications, up to This rule ignores vendor-prefixed media feature names. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/media-feature-name-no-vendor-prefix.md b/docs/description/media-feature-name-no-vendor-prefix.md index 041355c..6c556f8 100644 --- a/docs/description/media-feature-name-no-vendor-prefix.md +++ b/docs/description/media-feature-name-no-vendor-prefix.md @@ -11,7 +11,7 @@ Disallow vendor prefixes for media feature names. This rule ignores non-standard vendor-prefixed media feature names that aren't handled by [Autoprefixer](https://github.com/postcss/autoprefixer). -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate media feature names produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate media feature names produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. ## Options diff --git a/docs/description/media-feature-name-unit-allowed-list.md b/docs/description/media-feature-name-unit-allowed-list.md index da2bc1b..9730def 100644 --- a/docs/description/media-feature-name-unit-allowed-list.md +++ b/docs/description/media-feature-name-unit-allowed-list.md @@ -9,6 +9,8 @@ Specify a list of allowed name and unit pairs within media features. * This media feature name and these units */ ``` +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. + ## Options `object`: `{ "name": ["array", "of", "units"]|"unit" }` diff --git a/docs/description/media-feature-name-value-allowed-list.md b/docs/description/media-feature-name-value-allowed-list.md index c54dfc1..4dd680f 100644 --- a/docs/description/media-feature-name-value-allowed-list.md +++ b/docs/description/media-feature-name-value-allowed-list.md @@ -9,7 +9,7 @@ Specify a list of allowed media feature name and value pairs. * These features and values */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/media-feature-name-value-no-unknown.md b/docs/description/media-feature-name-value-no-unknown.md index 4bd6a14..3517e0c 100644 --- a/docs/description/media-feature-name-value-no-unknown.md +++ b/docs/description/media-feature-name-value-no-unknown.md @@ -11,17 +11,15 @@ Disallow unknown values for media features. This rule considers values for media features defined within the CSS specifications to be known. -This rule is only appropriate for CSS. You should not turn it on for CSS-like languages, such as Sass or Less, as they have their own syntaxes. - -This rule is experimental with some false negatives that we'll patch in minor releases. +This rule is only appropriate for CSS. You should not turn it on for CSS-like languages, such as SCSS or Less. It sometimes overlaps with: -- [`unit-no-unknown`](https://github.com/stylelint/stylelint/16.10.0/lib/rules/unit-no-unknown/README.md) +- [`unit-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/unit-no-unknown/README.md) If duplicate problems are flagged, you can turn off the corresponding rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/media-feature-range-notation.md b/docs/description/media-feature-range-notation.md index 7161df0..b49f16a 100644 --- a/docs/description/media-feature-range-notation.md +++ b/docs/description/media-feature-range-notation.md @@ -13,9 +13,9 @@ Media features of the range type can be written using prefixes or the more moder Because `min-` and `max-` both equate to range comparisons that include the value, they may be [limiting in certain situations](https://drafts.csswg.org/mediaqueries/#mq-min-max). -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix some of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix some of the problems reported by this rule. ## Options diff --git a/docs/description/media-query-no-invalid.md b/docs/description/media-query-no-invalid.md index 505940c..84ed2a2 100644 --- a/docs/description/media-query-no-invalid.md +++ b/docs/description/media-query-no-invalid.md @@ -11,14 +11,14 @@ Disallow invalid media queries. Media queries must be grammatically valid according to the [Media Queries Level 5](https://www.w3.org/TR/mediaqueries-5/) specification. -This rule is only appropriate for CSS. You should not turn it on for CSS-like languages, such as Sass or Less, as they have their own syntaxes. +This rule is only appropriate for CSS. You should not turn it on for CSS-like languages, such as SCSS or Less. It works well with other rules that validate feature names and values: -- [`media-feature-name-no-unknown`](https://github.com/stylelint/stylelint/16.10.0/lib/rules/media-feature-name-no-unknown/README.md) -- [`media-feature-name-value-no-unknown`](https://github.com/stylelint/stylelint/16.10.0/lib/rules/media-feature-name-value-no-unknown/README.md) +- [`media-feature-name-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/media-feature-name-no-unknown/README.md) +- [`media-feature-name-value-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/media-feature-name-value-no-unknown/README.md) -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options @@ -62,3 +62,27 @@ The following patterns are _not_ considered problems: ```css @media (color) and ((hover) or (width)) {} ``` + +## Optional secondary options + +### `ignoreFunctions: ["/regex/", /regex/, "string"]` + +Ignore the specified functions. + +Given: + +```json +["theme", "/^get.*$/"] +``` + +The following patterns are _not_ considered problems: + + +```css +@media (min-width: theme(screens.md)) {} +``` + + +```css +@media (max-width: get-default-width()) {} +``` diff --git a/docs/description/no-descending-specificity.md b/docs/description/no-descending-specificity.md index 1676410..8bb74f6 100644 --- a/docs/description/no-descending-specificity.md +++ b/docs/description/no-descending-specificity.md @@ -15,7 +15,7 @@ The clashes of these two mechanisms for prioritization, source order and specifi This rule enforces that practice _as best it can_, reporting fewer errors than it should. It cannot catch every _actual_ overriding selector, but it can catch certain common mistakes. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## How it works diff --git a/docs/description/no-duplicate-at-import-rules.md b/docs/description/no-duplicate-at-import-rules.md index 25557a1..f67cf06 100644 --- a/docs/description/no-duplicate-at-import-rules.md +++ b/docs/description/no-duplicate-at-import-rules.md @@ -10,7 +10,7 @@ Disallow duplicate `@import` rules. * These are duplicates */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/no-duplicate-selectors.md b/docs/description/no-duplicate-selectors.md index 8bbbdb0..1c488a2 100644 --- a/docs/description/no-duplicate-selectors.md +++ b/docs/description/no-duplicate-selectors.md @@ -22,7 +22,7 @@ The same selector _is_ allowed to repeat in the following circumstances: This rule resolves nested selectors. So `a b {} a { & b {} }` counts as a problem, because the resolved selectors end up with a duplicate. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/no-unknown-animations.md b/docs/description/no-unknown-animations.md index d40bb12..fc629c8 100644 --- a/docs/description/no-unknown-animations.md +++ b/docs/description/no-unknown-animations.md @@ -15,7 +15,7 @@ a { animation: fancy-slide 2s linear; } This rule considers the identifiers of `@keyframes` rules defined within the same source to be known. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/no-unknown-custom-media.md b/docs/description/no-unknown-custom-media.md index 7a8b8da..c9583cf 100644 --- a/docs/description/no-unknown-custom-media.md +++ b/docs/description/no-unknown-custom-media.md @@ -15,7 +15,7 @@ Disallow unknown custom media queries. This rule considers custom media queries defined **within the same source** to be known. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/no-unknown-custom-properties.md b/docs/description/no-unknown-custom-properties.md index e0b6f79..571d1ab 100644 --- a/docs/description/no-unknown-custom-properties.md +++ b/docs/description/no-unknown-custom-properties.md @@ -15,7 +15,7 @@ a { color: var(--foo, var(--bar)); } This rule considers custom properties defined within the same source to be known. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/number-max-precision.md b/docs/description/number-max-precision.md index 4689568..965f34c 100644 --- a/docs/description/number-max-precision.md +++ b/docs/description/number-max-precision.md @@ -9,7 +9,7 @@ a { top: 3.245634px; } * This decimal place */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/property-allowed-list.md b/docs/description/property-allowed-list.md index b2d50b0..cfff094 100644 --- a/docs/description/property-allowed-list.md +++ b/docs/description/property-allowed-list.md @@ -4,14 +4,14 @@ Specify a list of allowed properties. ```css -a { display: block; } +a { color: red; } /** ↑ * This property */ ``` -This rule ignores variables (`$sass`, `@less`, `--custom-property`). +This rule ignores preprocessor variables (e.g. `$sass`, `@less`). -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options @@ -22,21 +22,21 @@ If a string is surrounded with `"/"` (e.g. `"/^background/"`), it is interpreted Given: ```json -["display", "animation", "/^background/"] +["display", "animation", "/^background/", "--foo"] ``` The following patterns are considered problems: ```css -a { color: pink; } +a { color: red; } ``` ```css a { animation: my-animation 2s; - color: pink; + color: red; } ``` @@ -45,6 +45,11 @@ a { a { borkgrund: orange; } ``` + +```css +a { --bar: red; } +``` + The following patterns are _not_ considered problems: @@ -68,10 +73,15 @@ a { ```css -a { background: pink; } +a { background: red; } +``` + + +```css +a { background-color: red; } ``` ```css -a { background-color: pink; } +a { --foo: red; } ``` diff --git a/docs/description/property-disallowed-list.md b/docs/description/property-disallowed-list.md index e5822c3..2bbf58e 100644 --- a/docs/description/property-disallowed-list.md +++ b/docs/description/property-disallowed-list.md @@ -9,7 +9,9 @@ a { text-rendering: optimizeLegibility; } * This property */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +This rule ignores preprocessor variables (e.g. `$sass`, `@less`). + +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options @@ -20,7 +22,7 @@ If a string is surrounded with `"/"` (e.g. `"/^background/"`), it is interpreted Given: ```json -["text-rendering", "animation", "/^background/"] +["text-rendering", "animation", "/^background/", "--foo"] ``` The following patterns are considered problems: @@ -34,7 +36,13 @@ a { text-rendering: optimizeLegibility; } ```css a { animation: my-animation 2s; - color: pink; +} +``` + + +```css +a { + --foo: red; } ``` @@ -45,7 +53,7 @@ a { -webkit-animation: my-animation 2s; } ```css -a { background: pink; } +a { background: red; } ``` @@ -57,10 +65,17 @@ The following patterns are _not_ considered problems: ```css -a { color: pink; } +a { color: red; } ``` ```css a { no-background: sure; } ``` + + +```css +a { + --bar: red; +} +``` diff --git a/docs/description/property-no-unknown.md b/docs/description/property-no-unknown.md index 2ffdad3..dcb2032 100644 --- a/docs/description/property-no-unknown.md +++ b/docs/description/property-no-unknown.md @@ -18,7 +18,9 @@ This rule ignores: Use option `checkPrefixed` described below to turn on checking of vendor-prefixed properties. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. + +For customizing syntax, see the [`languageOptions`](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#languageoptions) section. ## Options diff --git a/docs/description/property-no-vendor-prefix.md b/docs/description/property-no-vendor-prefix.md index 21ba41b..7fbd830 100644 --- a/docs/description/property-no-vendor-prefix.md +++ b/docs/description/property-no-vendor-prefix.md @@ -11,9 +11,9 @@ a { -webkit-transform: scale(1); } This rule ignores non-standard vendor-prefixed properties that aren't handled by [Autoprefixer](https://github.com/postcss/autoprefixer). -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate properties produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate properties produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/rule-empty-line-before.md b/docs/description/rule-empty-line-before.md index 020ce70..d0b2006 100644 --- a/docs/description/rule-empty-line-before.md +++ b/docs/description/rule-empty-line-before.md @@ -13,7 +13,7 @@ b {} /* ↑ */ This rule ignores rules that are the very first node in a source. -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/rule-selector-property-disallowed-list.md b/docs/description/rule-selector-property-disallowed-list.md index bd753d1..1a5f8a5 100644 --- a/docs/description/rule-selector-property-disallowed-list.md +++ b/docs/description/rule-selector-property-disallowed-list.md @@ -9,7 +9,7 @@ Specify a list of disallowed properties for selectors within rules. * Selector and property name */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/scss_at-else-empty-line-before.md b/docs/description/scss_at-else-empty-line-before.md index 85f8d7f..1e20616 100644 --- a/docs/description/scss_at-else-empty-line-before.md +++ b/docs/description/scss_at-else-empty-line-before.md @@ -66,4 +66,4 @@ a { ## Caveats -If you use autofix, this rule could clash with [`at-mixin-parentheses-space-before`](https://github.com/stylelint-scss/stylelint-scss/6.8.0/src/rules/at-mixin-parentheses-space-before/README.md) rule. +If you use autofix, this rule could clash with [`at-mixin-parentheses-space-before`](https://github.com/stylelint-scss/stylelint-scss/6.11.1/src/rules/at-mixin-parentheses-space-before/README.md) rule. diff --git a/docs/description/scss_declaration-property-value-no-unknown.md b/docs/description/scss_declaration-property-value-no-unknown.md index 83d8571..534cacd 100644 --- a/docs/description/scss_declaration-property-value-no-unknown.md +++ b/docs/description/scss_declaration-property-value-no-unknown.md @@ -17,10 +17,10 @@ This rule is experimental with some false negatives that we'll patch in minor re It sometimes overlaps with: -- [`color-no-invalid-hex`](https://github.com/stylelint-scss/stylelint-scss/6.8.0/src/rules/color-no-invalid-hex/README.md) -- [`function-no-unknown`](https://github.com/stylelint-scss/stylelint-scss/6.8.0/src/rules/function-no-unknown/README.md) -- [`string-no-newline`](https://github.com/stylelint-scss/stylelint-scss/6.8.0/src/rules/string-no-newline/README.md) -- [`unit-no-unknown`](https://github.com/stylelint-scss/stylelint-scss/6.8.0/src/rules/unit-no-unknown/README.md) +- [`color-no-invalid-hex`](https://github.com/stylelint-scss/stylelint-scss/6.11.1/src/rules/color-no-invalid-hex/README.md) +- [`function-no-unknown`](https://github.com/stylelint-scss/stylelint-scss/6.11.1/src/rules/function-no-unknown/README.md) +- [`string-no-newline`](https://github.com/stylelint-scss/stylelint-scss/6.11.1/src/rules/string-no-newline/README.md) +- [`unit-no-unknown`](https://github.com/stylelint-scss/stylelint-scss/6.11.1/src/rules/unit-no-unknown/README.md) If duplicate problems are flagged, you can turn off the corresponding rule. diff --git a/docs/description/scss_no-duplicate-load-rules.md b/docs/description/scss_no-duplicate-load-rules.md new file mode 100644 index 0000000..f4bb41a --- /dev/null +++ b/docs/description/scss_no-duplicate-load-rules.md @@ -0,0 +1,143 @@ +# no-duplicate-load-rules + +Disallow duplicate `@import`, `@use` and `@forward` rules. + + +```css + @import "a.css"; + @import "a.css"; +/** ↑ + * These are duplicates */ +``` + + +```scss + @use "a" as a; + @use "a" as b; +/** ↑ + * These are duplicates */ +``` + + +```scss + @forward "a" with ($blue: #333); + @forward "a" with ($blue: #333); +/** ↑ + * With @forward, they are only considered duplicates if they have the exact same confuguration. */ +``` + +The [`message` secondary option](https://github.com/stylelint/stylelint/blob/main/docs/user-guide/configure.md#message) can accept the arguments of this rule. + +## Options + +### `true` + +The following patterns are considered problems: + + +```css +@import 'a.css'; +@import 'a.css'; +``` + + +```css +@import url("a.css"); +@import url("a.css"); +``` + + +```css +@import "a.css"; +@import 'a.css'; +``` + + +```css +@import "a.css"; +@import 'b.css'; +@import url(a.css); +``` + + +```scss +@use "a"; +@use "a"; +``` + + +```scss +@use "a" as abc; +@use "a" as xyz; +``` + + +```scss +@use 'a' with ( +$black: #222, +$border-radius: 0.1rem +); +@use 'a' with ($blue: #333); +``` + + +```scss +@forward 'a' with ($blue: #333); +@forward 'a' with ($blue: #333); +``` + + +```scss +@forward "a" hide $vertical-list-gap; +@forward "a" hide $vertical-list-gap; +``` + +The following patterns are _not_ considered problems: + + +```css +@import "a.css"; +@import "b.css"; +``` + + +```css +@import url('a.css') projection; +@import url('a.css') tv; +``` + + +```scss +@use "a"; +@use "b"; +``` + + +```scss +@use "a" as abc; +@use "b" as xyz; +``` + + +```scss +@use 'a' with ( +$black: #222, +$border-radius: 0.1rem +); +@use 'b' with ($blue: #333); +``` + + +```scss +@forward 'a' with ( +$black: #222, +$border-radius: 0.1rem +); +@forward 'a' with ($blue: #333); +``` + + +```scss +@forward "a" hide list-reset, $horizontal-list-gap; +@forward "a" hide $vertical-list-gap; +``` diff --git a/docs/description/scss_property-no-unknown.md b/docs/description/scss_property-no-unknown.md index 5579f94..f9e458f 100644 --- a/docs/description/scss_property-no-unknown.md +++ b/docs/description/scss_property-no-unknown.md @@ -18,7 +18,7 @@ This rule ignores: Use option `checkPrefixed` described below to turn on checking of vendor-prefixed properties. -The [`message` secondary option](https://github.com/stylelint-scss/stylelint-scss/6.8.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint-scss/stylelint-scss/6.11.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-anb-no-unmatchable.md b/docs/description/selector-anb-no-unmatchable.md index 93008b3..2ca97ef 100644 --- a/docs/description/selector-anb-no-unmatchable.md +++ b/docs/description/selector-anb-no-unmatchable.md @@ -11,7 +11,7 @@ a:nth-child(0n+0) {} [An+B selectors](https://www.w3.org/TR/css-syntax-3/#anb-microsyntax) are one-indexed. Selectors that always evaluate to `0` will not match any elements. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-attribute-name-disallowed-list.md b/docs/description/selector-attribute-name-disallowed-list.md index 1f7525d..a23fa90 100644 --- a/docs/description/selector-attribute-name-disallowed-list.md +++ b/docs/description/selector-attribute-name-disallowed-list.md @@ -9,7 +9,7 @@ Specify a list of disallowed attribute names. * This name */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-attribute-operator-allowed-list.md b/docs/description/selector-attribute-operator-allowed-list.md index dd2320e..19a7c4b 100644 --- a/docs/description/selector-attribute-operator-allowed-list.md +++ b/docs/description/selector-attribute-operator-allowed-list.md @@ -9,7 +9,7 @@ Specify a list of allowed attribute operators. * This operator */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-attribute-operator-disallowed-list.md b/docs/description/selector-attribute-operator-disallowed-list.md index 1959bf8..8125f06 100644 --- a/docs/description/selector-attribute-operator-disallowed-list.md +++ b/docs/description/selector-attribute-operator-disallowed-list.md @@ -9,7 +9,7 @@ Specify a list of disallowed attribute operators. * This operator */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-attribute-quotes.md b/docs/description/selector-attribute-quotes.md index 0a41504..2331912 100644 --- a/docs/description/selector-attribute-quotes.md +++ b/docs/description/selector-attribute-quotes.md @@ -9,7 +9,9 @@ Require or disallow quotes for attribute values. * These quotes */ ``` -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix most of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix most of the problems reported by this rule. + +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept arguments. ## Options diff --git a/docs/description/selector-class-pattern.md b/docs/description/selector-class-pattern.md index a44f428..0347fb1 100644 --- a/docs/description/selector-class-pattern.md +++ b/docs/description/selector-class-pattern.md @@ -13,7 +13,7 @@ This rule ignores non-outputting Less mixin definitions and called Less mixins. Escaped selectors (e.g. `.u-size-11\/12\@sm`) are parsed as escaped twice (e.g. `.u-size-11\\/12\\@sm`). Your RegExp should account for that. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-combinator-allowed-list.md b/docs/description/selector-combinator-allowed-list.md index 3a16a02..465dd8f 100644 --- a/docs/description/selector-combinator-allowed-list.md +++ b/docs/description/selector-combinator-allowed-list.md @@ -13,7 +13,7 @@ This rule normalizes the whitespace descendant combinator to be a single space. This rule ignores [reference combinators](https://www.w3.org/TR/selectors4/#idref-combinators) e.g. `/for/`. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-combinator-disallowed-list.md b/docs/description/selector-combinator-disallowed-list.md index 8396c58..a8aa207 100644 --- a/docs/description/selector-combinator-disallowed-list.md +++ b/docs/description/selector-combinator-disallowed-list.md @@ -13,7 +13,7 @@ This rule normalizes the whitespace descendant combinator to be a single space. This rule ignores [reference combinators](https://www.w3.org/TR/selectors4/#idref-combinators) e.g. `/for/`. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-disallowed-list.md b/docs/description/selector-disallowed-list.md index 64d3a11..e9cb4d3 100644 --- a/docs/description/selector-disallowed-list.md +++ b/docs/description/selector-disallowed-list.md @@ -9,7 +9,7 @@ Specify a list of disallowed selectors. * This is selector */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-id-pattern.md b/docs/description/selector-id-pattern.md index ca28845..2bb7f18 100644 --- a/docs/description/selector-id-pattern.md +++ b/docs/description/selector-id-pattern.md @@ -9,7 +9,7 @@ Specify a pattern for ID selectors. * These ID selectors */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-attribute.md b/docs/description/selector-max-attribute.md index 26daa8b..61b4c00 100644 --- a/docs/description/selector-max-attribute.md +++ b/docs/description/selector-max-attribute.md @@ -13,7 +13,7 @@ This rule resolves nested selectors before counting the number of attribute sele The `:not()` pseudo-class is also evaluated separately. The rule processes the argument as if it were an independent selector, and the result does not count toward the total for the entire selector. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-class.md b/docs/description/selector-max-class.md index e7b6083..9b5fb96 100644 --- a/docs/description/selector-max-class.md +++ b/docs/description/selector-max-class.md @@ -14,7 +14,7 @@ This rule resolves nested selectors before counting the number of classes in a s The `:not()` pseudo-class is also evaluated separately. The rule processes the argument as if it were an independent selector, and the result does not count toward the total for the entire selector. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-combinators.md b/docs/description/selector-max-combinators.md index adfb3db..daededc 100644 --- a/docs/description/selector-max-combinators.md +++ b/docs/description/selector-max-combinators.md @@ -11,7 +11,7 @@ Limit the number of combinators in a selector. This rule resolves nested selectors before counting the number of combinators selectors. Each selector in a [selector list](https://www.w3.org/TR/selectors4/#selector-list) is evaluated separately. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-compound-selectors.md b/docs/description/selector-max-compound-selectors.md index 8198cf6..5e992e3 100644 --- a/docs/description/selector-max-compound-selectors.md +++ b/docs/description/selector-max-compound-selectors.md @@ -17,7 +17,7 @@ This rule resolves nested selectors before counting the depth of a selector. Eac > [!WARNING] > The `:not()` pseudo-class is considered one compound selector irrespective to the complexity of the selector inside it. The rule _does_ process that inner selector, but does so separately, independent of the main selector. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-id.md b/docs/description/selector-max-id.md index 21b182e..e8588a1 100644 --- a/docs/description/selector-max-id.md +++ b/docs/description/selector-max-id.md @@ -13,7 +13,7 @@ This rule resolves nested selectors before counting the number of ID selectors. The `:not()` pseudo-class is also evaluated separately. The rule processes the argument as if it were an independent selector, and the result does not count toward the total for the entire selector. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-pseudo-class.md b/docs/description/selector-max-pseudo-class.md index 6eb1292..3fe399c 100644 --- a/docs/description/selector-max-pseudo-class.md +++ b/docs/description/selector-max-pseudo-class.md @@ -14,7 +14,7 @@ This rule resolves nested selectors before counting the number of pseudo-classes The content of the `:not()` pseudo-class is also evaluated separately. The rule processes the argument as if it were an independent selector, and the result does not count toward the total for the entire selector. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-specificity.md b/docs/description/selector-max-specificity.md index 47506b0..cb833c7 100644 --- a/docs/description/selector-max-specificity.md +++ b/docs/description/selector-max-specificity.md @@ -15,7 +15,7 @@ This rule ignores selectors with variable interpolation (`#{$var}`, `@{var}`, `$ This rule resolves nested selectors before counting the specificity of a selector. Each selector in a [selector list](https://www.w3.org/TR/selectors4/#selector-list) is evaluated separately. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-type.md b/docs/description/selector-max-type.md index d32a64c..406a63f 100644 --- a/docs/description/selector-max-type.md +++ b/docs/description/selector-max-type.md @@ -13,7 +13,7 @@ This rule resolves nested selectors before counting the number of type selectors The `:not()` pseudo-class is also evaluated separately. The rule processes the argument as if it were an independent selector, and the result does not count toward the total for the entire selector. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-universal.md b/docs/description/selector-max-universal.md index 5be93f2..9d745b0 100644 --- a/docs/description/selector-max-universal.md +++ b/docs/description/selector-max-universal.md @@ -13,7 +13,7 @@ This rule resolves nested selectors before counting the number of universal sele The logical combinations pseudo-class (e.g. `:not`, `:has`) is also evaluated separately. The rule processes the argument as if it were an independent selector, and the result does not count toward the total for the entire selector. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-nested-pattern.md b/docs/description/selector-nested-pattern.md index 45cfe12..9016dc5 100644 --- a/docs/description/selector-nested-pattern.md +++ b/docs/description/selector-nested-pattern.md @@ -13,7 +13,7 @@ Specify a pattern for the selectors of rules nested within rules. Non-standard selectors (e.g. selectors with Sass or Less interpolation) and selectors of rules nested within at-rules are ignored. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-no-qualifying-type.md b/docs/description/selector-no-qualifying-type.md index 6a88401..95368c5 100644 --- a/docs/description/selector-no-qualifying-type.md +++ b/docs/description/selector-no-qualifying-type.md @@ -11,7 +11,7 @@ Disallow qualifying a selector by type. A type selector is "qualifying" when it is compounded with (chained to) another selector (e.g. `a.foo`, `a#foo`). This rule does not regulate type selectors that are combined with other selectors via a combinator (e.g. `a > .foo`, `a #foo`). -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-no-vendor-prefix.md b/docs/description/selector-no-vendor-prefix.md index a0b90a8..7da4162 100644 --- a/docs/description/selector-no-vendor-prefix.md +++ b/docs/description/selector-no-vendor-prefix.md @@ -11,9 +11,9 @@ input::-moz-placeholder {} This rule ignores non-standard vendor-prefixed selectors that aren't handled by [Autoprefixer](https://github.com/postcss/autoprefixer). -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate selectors produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate selectors produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-not-notation.md b/docs/description/selector-not-notation.md index ec13134..f65f68d 100644 --- a/docs/description/selector-not-notation.md +++ b/docs/description/selector-not-notation.md @@ -16,9 +16,9 @@ Use: - `"complex"` to author modern Selectors Level 4 CSS - `"simple"` for backwards compatibility with older browsers -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) option can automatically fix most of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) option can automatically fix most of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-pseudo-class-allowed-list.md b/docs/description/selector-pseudo-class-allowed-list.md index 58a069a..58e809e 100644 --- a/docs/description/selector-pseudo-class-allowed-list.md +++ b/docs/description/selector-pseudo-class-allowed-list.md @@ -11,7 +11,7 @@ Specify a list of allowed pseudo-class selectors. This rule ignores selectors that use variable interpolation e.g. `:#{$variable} {}`. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-pseudo-class-disallowed-list.md b/docs/description/selector-pseudo-class-disallowed-list.md index 1712f81..e02be83 100644 --- a/docs/description/selector-pseudo-class-disallowed-list.md +++ b/docs/description/selector-pseudo-class-disallowed-list.md @@ -11,7 +11,7 @@ Specify a list of disallowed pseudo-class selectors. This rule ignores selectors that use variable interpolation e.g. `:#{$variable} {}`. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-pseudo-class-no-unknown.md b/docs/description/selector-pseudo-class-no-unknown.md index 857f51c..134da5d 100644 --- a/docs/description/selector-pseudo-class-no-unknown.md +++ b/docs/description/selector-pseudo-class-no-unknown.md @@ -13,7 +13,7 @@ This rule considers pseudo-class selectors defined in the CSS Specifications, up This rule ignores vendor-prefixed pseudo-class selectors. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-pseudo-element-allowed-list.md b/docs/description/selector-pseudo-element-allowed-list.md index c162d64..9e4f453 100644 --- a/docs/description/selector-pseudo-element-allowed-list.md +++ b/docs/description/selector-pseudo-element-allowed-list.md @@ -14,7 +14,7 @@ This rule ignores: - CSS2 pseudo-elements i.e. those prefixed with a single colon - selectors that use variable interpolation e.g. `::#{$variable} {}` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-pseudo-element-colon-notation.md b/docs/description/selector-pseudo-element-colon-notation.md index f263fa8..aeb7e6d 100644 --- a/docs/description/selector-pseudo-element-colon-notation.md +++ b/docs/description/selector-pseudo-element-colon-notation.md @@ -13,7 +13,9 @@ The `::` notation was chosen for _pseudo-elements_ to establish a discrimination However, for compatibility with existing style sheets, user agents also accept the previous one-colon notation for _pseudo-elements_ introduced in CSS levels 1 and 2 (namely, `:first-line`, `:first-letter`, `:before` and `:after`). -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. + +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-pseudo-element-disallowed-list.md b/docs/description/selector-pseudo-element-disallowed-list.md index affb2ff..0a3a19a 100644 --- a/docs/description/selector-pseudo-element-disallowed-list.md +++ b/docs/description/selector-pseudo-element-disallowed-list.md @@ -14,7 +14,7 @@ This rule ignores: - CSS2 pseudo-elements i.e. those prefixed with a single colon - selectors that use variable interpolation e.g. `::#{$variable} {}` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-pseudo-element-no-unknown.md b/docs/description/selector-pseudo-element-no-unknown.md index 7a9ce37..ddde98f 100644 --- a/docs/description/selector-pseudo-element-no-unknown.md +++ b/docs/description/selector-pseudo-element-no-unknown.md @@ -13,7 +13,7 @@ This rule considers pseudo-element selectors defined in the CSS Specifications, This rule ignores vendor-prefixed pseudo-element selectors. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-type-case.md b/docs/description/selector-type-case.md index 6b75ce3..028c666 100644 --- a/docs/description/selector-type-case.md +++ b/docs/description/selector-type-case.md @@ -9,9 +9,9 @@ Specify lowercase or uppercase for type selectors. * This is type selector */ ``` -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-type-no-unknown.md b/docs/description/selector-type-no-unknown.md index 2db2255..fb15567 100644 --- a/docs/description/selector-type-no-unknown.md +++ b/docs/description/selector-type-no-unknown.md @@ -11,7 +11,7 @@ Disallow unknown type selectors. This rule considers tags defined in the HTML, SVG, and MathML specifications to be known. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/shorthand-property-no-redundant-values.md b/docs/description/shorthand-property-no-redundant-values.md index ba6783f..c68d571 100644 --- a/docs/description/shorthand-property-no-redundant-values.md +++ b/docs/description/shorthand-property-no-redundant-values.md @@ -11,7 +11,7 @@ a { margin: 1px 1px 1px 1px; } You can use [shorthand properties](https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties) to set multiple values at once. For example, you can use the `margin` property to set the `margin-top`, `margin-right`, `margin-bottom`, and `margin-left` properties at once. -For some shorthand properties, e.g. those related to the [edges of a box](https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box), you can safely omitted some values. +For some shorthand properties, e.g. those related to the [edges of a box](https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box), you can safely omit some values. This rule checks the following shorthand properties: @@ -28,9 +28,9 @@ This rule checks the following shorthand properties: - `scroll-padding`, `scroll-padding-block`, `scroll-padding-inline` - `inset`, `inset-block`, `inset-inline` -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/string-no-newline.md b/docs/description/string-no-newline.md index 8947b98..9d14011 100644 --- a/docs/description/string-no-newline.md +++ b/docs/description/string-no-newline.md @@ -5,14 +5,23 @@ Disallow invalid newlines within strings. ```css a { - content: "first - second"; }/* ↑ - * ↑ + content: "foo + bar"; }/* ↑ + * ↑ * The newline here */ ``` [The spec](https://www.w3.org/TR/CSS2/syndata.html#strings) says this: "A string cannot directly contain a newline. To include a newline in a string, use an escape representing the line feed character in ISO-10646 (U+000A), such as '\A' or '\00000a'." And also: "It is possible to break strings over several lines, for aesthetic or other reasons, but in such a case the newline itself has to be escaped with a backslash (\\)." +This rule overlaps with: + +- [`at-rule-descriptor-value-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/at-rule-descriptor-value-no-unknown/README.md) +- [`at-rule-prelude-no-invalid`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/at-rule-prelude-no-invalid/README.md) +- [`declaration-property-value-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/declaration-property-value-no-unknown/README.md) +- [`media-query-no-invalid`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/media-query-no-invalid/README.md) + +We recommend configuring this rule so that it doesn't overlap. + ## Options ### `true` @@ -22,8 +31,8 @@ The following patterns are considered problems: ```css a { - content: "first - second"; + content: "foo + bar"; } ``` @@ -47,14 +56,14 @@ The following patterns are _not_ considered problems: ```css a { - content: "first\Asecond"; + content: "foo\Abar"; } ``` ```css a { - content: "first\\nsecond"; + content: "foo\\nbar"; } ``` @@ -70,3 +79,33 @@ a { font-family: "Times New Roman"; } ``` + +## Optional secondary options + +### `ignore: ["at-rule-preludes", "declaration-values"]` + +#### `"at-rule-preludes"` + +Ignore strings in at-rule preludes. + +The following patterns are _not_ considered problems: + + +```css +@import url('foo +.css'); +``` + +#### `"declaration-values"` + +Ignore strings in declaration values. + +The following patterns are _not_ considered problems: + + +```css +a { + content: "foo + bar"; +} +``` diff --git a/docs/description/syntax-string-no-invalid.md b/docs/description/syntax-string-no-invalid.md new file mode 100644 index 0000000..2084964 --- /dev/null +++ b/docs/description/syntax-string-no-invalid.md @@ -0,0 +1,54 @@ +# syntax-string-no-invalid + +Disallow invalid syntax strings. + + +```css +@property --foo { + syntax: ""; +/** ↑ + * Syntax strings like this */ +} +``` + +Syntax strings are used for the `syntax` descriptor value of the `@property` at-rule. This rule checks their grammar and flags unsupported type names. + +You can check [§5.1 “Supported Names” of the CSS Properties & Values API](https://drafts.css-houdini.org/css-properties-values-api/#supported-names) for a list of valid syntax component names. + +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. + +## Options + +### `true` + +The following patterns are considered problems: + + +```css +@property --foo { + syntax: ""; +} +``` + + +```css +@property --foo { + syntax: ""; +} +``` + +The following patterns are _not_ considered problems: + + +```css +@property --foo { + syntax: ""; +} +``` + + +```css +@property --foo { + syntax: " | "; +} +``` diff --git a/docs/description/time-min-milliseconds.md b/docs/description/time-min-milliseconds.md index 5a18aec..7f56692 100644 --- a/docs/description/time-min-milliseconds.md +++ b/docs/description/time-min-milliseconds.md @@ -11,7 +11,7 @@ a { animation: slip-n-slide 150ms linear; } This rule checks positive numbers in `transition-duration`, `transition-delay`, `animation-duration`, `animation-delay`, and those times as they manifest in the `transition` and `animation` shorthands. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/unit-allowed-list.md b/docs/description/unit-allowed-list.md index 58ad32f..36f6d15 100644 --- a/docs/description/unit-allowed-list.md +++ b/docs/description/unit-allowed-list.md @@ -9,7 +9,7 @@ a { width: 100px; } * These units */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/unit-disallowed-list.md b/docs/description/unit-disallowed-list.md index af19c9f..d8579d8 100644 --- a/docs/description/unit-disallowed-list.md +++ b/docs/description/unit-disallowed-list.md @@ -9,7 +9,7 @@ a { width: 100px; } * These units */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/unit-no-unknown.md b/docs/description/unit-no-unknown.md index d90f8ac..5697d0e 100644 --- a/docs/description/unit-no-unknown.md +++ b/docs/description/unit-no-unknown.md @@ -11,7 +11,17 @@ a { width: 100pixels; } This rule considers units defined in the CSS Specifications, up to and including Editor's Drafts, to be known. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. + +This rule overlaps with: + +- [`at-rule-descriptor-value-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/at-rule-descriptor-value-no-unknown/README.md) +- [`at-rule-prelude-no-invalid`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/at-rule-prelude-no-invalid/README.md) +- [`declaration-property-value-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/declaration-property-value-no-unknown/README.md) +- [`media-feature-name-value-no-unknown`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/media-feature-name-value-no-unknown/README.md) +- [`media-query-no-invalid`](https://github.com/stylelint/stylelint/16.17.0/lib/rules/media-query-no-invalid/README.md) + +We recommend using these rules for CSS and this rule for CSS-like languages, such as SCSS and Less. ## Options diff --git a/docs/description/value-keyword-case.md b/docs/description/value-keyword-case.md index b753ed3..47b30f5 100644 --- a/docs/description/value-keyword-case.md +++ b/docs/description/value-keyword-case.md @@ -11,9 +11,9 @@ Specify lowercase or uppercase for keywords values. This rule ignores [``](https://developer.mozilla.org/en/docs/Web/CSS/custom-ident) of known properties. Keyword values which are paired with non-properties (e.g. `$vars` and custom properties), and do not conform to the primary option, can be ignored using the `ignoreKeywords: []` secondary option. -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/value-no-vendor-prefix.md b/docs/description/value-no-vendor-prefix.md index 0477580..1e39686 100644 --- a/docs/description/value-no-vendor-prefix.md +++ b/docs/description/value-no-vendor-prefix.md @@ -11,9 +11,9 @@ a { display: -webkit-flex; } This rule does not fix vendor-prefixed values that weren't handled by [Autoprefixer](https://github.com/postcss/autoprefixer) version 10.2.5. Exceptions may be added on a case by case basis. -The [`fix` option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate values produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. +The [`fix` option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate values produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. -The [`message` secondary option](https://github.com/stylelint/stylelint/16.10.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/patterns.json b/docs/patterns.json index 6e121e7..0847d94 100644 --- a/docs/patterns.json +++ b/docs/patterns.json @@ -1,6 +1,6 @@ { "name" : "stylelint", - "version" : "16.10.0", + "version" : "16.17.0", "patterns" : [ { "patternId" : "alpha-value-notation", "level" : "Info", @@ -33,6 +33,26 @@ } ], "languages" : [ ], "enabled" : true + }, { + "patternId" : "at-rule-descriptor-no-unknown", + "level" : "Info", + "category" : "CodeStyle", + "parameters" : [ { + "name" : "at-rule-descriptor-no-unknown", + "default" : null + } ], + "languages" : [ ], + "enabled" : false + }, { + "patternId" : "at-rule-descriptor-value-no-unknown", + "level" : "Info", + "category" : "CodeStyle", + "parameters" : [ { + "name" : "at-rule-descriptor-value-no-unknown", + "default" : null + } ], + "languages" : [ ], + "enabled" : false }, { "patternId" : "at-rule-disallowed-list", "level" : "Info", @@ -56,6 +76,16 @@ } ], "languages" : [ ], "enabled" : true + }, { + "patternId" : "at-rule-no-deprecated", + "level" : "Info", + "category" : "CodeStyle", + "parameters" : [ { + "name" : "at-rule-no-deprecated", + "default" : null + } ], + "languages" : [ ], + "enabled" : false }, { "patternId" : "at-rule-no-unknown", "level" : "Warning", @@ -76,6 +106,16 @@ } ], "languages" : [ ], "enabled" : true + }, { + "patternId" : "at-rule-prelude-no-invalid", + "level" : "Info", + "category" : "CodeStyle", + "parameters" : [ { + "name" : "at-rule-prelude-no-invalid", + "default" : null + } ], + "languages" : [ ], + "enabled" : false }, { "patternId" : "at-rule-property-required-list", "level" : "Info", @@ -391,6 +431,16 @@ } ], "languages" : [ ], "enabled" : true + }, { + "patternId" : "declaration-property-value-keyword-no-deprecated", + "level" : "Info", + "category" : "CodeStyle", + "parameters" : [ { + "name" : "declaration-property-value-keyword-no-deprecated", + "default" : null + } ], + "languages" : [ ], + "enabled" : false }, { "patternId" : "declaration-property-value-no-unknown", "level" : "Warning", @@ -613,6 +663,16 @@ } ], "languages" : [ ], "enabled" : true + }, { + "patternId" : "layer-name-pattern", + "level" : "Info", + "category" : "CodeStyle", + "parameters" : [ { + "name" : "layer-name-pattern", + "default" : null + } ], + "languages" : [ ], + "enabled" : false }, { "patternId" : "length-zero-no-unit", "level" : "Info", @@ -1009,7 +1069,7 @@ "languages" : [ ], "enabled" : true }, { - "patternId" : "scss/at-each-key-value-single-line", + "patternId" : "scss_at-each-key-value-single-line", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1019,7 +1079,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-else-closing-brace-newline-after", + "patternId" : "scss_at-else-closing-brace-newline-after", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1029,7 +1089,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-else-closing-brace-space-after", + "patternId" : "scss_at-else-closing-brace-space-after", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1039,7 +1099,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-else-empty-line-before", + "patternId" : "scss_at-else-empty-line-before", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1049,7 +1109,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-else-if-parentheses-space-before", + "patternId" : "scss_at-else-if-parentheses-space-before", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1059,7 +1119,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-extend-no-missing-placeholder", + "patternId" : "scss_at-extend-no-missing-placeholder", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1069,7 +1129,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-function-named-arguments", + "patternId" : "scss_at-function-named-arguments", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1079,7 +1139,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-function-parentheses-space-before", + "patternId" : "scss_at-function-parentheses-space-before", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1089,7 +1149,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-function-pattern", + "patternId" : "scss_at-function-pattern", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1099,7 +1159,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-if-closing-brace-newline-after", + "patternId" : "scss_at-if-closing-brace-newline-after", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1109,7 +1169,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-if-closing-brace-space-after", + "patternId" : "scss_at-if-closing-brace-space-after", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1119,7 +1179,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-if-no-null", + "patternId" : "scss_at-if-no-null", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1129,7 +1189,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-import-no-partial-leading-underscore", + "patternId" : "scss_at-import-no-partial-leading-underscore", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1139,7 +1199,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-import-partial-extension", + "patternId" : "scss_at-import-partial-extension", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1149,7 +1209,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-import-partial-extension-allowed-list", + "patternId" : "scss_at-import-partial-extension-allowed-list", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1159,7 +1219,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-import-partial-extension-blacklist", + "patternId" : "scss_at-import-partial-extension-blacklist", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1169,7 +1229,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-import-partial-extension-disallowed-list", + "patternId" : "scss_at-import-partial-extension-disallowed-list", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1179,7 +1239,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-import-partial-extension-whitelist", + "patternId" : "scss_at-import-partial-extension-whitelist", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1189,7 +1249,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-mixin-argumentless-call-parentheses", + "patternId" : "scss_at-mixin-argumentless-call-parentheses", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1199,7 +1259,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-mixin-named-arguments", + "patternId" : "scss_at-mixin-named-arguments", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1209,7 +1269,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-mixin-no-risky-nesting-selector", + "patternId" : "scss_at-mixin-no-risky-nesting-selector", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1219,7 +1279,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-mixin-parentheses-space-before", + "patternId" : "scss_at-mixin-parentheses-space-before", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1229,7 +1289,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-mixin-pattern", + "patternId" : "scss_at-mixin-pattern", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1239,7 +1299,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-root-no-redundant", + "patternId" : "scss_at-root-no-redundant", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1249,7 +1309,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-rule-conditional-no-parentheses", + "patternId" : "scss_at-rule-conditional-no-parentheses", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1259,7 +1319,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-rule-no-unknown", + "patternId" : "scss_at-rule-no-unknown", "level" : "Warning", "category" : "CodeStyle", "parameters" : [ { @@ -1269,7 +1329,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-use-no-redundant-alias", + "patternId" : "scss_at-use-no-redundant-alias", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1279,7 +1339,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/at-use-no-unnamespaced", + "patternId" : "scss_at-use-no-unnamespaced", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1289,7 +1349,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/block-no-redundant-nesting", + "patternId" : "scss_block-no-redundant-nesting", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1299,7 +1359,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/comment-no-empty", + "patternId" : "scss_comment-no-empty", "level" : "Warning", "category" : "CodeStyle", "parameters" : [ { @@ -1309,7 +1369,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/comment-no-loud", + "patternId" : "scss_comment-no-loud", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1319,7 +1379,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/declaration-nested-properties", + "patternId" : "scss_declaration-nested-properties", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1329,7 +1389,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/declaration-nested-properties-no-divided-groups", + "patternId" : "scss_declaration-nested-properties-no-divided-groups", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1339,7 +1399,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/declaration-property-value-no-unknown", + "patternId" : "scss_declaration-property-value-no-unknown", "level" : "Warning", "category" : "CodeStyle", "parameters" : [ { @@ -1349,7 +1409,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/dimension-no-non-numeric-values", + "patternId" : "scss_dimension-no-non-numeric-values", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1359,7 +1419,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/dollar-variable-colon-newline-after", + "patternId" : "scss_dollar-variable-colon-newline-after", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1369,7 +1429,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/dollar-variable-colon-space-after", + "patternId" : "scss_dollar-variable-colon-space-after", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1379,7 +1439,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/dollar-variable-colon-space-before", + "patternId" : "scss_dollar-variable-colon-space-before", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1389,7 +1449,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/dollar-variable-default", + "patternId" : "scss_dollar-variable-default", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1399,7 +1459,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/dollar-variable-empty-line-after", + "patternId" : "scss_dollar-variable-empty-line-after", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1409,7 +1469,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/dollar-variable-empty-line-before", + "patternId" : "scss_dollar-variable-empty-line-before", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1419,7 +1479,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/dollar-variable-first-in-block", + "patternId" : "scss_dollar-variable-first-in-block", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1429,7 +1489,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/dollar-variable-no-missing-interpolation", + "patternId" : "scss_dollar-variable-no-missing-interpolation", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1439,7 +1499,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/dollar-variable-no-namespaced-assignment", + "patternId" : "scss_dollar-variable-no-namespaced-assignment", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1449,7 +1509,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/dollar-variable-pattern", + "patternId" : "scss_dollar-variable-pattern", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1459,7 +1519,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/double-slash-comment-empty-line-before", + "patternId" : "scss_double-slash-comment-empty-line-before", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1469,7 +1529,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/double-slash-comment-inline", + "patternId" : "scss_double-slash-comment-inline", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1479,7 +1539,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/double-slash-comment-whitespace-inside", + "patternId" : "scss_double-slash-comment-whitespace-inside", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1489,7 +1549,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/function-calculation-no-interpolation", + "patternId" : "scss_function-calculation-no-interpolation", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1499,7 +1559,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/function-color-channel", + "patternId" : "scss_function-color-channel", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1509,7 +1569,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/function-color-relative", + "patternId" : "scss_function-color-relative", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1519,7 +1579,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/function-disallowed-list", + "patternId" : "scss_function-disallowed-list", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1529,7 +1589,7 @@ "languages" : [ ], "enabled" : true }, { - "patternId" : "scss/function-no-unknown", + "patternId" : "scss_function-no-unknown", "level" : "Warning", "category" : "CodeStyle", "parameters" : [ { @@ -1539,7 +1599,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/function-quote-no-quoted-strings-inside", + "patternId" : "scss_function-quote-no-quoted-strings-inside", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1549,7 +1609,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/function-unquote-no-unquoted-strings-inside", + "patternId" : "scss_function-unquote-no-unquoted-strings-inside", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1559,7 +1619,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/load-no-partial-leading-underscore", + "patternId" : "scss_load-no-partial-leading-underscore", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1569,7 +1629,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/load-partial-extension", + "patternId" : "scss_load-partial-extension", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1579,7 +1639,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/map-keys-quotes", + "patternId" : "scss_map-keys-quotes", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1589,7 +1649,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/media-feature-value-dollar-variable", + "patternId" : "scss_media-feature-value-dollar-variable", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1599,7 +1659,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/no-dollar-variables", + "patternId" : "scss_no-dollar-variables", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1609,7 +1669,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/no-duplicate-dollar-variables", + "patternId" : "scss_no-duplicate-dollar-variables", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1619,7 +1679,17 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/no-duplicate-mixins", + "patternId" : "scss_no-duplicate-load-rules", + "level" : "Info", + "category" : "CodeStyle", + "parameters" : [ { + "name" : "no-duplicate-load-rules", + "default" : null + } ], + "languages" : [ ], + "enabled" : false + }, { + "patternId" : "scss_no-duplicate-mixins", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1629,7 +1699,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/no-global-function-names", + "patternId" : "scss_no-global-function-names", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1639,7 +1709,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/no-unused-private-members", + "patternId" : "scss_no-unused-private-members", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1649,7 +1719,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/operator-no-newline-after", + "patternId" : "scss_operator-no-newline-after", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1659,7 +1729,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/operator-no-newline-before", + "patternId" : "scss_operator-no-newline-before", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1669,7 +1739,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/operator-no-unspaced", + "patternId" : "scss_operator-no-unspaced", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1679,7 +1749,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/partial-no-import", + "patternId" : "scss_partial-no-import", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1689,7 +1759,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/percent-placeholder-pattern", + "patternId" : "scss_percent-placeholder-pattern", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1699,7 +1769,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/property-no-unknown", + "patternId" : "scss_property-no-unknown", "level" : "Warning", "category" : "CodeStyle", "parameters" : [ { @@ -1709,7 +1779,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/selector-nest-combinators", + "patternId" : "scss_selector-nest-combinators", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1719,7 +1789,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/selector-no-redundant-nesting-selector", + "patternId" : "scss_selector-no-redundant-nesting-selector", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -1729,7 +1799,7 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "scss/selector-no-union-class-name", + "patternId" : "scss_selector-no-union-class-name", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { @@ -2094,6 +2164,16 @@ } ], "languages" : [ ], "enabled" : false + }, { + "patternId" : "syntax-string-no-invalid", + "level" : "Info", + "category" : "CodeStyle", + "parameters" : [ { + "name" : "syntax-string-no-invalid", + "default" : null + } ], + "languages" : [ ], + "enabled" : false }, { "patternId" : "time-min-milliseconds", "level" : "Info", diff --git a/package-lock.json b/package-lock.json index 5b42f51..2c30597 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,29 +5,29 @@ "packages": { "": { "dependencies": { - "@stylistic/stylelint-plugin": "^3.1.1", - "postcss": "^8.4.47", + "@stylistic/stylelint-plugin": "^3.1.2", + "postcss": "^8.5.3", "postcss-less": "^6.0.0", "postcss-safe-parser": "^7.0.1", "postcss-sass": "^0.5.0", "postcss-scss": "^4.0.9", "postcss-styled": "^0.34.0", - "postcss-styled-syntax": "^0.6.4", + "postcss-styled-syntax": "^0.7.1", "postcss-syntax": "^0.36.2", - "prettier": "^3.3.3", - "stylelint": "^16.10.0", + "prettier": "^3.5.3", + "stylelint": "^16.17.0", "stylelint-a11y": "^1.2.3", "stylelint-config-css-modules": "^4.4.0", "stylelint-config-sass-guidelines": "^12.1.0", - "stylelint-config-standard": "^36.0.1", - "stylelint-config-standard-scss": "^13.1.0", + "stylelint-config-standard": "^37.0.0", + "stylelint-config-standard-scss": "^14.0.0", "stylelint-config-styled-components": "^0.1.1", - "stylelint-config-tailwindcss": "^0.0.7", - "stylelint-config-twbs-bootstrap": "^15.1.0", - "stylelint-declaration-strict-value": "^1.10.6", - "stylelint-no-px": "^2.0.0", - "stylelint-prettier": "^5.0.2", - "stylelint-scss": "^6.8.0", + "stylelint-config-tailwindcss": "^1.0.0", + "stylelint-config-twbs-bootstrap": "^16.0.0", + "stylelint-declaration-strict-value": "^1.10.11", + "stylelint-no-px": "^2.1.0", + "stylelint-prettier": "^5.0.3", + "stylelint-scss": "^6.11.1", "stylelint-selector-bem-pattern": "^4.0.1", "stylelint-suitcss": "^5.0.0" }, @@ -80,9 +80,9 @@ } }, "node_modules/@csstools/css-parser-algorithms": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.2.tgz", - "integrity": "sha512-6tC/MnlEvs5suR4Ahef4YlBccJDHZuxGsAlxXmybWjZ5jPxlzLSMlRZ9mVHSRvlD+CmtE7+hJ+UQbfXrws/rUQ==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.4.tgz", + "integrity": "sha512-Up7rBoV77rv29d3uKHUIVubz1BTcgyUK72IvCQAbfbMv584xHcGKCKbWh7i8hPrRJ7qU4Y8IO3IY9m+iTB7P3A==", "funding": [ { "type": "github", @@ -98,13 +98,13 @@ "node": ">=18" }, "peerDependencies": { - "@csstools/css-tokenizer": "^3.0.2" + "@csstools/css-tokenizer": "^3.0.3" } }, "node_modules/@csstools/css-tokenizer": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-3.0.2.tgz", - "integrity": "sha512-IuTRcD53WHsXPCZ6W7ubfGqReTJ9Ra0yRRFmXYP/Re8hFYYfoIYIK4080X5luslVLWimhIeFq0hj09urVMQzTw==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-3.0.3.tgz", + "integrity": "sha512-UJnjoFsmxfKUdNYdWgOB0mWUypuLvAfQPH1+pyvRJs6euowbFkFC6P13w1l8mJyi3vxYMxc9kld5jZEGRQs6bw==", "funding": [ { "type": "github", @@ -221,6 +221,15 @@ "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", "peer": true }, + "node_modules/@keyv/serialize": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@keyv/serialize/-/serialize-1.0.3.tgz", + "integrity": "sha512-qnEovoOp5Np2JDGonIDL6Ayihw0RhnRh6vxPuHo4RDn1UOzwEo4AeIfpL6UGIrsceWrCMiVPgwRjbHu4vYFc3g==", + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -269,9 +278,9 @@ } }, "node_modules/@stylistic/stylelint-plugin": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@stylistic/stylelint-plugin/-/stylelint-plugin-3.1.1.tgz", - "integrity": "sha512-XagAHHIa528EvyGybv8EEYGK5zrVW74cHpsjhtovVATbhDRuJYfE+X4HCaAieW9lCkwbX6L+X0I4CiUG3w/hFw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@stylistic/stylelint-plugin/-/stylelint-plugin-3.1.2.tgz", + "integrity": "sha512-tylFJGMQo62alGazK74MNxFjMagYOHmBZiePZFOJK2n13JZta0uVkB3Bh5qodUmOLtRH+uxH297EibK14UKm8g==", "license": "MIT", "dependencies": { "@csstools/css-parser-algorithms": "^3.0.1", @@ -394,6 +403,26 @@ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-2.0.0.tgz", "integrity": "sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==" }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, "node_modules/binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", @@ -428,6 +457,40 @@ "node": ">=8" } }, + "node_modules/buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "node_modules/cacheable": { + "version": "1.8.9", + "resolved": "https://registry.npmjs.org/cacheable/-/cacheable-1.8.9.tgz", + "integrity": "sha512-FicwAUyWnrtnd4QqYAoRlNs44/a1jTL7XDKqm5gJ90wz1DQPlC7U2Rd1Tydpv+E7WAr4sQHuw8Q8M3nZMAyecQ==", + "license": "MIT", + "dependencies": { + "hookified": "^1.7.1", + "keyv": "^5.3.1" + } + }, "node_modules/callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", @@ -563,12 +626,12 @@ } }, "node_modules/css-tree": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.0.0.tgz", - "integrity": "sha512-o88DVQ6GzsABn1+6+zo2ct801dBO5OASVyxbbvA2W20ue2puSh/VOuqUj90eUeMSX/xqGqBmOKiRQN7tJOuBXw==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.1.0.tgz", + "integrity": "sha512-0eW44TGN5SQXU1mWSkKwFstI/22X2bG1nYzZTYMAWjylYURhse752YgbE4Cx46AC+bAvI+/dYTPRk1LqSUnu6w==", "license": "MIT", "dependencies": { - "mdn-data": "2.10.0", + "mdn-data": "2.12.2", "source-map-js": "^1.0.1" }, "engines": { @@ -694,15 +757,16 @@ "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==" }, "node_modules/fast-glob": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", - "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", + "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", + "license": "MIT", "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", "glob-parent": "^5.1.2", "merge2": "^1.3.0", - "micromatch": "^4.0.4" + "micromatch": "^4.0.8" }, "engines": { "node": ">=8.6.0" @@ -771,9 +835,10 @@ } }, "node_modules/flatted": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", - "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==" + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz", + "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==", + "license": "ISC" }, "node_modules/fs.realpath": { "version": "1.0.0", @@ -915,6 +980,12 @@ "node": ">=4" } }, + "node_modules/hookified": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/hookified/-/hookified-1.8.1.tgz", + "integrity": "sha512-GrO2l93P8xCWBSTBX9l2BxI78VU/MAAYag+pG8curS3aBGy0++ZlxrQ7PdUOUVMbn5BwkGb6+eRrnf43ipnFEA==", + "license": "MIT" + }, "node_modules/hosted-git-info": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.0.2.tgz", @@ -937,6 +1008,26 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" + }, "node_modules/ignore": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", @@ -1109,12 +1200,6 @@ "js-yaml": "bin/js-yaml.js" } }, - "node_modules/json-buffer": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", - "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", - "license": "MIT" - }, "node_modules/json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", @@ -1126,12 +1211,12 @@ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" }, "node_modules/keyv": { - "version": "4.5.4", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", - "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-5.3.2.tgz", + "integrity": "sha512-Lji2XRxqqa5Wg+CHLVfFKBImfJZ4pCSccu9eVWK6w4c2SDFLd8JAn1zqTuSFnsxb7ope6rMsnIHfp+eBbRBRZQ==", "license": "MIT", "dependencies": { - "json-buffer": "3.0.1" + "@keyv/serialize": "^1.0.3" } }, "node_modules/kind-of": { @@ -1143,9 +1228,9 @@ } }, "node_modules/known-css-properties": { - "version": "0.34.0", - "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.34.0.tgz", - "integrity": "sha512-tBECoUqNFbyAY4RrbqsBQqDFpGXAEbdD5QKr8kACx3+rnArmuuR22nKQWKazvp07N9yjTyDZaw/20UIH8tL9DQ==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.35.0.tgz", + "integrity": "sha512-a/RAk2BfKk+WFGhhOCAYqSiFLc34k8Mt/6NWRI4joER0EYUzXIcFivjjnoD3+XU1DggLn/tZc3DOAgke7l8a4A==", "license": "MIT" }, "node_modules/lilconfig": { @@ -1213,9 +1298,9 @@ "integrity": "sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg==" }, "node_modules/mdn-data": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.10.0.tgz", - "integrity": "sha512-qq7C3EtK3yJXMwz1zAab65pjl+UhohqMOctTgcqjLOWABqmwj+me02LSsCuEUxnst9X1lCBpoE0WArGKgdGDzw==", + "version": "2.12.2", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.12.2.tgz", + "integrity": "sha512-IEn+pegP1aManZuckezWCO+XZQDplx1366JoVhTpMpBB1sPey/SbveZQUosKiKiGYjg1wH4pMlNgXbCiYgihQA==", "license": "CC0-1.0" }, "node_modules/meow": { @@ -1326,15 +1411,16 @@ } }, "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", + "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", "funding": [ { "type": "github", "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -1510,9 +1596,9 @@ } }, "node_modules/postcss": { - "version": "8.4.47", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.47.tgz", - "integrity": "sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==", + "version": "8.5.3", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.3.tgz", + "integrity": "sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==", "funding": [ { "type": "opencollective", @@ -1529,8 +1615,8 @@ ], "license": "MIT", "dependencies": { - "nanoid": "^3.3.7", - "picocolors": "^1.1.0", + "nanoid": "^3.3.8", + "picocolors": "^1.1.1", "source-map-js": "^1.2.1" }, "engines": { @@ -1757,17 +1843,18 @@ } }, "node_modules/postcss-styled-syntax": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/postcss-styled-syntax/-/postcss-styled-syntax-0.6.4.tgz", - "integrity": "sha512-uWiLn+9rKgIghUYmTHvXMR6MnyPULMe9Gv3bV537Fg4FH6CA6cn21WMjKss2Qb98LUhT847tKfnRGG3FhSOgUQ==", + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/postcss-styled-syntax/-/postcss-styled-syntax-0.7.1.tgz", + "integrity": "sha512-V5Iy8JztqXOKnTojdytF8IJ3zDXyVR927XftBPinJa3TnKdChGvGzUNEYlNuDtR+iqpuFkwJMgZdaJarYfGFCg==", + "license": "MIT", "dependencies": { - "typescript": "^5.3.3" + "typescript": "^5.7.3" }, "engines": { "node": ">=14.17" }, "peerDependencies": { - "postcss": "^8.4.21" + "postcss": "^8.5.1" } }, "node_modules/postcss-syntax": { @@ -1784,9 +1871,9 @@ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" }, "node_modules/prettier": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", - "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz", + "integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==", "license": "MIT", "bin": { "prettier": "bin/prettier.cjs" @@ -2135,9 +2222,9 @@ "integrity": "sha1-eVjHk+R+MuB9K1yv5cC/jhLneQI=" }, "node_modules/stylelint": { - "version": "16.10.0", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.10.0.tgz", - "integrity": "sha512-z/8X2rZ52dt2c0stVwI9QL2AFJhLhbPkyfpDFcizs200V/g7v+UYY6SNcB9hKOLcDDX/yGLDsY/pX08sLkz9xQ==", + "version": "16.17.0", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.17.0.tgz", + "integrity": "sha512-I9OwVIWRMqVm2Br5iTbrfSqGRPWQUlvm6oXO1xZuYYu0Gpduy67N8wXOZv15p6E/JdlZiAtQaIoLKZEWk5hrjw==", "funding": [ { "type": "opencollective", @@ -2150,43 +2237,43 @@ ], "license": "MIT", "dependencies": { - "@csstools/css-parser-algorithms": "^3.0.1", - "@csstools/css-tokenizer": "^3.0.1", - "@csstools/media-query-list-parser": "^3.0.1", - "@csstools/selector-specificity": "^4.0.0", + "@csstools/css-parser-algorithms": "^3.0.4", + "@csstools/css-tokenizer": "^3.0.3", + "@csstools/media-query-list-parser": "^4.0.2", + "@csstools/selector-specificity": "^5.0.0", "@dual-bundle/import-meta-resolve": "^4.1.0", "balanced-match": "^2.0.0", "colord": "^2.9.3", "cosmiconfig": "^9.0.0", "css-functions-list": "^3.2.3", - "css-tree": "^3.0.0", + "css-tree": "^3.1.0", "debug": "^4.3.7", - "fast-glob": "^3.3.2", + "fast-glob": "^3.3.3", "fastest-levenshtein": "^1.0.16", - "file-entry-cache": "^9.1.0", + "file-entry-cache": "^10.0.7", "global-modules": "^2.0.0", "globby": "^11.1.0", "globjoin": "^0.1.4", "html-tags": "^3.3.1", - "ignore": "^6.0.2", + "ignore": "^7.0.3", "imurmurhash": "^0.1.4", "is-plain-object": "^5.0.0", - "known-css-properties": "^0.34.0", + "known-css-properties": "^0.35.0", "mathml-tag-names": "^2.1.3", "meow": "^13.2.0", "micromatch": "^4.0.8", "normalize-path": "^3.0.0", - "picocolors": "^1.0.1", - "postcss": "^8.4.47", + "picocolors": "^1.1.1", + "postcss": "^8.5.3", "postcss-resolve-nested-selector": "^0.1.6", "postcss-safe-parser": "^7.0.1", - "postcss-selector-parser": "^6.1.2", + "postcss-selector-parser": "^7.1.0", "postcss-value-parser": "^4.2.0", "resolve-from": "^5.0.0", "string-width": "^4.2.3", - "supports-hyperlinks": "^3.1.0", + "supports-hyperlinks": "^3.2.0", "svg-tags": "^1.0.0", - "table": "^6.8.2", + "table": "^6.9.0", "write-file-atomic": "^5.0.1" }, "bin": { @@ -2232,9 +2319,9 @@ } }, "node_modules/stylelint-config-recommended": { - "version": "14.0.1", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-14.0.1.tgz", - "integrity": "sha512-bLvc1WOz/14aPImu/cufKAZYfXs/A/owZfSMZ4N+16WGXLoX5lOir53M6odBxvhgmgdxCVnNySJmZKx73T93cg==", + "version": "15.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-15.0.0.tgz", + "integrity": "sha512-9LejMFsat7L+NXttdHdTq94byn25TD+82bzGRiV1Pgasl99pWnwipXS5DguTpp3nP1XjvLXVnEJIuYBfsRjRkA==", "funding": [ { "type": "opencollective", @@ -2245,28 +2332,30 @@ "url": "https://github.com/sponsors/stylelint" } ], + "license": "MIT", "engines": { "node": ">=18.12.0" }, "peerDependencies": { - "stylelint": "^16.1.0" + "stylelint": "^16.13.0" } }, "node_modules/stylelint-config-recommended-scss": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-14.0.0.tgz", - "integrity": "sha512-HDvpoOAQ1RpF+sPbDOT2Q2/YrBDEJDnUymmVmZ7mMCeNiFSdhRdyGEimBkz06wsN+HaFwUh249gDR+I9JR7Onw==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-14.1.0.tgz", + "integrity": "sha512-bhaMhh1u5dQqSsf6ri2GVWWQW5iUjBYgcHkh7SgDDn92ijoItC/cfO/W+fpXshgTQWhwFkP1rVcewcv4jaftRg==", + "license": "MIT", "dependencies": { "postcss-scss": "^4.0.9", - "stylelint-config-recommended": "^14.0.0", - "stylelint-scss": "^6.0.0" + "stylelint-config-recommended": "^14.0.1", + "stylelint-scss": "^6.4.0" }, "engines": { "node": ">=18.12.0" }, "peerDependencies": { "postcss": "^8.3.3", - "stylelint": "^16.0.2" + "stylelint": "^16.6.1" }, "peerDependenciesMeta": { "postcss": { @@ -2274,6 +2363,28 @@ } } }, + "node_modules/stylelint-config-recommended-scss/node_modules/stylelint-config-recommended": { + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-14.0.1.tgz", + "integrity": "sha512-bLvc1WOz/14aPImu/cufKAZYfXs/A/owZfSMZ4N+16WGXLoX5lOir53M6odBxvhgmgdxCVnNySJmZKx73T93cg==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/stylelint" + }, + { + "type": "github", + "url": "https://github.com/sponsors/stylelint" + } + ], + "license": "MIT", + "engines": { + "node": ">=18.12.0" + }, + "peerDependencies": { + "stylelint": "^16.1.0" + } + }, "node_modules/stylelint-config-sass-guidelines": { "version": "12.1.0", "resolved": "https://registry.npmjs.org/stylelint-config-sass-guidelines/-/stylelint-config-sass-guidelines-12.1.0.tgz", @@ -2293,9 +2404,9 @@ } }, "node_modules/stylelint-config-standard": { - "version": "36.0.1", - "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-36.0.1.tgz", - "integrity": "sha512-8aX8mTzJ6cuO8mmD5yon61CWuIM4UD8Q5aBcWKGSf6kg+EC3uhB+iOywpTK4ca6ZL7B49en8yanOFtUW0qNzyw==", + "version": "37.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-37.0.0.tgz", + "integrity": "sha512-+6eBlbSTrOn/il2RlV0zYGQwRTkr+WtzuVSs1reaWGObxnxLpbcspCUYajVQHonVfxVw2U+h42azGhrBvcg8OA==", "funding": [ { "type": "opencollective", @@ -2306,30 +2417,32 @@ "url": "https://github.com/sponsors/stylelint" } ], + "license": "MIT", "dependencies": { - "stylelint-config-recommended": "^14.0.1" + "stylelint-config-recommended": "^15.0.0" }, "engines": { "node": ">=18.12.0" }, "peerDependencies": { - "stylelint": "^16.1.0" + "stylelint": "^16.13.0" } }, "node_modules/stylelint-config-standard-scss": { - "version": "13.1.0", - "resolved": "https://registry.npmjs.org/stylelint-config-standard-scss/-/stylelint-config-standard-scss-13.1.0.tgz", - "integrity": "sha512-Eo5w7/XvwGHWkeGLtdm2FZLOMYoZl1omP2/jgFCXyl2x5yNz7/8vv4Tj6slHvMSSUNTaGoam/GAZ0ZhukvalfA==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-standard-scss/-/stylelint-config-standard-scss-14.0.0.tgz", + "integrity": "sha512-6Pa26D9mHyi4LauJ83ls3ELqCglU6VfCXchovbEqQUiEkezvKdv6VgsIoMy58i00c854wVmOw0k8W5FTpuaVqg==", + "license": "MIT", "dependencies": { - "stylelint-config-recommended-scss": "^14.0.0", - "stylelint-config-standard": "^36.0.0" + "stylelint-config-recommended-scss": "^14.1.0", + "stylelint-config-standard": "^36.0.1" }, "engines": { "node": ">=18.12.0" }, "peerDependencies": { "postcss": "^8.3.3", - "stylelint": "^16.3.1" + "stylelint": "^16.11.0" }, "peerDependenciesMeta": { "postcss": { @@ -2337,24 +2450,72 @@ } } }, + "node_modules/stylelint-config-standard-scss/node_modules/stylelint-config-recommended": { + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-14.0.1.tgz", + "integrity": "sha512-bLvc1WOz/14aPImu/cufKAZYfXs/A/owZfSMZ4N+16WGXLoX5lOir53M6odBxvhgmgdxCVnNySJmZKx73T93cg==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/stylelint" + }, + { + "type": "github", + "url": "https://github.com/sponsors/stylelint" + } + ], + "license": "MIT", + "engines": { + "node": ">=18.12.0" + }, + "peerDependencies": { + "stylelint": "^16.1.0" + } + }, + "node_modules/stylelint-config-standard-scss/node_modules/stylelint-config-standard": { + "version": "36.0.1", + "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-36.0.1.tgz", + "integrity": "sha512-8aX8mTzJ6cuO8mmD5yon61CWuIM4UD8Q5aBcWKGSf6kg+EC3uhB+iOywpTK4ca6ZL7B49en8yanOFtUW0qNzyw==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/stylelint" + }, + { + "type": "github", + "url": "https://github.com/sponsors/stylelint" + } + ], + "license": "MIT", + "dependencies": { + "stylelint-config-recommended": "^14.0.1" + }, + "engines": { + "node": ">=18.12.0" + }, + "peerDependencies": { + "stylelint": "^16.1.0" + } + }, "node_modules/stylelint-config-styled-components": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/stylelint-config-styled-components/-/stylelint-config-styled-components-0.1.1.tgz", "integrity": "sha512-z5Xz/9GmvxO6e/DLzBMwkB85zHxEEjN6K7Cj80Bi+o/9vR9eS3GX3E9VuMnX9WLFYulqbqLtTapGGY28JBiy9Q==" }, "node_modules/stylelint-config-tailwindcss": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/stylelint-config-tailwindcss/-/stylelint-config-tailwindcss-0.0.7.tgz", - "integrity": "sha512-n2dCWH+0ppr0/by4EYCLWW7g5LU+l4UzUIsYS7xbVHqvm9UWa7UhltNdNiz5NmLF/FmbJR4Yd/v9DuUGvLw1Tg==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-tailwindcss/-/stylelint-config-tailwindcss-1.0.0.tgz", + "integrity": "sha512-e6WUBJeLdOZ0sy8FZ1jk5Zy9iNGqqJbrMwnnV0Hpaw/yin6QO3gVv/zvyqSty8Yg6nEB5gqcyJbN387TPhEa7Q==", + "license": "MIT", "peerDependencies": { "stylelint": ">=13.13.1", "tailwindcss": ">=2.2.16" } }, "node_modules/stylelint-config-twbs-bootstrap": { - "version": "15.1.0", - "resolved": "https://registry.npmjs.org/stylelint-config-twbs-bootstrap/-/stylelint-config-twbs-bootstrap-15.1.0.tgz", - "integrity": "sha512-Feu963GzT0BBlfDWAr9Xu/v9pABT94BIztxdJSuRrjDKsCqKo017ltwqGZz2V9CO0bVo7dLbHVbxa5skEtjhOg==", + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-twbs-bootstrap/-/stylelint-config-twbs-bootstrap-16.0.0.tgz", + "integrity": "sha512-MgFiCiqCZVUZ8Rt417lTPBnpgDgFsnZK1sy56UFL+niVLptO0kviKyzZB6b6yEU5bnlWRusau9/FgXiJOi2pJA==", "funding": [ { "type": "github", @@ -2368,23 +2529,71 @@ "license": "MIT", "dependencies": { "@stylistic/stylelint-config": "^2.0.0", - "@stylistic/stylelint-plugin": "^3.1.0", + "@stylistic/stylelint-plugin": "^3.1.2", "stylelint-config-recess-order": "^5.1.1", "stylelint-config-standard": "^36.0.1", - "stylelint-config-standard-scss": "^13.1.0", - "stylelint-scss": "^6.7.0" + "stylelint-config-standard-scss": "^14.0.0", + "stylelint-scss": "^6.11.1" }, "engines": { "node": ">=18.12.0" }, "peerDependencies": { - "stylelint": "^16.8.0" + "stylelint": "^16.11.0" + } + }, + "node_modules/stylelint-config-twbs-bootstrap/node_modules/stylelint-config-recommended": { + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-14.0.1.tgz", + "integrity": "sha512-bLvc1WOz/14aPImu/cufKAZYfXs/A/owZfSMZ4N+16WGXLoX5lOir53M6odBxvhgmgdxCVnNySJmZKx73T93cg==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/stylelint" + }, + { + "type": "github", + "url": "https://github.com/sponsors/stylelint" + } + ], + "license": "MIT", + "engines": { + "node": ">=18.12.0" + }, + "peerDependencies": { + "stylelint": "^16.1.0" + } + }, + "node_modules/stylelint-config-twbs-bootstrap/node_modules/stylelint-config-standard": { + "version": "36.0.1", + "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-36.0.1.tgz", + "integrity": "sha512-8aX8mTzJ6cuO8mmD5yon61CWuIM4UD8Q5aBcWKGSf6kg+EC3uhB+iOywpTK4ca6ZL7B49en8yanOFtUW0qNzyw==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/stylelint" + }, + { + "type": "github", + "url": "https://github.com/sponsors/stylelint" + } + ], + "license": "MIT", + "dependencies": { + "stylelint-config-recommended": "^14.0.1" + }, + "engines": { + "node": ">=18.12.0" + }, + "peerDependencies": { + "stylelint": "^16.1.0" } }, "node_modules/stylelint-declaration-strict-value": { - "version": "1.10.6", - "resolved": "https://registry.npmjs.org/stylelint-declaration-strict-value/-/stylelint-declaration-strict-value-1.10.6.tgz", - "integrity": "sha512-aZGEW4Ee26Tx4UvpQJbcElVXZ42EleujEByiyKDTT7t83EeSe9t0lAG3OOLJnnvLjz/dQnp+L+3IYTMeQI51vQ==", + "version": "1.10.11", + "resolved": "https://registry.npmjs.org/stylelint-declaration-strict-value/-/stylelint-declaration-strict-value-1.10.11.tgz", + "integrity": "sha512-oVQvhZlFZAiDz9r2BPFZLtTGm1A2JVhdKObKAJoTjFfR4F/NpApC4bMBTxf4sZS76Na3njYKVOaAaKSZ4+FU+g==", + "license": "MIT", "engines": { "node": ">=18.12.0" }, @@ -2393,9 +2602,10 @@ } }, "node_modules/stylelint-no-px": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/stylelint-no-px/-/stylelint-no-px-2.0.0.tgz", - "integrity": "sha512-uuiKhXIlLATtetsqvGG0tx8LUlqKDKI4BzYUeEp2mrJD7gb0AazPPtEHdRMrMeEJGwnRcPyiOYvAZ29In4m+1g==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/stylelint-no-px/-/stylelint-no-px-2.1.0.tgz", + "integrity": "sha512-DKYs+FC/gre28GthHnd2tHjCCgctYgswriGiNkZ4nX/saA+Owxwsm8rS40Rx/YvWr3sa6ZlL+Ozdp8BTkPbF2g==", + "license": "MIT", "dependencies": { "postcss-less": "^6.0.0", "postcss-value-parser": "^4.2.0" @@ -2418,9 +2628,9 @@ } }, "node_modules/stylelint-prettier": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/stylelint-prettier/-/stylelint-prettier-5.0.2.tgz", - "integrity": "sha512-qJ+BN+1T2ZcKz9WIrv0x+eFGHzSUnXfXd5gL///T6XoJvr3D8/ztzz2fhtmXef7Vb8P33zBXmLTTveByr0nwBw==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/stylelint-prettier/-/stylelint-prettier-5.0.3.tgz", + "integrity": "sha512-B6V0oa35ekRrKZlf+6+jA+i50C4GXJ7X1PPmoCqSUoXN6BrNF6NhqqhanvkLjqw2qgvrS0wjdpeC+Tn06KN3jw==", "license": "MIT", "dependencies": { "prettier-linter-helpers": "^1.0.0" @@ -2434,18 +2644,18 @@ } }, "node_modules/stylelint-scss": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-6.8.0.tgz", - "integrity": "sha512-6gjsCZ30UUF6ivjZB2Z+1lb6k0+JFa1uR2MgGbYu76xRjEfvNTpSS1nQim1Gom1ijFF9GzauOiq1Kr7zKptQOw==", + "version": "6.11.1", + "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-6.11.1.tgz", + "integrity": "sha512-e4rYo0UY+BIMtGeGanghrvHTjcryxgZbyFxUedp8dLFqC4P70aawNdYjRrQxbnKhu3BNr4+lt5e/53tcKXiwFA==", "license": "MIT", "dependencies": { - "css-tree": "^3.0.0", + "css-tree": "^3.0.1", "is-plain-object": "^5.0.0", - "known-css-properties": "^0.34.0", - "mdn-data": "^2.0.30", + "known-css-properties": "^0.35.0", + "mdn-data": "^2.15.0", "postcss-media-query-parser": "^0.2.3", "postcss-resolve-nested-selector": "^0.1.6", - "postcss-selector-parser": "^6.1.2", + "postcss-selector-parser": "^7.1.0", "postcss-value-parser": "^4.2.0" }, "engines": { @@ -2455,6 +2665,25 @@ "stylelint": "^16.0.2" } }, + "node_modules/stylelint-scss/node_modules/mdn-data": { + "version": "2.18.0", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.18.0.tgz", + "integrity": "sha512-gtCy1yim/vpHF/tq3B4Z43x3zKWpYeb4IM3d/Mf4oMYcNuoXOYEaqtoFlLHw9zd7+WNN3jNh6/WXyUrD3OIiwQ==", + "license": "CC0-1.0" + }, + "node_modules/stylelint-scss/node_modules/postcss-selector-parser": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz", + "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==", + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/stylelint-selector-bem-pattern": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/stylelint-selector-bem-pattern/-/stylelint-selector-bem-pattern-4.0.1.tgz", @@ -2603,10 +2832,33 @@ "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, + "node_modules/stylelint/node_modules/@csstools/media-query-list-parser": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-4.0.2.tgz", + "integrity": "sha512-EUos465uvVvMJehckATTlNqGj4UJWkTmdWuDMjqvSUkjGpmOyFZBVwb4knxCm/k2GMTXY+c/5RkdndzFYWeX5A==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT", + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@csstools/css-parser-algorithms": "^3.0.4", + "@csstools/css-tokenizer": "^3.0.3" + } + }, "node_modules/stylelint/node_modules/@csstools/selector-specificity": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-4.0.0.tgz", - "integrity": "sha512-189nelqtPd8++phaHNwYovKZI0FOzH1vQEE3QhHHkNIGrg5fSs9CbYP3RvfEH5geztnIA9Jwq91wyOIwAW5JIQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-5.0.0.tgz", + "integrity": "sha512-PCqQV3c4CoVm3kdPhyeZ07VmBRdH2EpMFA/pd9OASpOEC3aXNGoqPDAZ80D0cLpMBxnmk0+yNhGsEx31hq7Gtw==", "funding": [ { "type": "github", @@ -2622,7 +2874,7 @@ "node": ">=18" }, "peerDependencies": { - "postcss-selector-parser": "^6.1.0" + "postcss-selector-parser": "^7.0.0" } }, "node_modules/stylelint/node_modules/cosmiconfig": { @@ -2651,34 +2903,29 @@ } }, "node_modules/stylelint/node_modules/file-entry-cache": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-9.1.0.tgz", - "integrity": "sha512-/pqPFG+FdxWQj+/WSuzXSDaNzxgTLr/OrR1QuqfEZzDakpdYE70PwUxL7BPUa8hpjbvY1+qvCl8k+8Tq34xJgg==", + "version": "10.0.7", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-10.0.7.tgz", + "integrity": "sha512-txsf5fu3anp2ff3+gOJJzRImtrtm/oa9tYLN0iTuINZ++EyVR/nRrg2fKYwvG/pXDofcrvvb0scEbX3NyW/COw==", "license": "MIT", "dependencies": { - "flat-cache": "^5.0.0" - }, - "engines": { - "node": ">=18" + "flat-cache": "^6.1.7" } }, "node_modules/stylelint/node_modules/flat-cache": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-5.0.0.tgz", - "integrity": "sha512-JrqFmyUl2PnPi1OvLyTVHnQvwQ0S+e6lGSwu8OkAZlSaNIZciTY2H/cOOROxsBA1m/LZNHDsqAgDZt6akWcjsQ==", + "version": "6.1.7", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.7.tgz", + "integrity": "sha512-qwZ4xf1v1m7Rc9XiORly31YaChvKt6oNVHuqqZcoED/7O+ToyNVGobKsIAopY9ODcWpEDKEBAbrSOCBHtNQvew==", "license": "MIT", "dependencies": { - "flatted": "^3.3.1", - "keyv": "^4.5.4" - }, - "engines": { - "node": ">=18" + "cacheable": "^1.8.9", + "flatted": "^3.3.3", + "hookified": "^1.7.1" } }, "node_modules/stylelint/node_modules/ignore": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-6.0.2.tgz", - "integrity": "sha512-InwqeHHN2XpumIkMvpl/DCJVrAHgCsG5+cn1XlnLWGwtZBm8QJfSusItfrwx81CTp5agNZqpKU2J/ccC5nGT4A==", + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.3.tgz", + "integrity": "sha512-bAH5jbK/F3T3Jls4I0SO1hmPR0dKU0a7+SY6n1yzRtG54FLO8d6w/nxLFX2Nb7dBu6cCWXPaAME6cYqFUMmuCA==", "license": "MIT", "engines": { "node": ">= 4" @@ -2695,6 +2942,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/stylelint/node_modules/postcss-selector-parser": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz", + "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==", + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/sucrase": { "version": "3.32.0", "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.32.0.tgz", @@ -2749,9 +3009,9 @@ } }, "node_modules/supports-hyperlinks": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-3.1.0.tgz", - "integrity": "sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-3.2.0.tgz", + "integrity": "sha512-zFObLMyZeEwzAoKCyu1B91U79K2t7ApXuQfo8OuxwXLDgcKxuwM+YvcbIhm6QWqz7mHUH1TVytR1PwVVjEuMig==", "license": "MIT", "dependencies": { "has-flag": "^4.0.0", @@ -2761,7 +3021,7 @@ "node": ">=14.18" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/chalk/supports-hyperlinks?sponsor=1" } }, "node_modules/supports-hyperlinks/node_modules/has-flag": { @@ -2802,9 +3062,10 @@ "integrity": "sha1-WPcc7jvVGbWdSyqEO2x95krAR2Q=" }, "node_modules/table": { - "version": "6.8.2", - "resolved": "https://registry.npmjs.org/table/-/table-6.8.2.tgz", - "integrity": "sha512-w2sfv80nrAh2VCbqR5AK27wswXhqcck2AhfnNW76beQXskGZ1V12GwS//yYVa3d3fcvAip2OUnbDAjW2k3v9fA==", + "version": "6.9.0", + "resolved": "https://registry.npmjs.org/table/-/table-6.9.0.tgz", + "integrity": "sha512-9kY+CygyYM6j02t5YFHbNz2FN5QmYGv9zAjVp4lCDjlCw7amdckXlEt/bjMhUIfj4ThGRE4gCUH5+yGnNuPo5A==", + "license": "BSD-3-Clause", "dependencies": { "ajv": "^8.0.1", "lodash.truncate": "^4.4.2", @@ -2921,9 +3182,10 @@ } }, "node_modules/typescript": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", - "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", + "version": "5.8.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.2.tgz", + "integrity": "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==", + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -3051,15 +3313,15 @@ } }, "@csstools/css-parser-algorithms": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.2.tgz", - "integrity": "sha512-6tC/MnlEvs5suR4Ahef4YlBccJDHZuxGsAlxXmybWjZ5jPxlzLSMlRZ9mVHSRvlD+CmtE7+hJ+UQbfXrws/rUQ==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.4.tgz", + "integrity": "sha512-Up7rBoV77rv29d3uKHUIVubz1BTcgyUK72IvCQAbfbMv584xHcGKCKbWh7i8hPrRJ7qU4Y8IO3IY9m+iTB7P3A==", "requires": {} }, "@csstools/css-tokenizer": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-3.0.2.tgz", - "integrity": "sha512-IuTRcD53WHsXPCZ6W7ubfGqReTJ9Ra0yRRFmXYP/Re8hFYYfoIYIK4080X5luslVLWimhIeFq0hj09urVMQzTw==" + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-3.0.3.tgz", + "integrity": "sha512-UJnjoFsmxfKUdNYdWgOB0mWUypuLvAfQPH1+pyvRJs6euowbFkFC6P13w1l8mJyi3vxYMxc9kld5jZEGRQs6bw==" }, "@csstools/media-query-list-parser": { "version": "3.0.1", @@ -3125,6 +3387,14 @@ } } }, + "@keyv/serialize": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@keyv/serialize/-/serialize-1.0.3.tgz", + "integrity": "sha512-qnEovoOp5Np2JDGonIDL6Ayihw0RhnRh6vxPuHo4RDn1UOzwEo4AeIfpL6UGIrsceWrCMiVPgwRjbHu4vYFc3g==", + "requires": { + "buffer": "^6.0.3" + } + }, "@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -3157,9 +3427,9 @@ } }, "@stylistic/stylelint-plugin": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@stylistic/stylelint-plugin/-/stylelint-plugin-3.1.1.tgz", - "integrity": "sha512-XagAHHIa528EvyGybv8EEYGK5zrVW74cHpsjhtovVATbhDRuJYfE+X4HCaAieW9lCkwbX6L+X0I4CiUG3w/hFw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@stylistic/stylelint-plugin/-/stylelint-plugin-3.1.2.tgz", + "integrity": "sha512-tylFJGMQo62alGazK74MNxFjMagYOHmBZiePZFOJK2n13JZta0uVkB3Bh5qodUmOLtRH+uxH297EibK14UKm8g==", "requires": { "@csstools/css-parser-algorithms": "^3.0.1", "@csstools/css-tokenizer": "^3.0.1", @@ -3257,6 +3527,11 @@ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-2.0.0.tgz", "integrity": "sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==" }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + }, "binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", @@ -3287,6 +3562,24 @@ "fill-range": "^7.1.1" } }, + "buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "cacheable": { + "version": "1.8.9", + "resolved": "https://registry.npmjs.org/cacheable/-/cacheable-1.8.9.tgz", + "integrity": "sha512-FicwAUyWnrtnd4QqYAoRlNs44/a1jTL7XDKqm5gJ90wz1DQPlC7U2Rd1Tydpv+E7WAr4sQHuw8Q8M3nZMAyecQ==", + "requires": { + "hookified": "^1.7.1", + "keyv": "^5.3.1" + } + }, "callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", @@ -3386,11 +3679,11 @@ "integrity": "sha512-IQOkD3hbR5KrN93MtcYuad6YPuTSUhntLHDuLEbFWE+ff2/XSZNdZG+LcbbIW5AXKg/WFIfYItIzVoHngHXZzA==" }, "css-tree": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.0.0.tgz", - "integrity": "sha512-o88DVQ6GzsABn1+6+zo2ct801dBO5OASVyxbbvA2W20ue2puSh/VOuqUj90eUeMSX/xqGqBmOKiRQN7tJOuBXw==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.1.0.tgz", + "integrity": "sha512-0eW44TGN5SQXU1mWSkKwFstI/22X2bG1nYzZTYMAWjylYURhse752YgbE4Cx46AC+bAvI+/dYTPRk1LqSUnu6w==", "requires": { - "mdn-data": "2.10.0", + "mdn-data": "2.12.2", "source-map-js": "^1.0.1" } }, @@ -3482,15 +3775,15 @@ "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==" }, "fast-glob": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", - "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", + "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", "requires": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", "glob-parent": "^5.1.2", "merge2": "^1.3.0", - "micromatch": "^4.0.4" + "micromatch": "^4.0.8" } }, "fastest-levenshtein": { @@ -3541,9 +3834,9 @@ } }, "flatted": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", - "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==" + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz", + "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==" }, "fs.realpath": { "version": "1.0.0", @@ -3645,6 +3938,11 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==" }, + "hookified": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/hookified/-/hookified-1.8.1.tgz", + "integrity": "sha512-GrO2l93P8xCWBSTBX9l2BxI78VU/MAAYag+pG8curS3aBGy0++ZlxrQ7PdUOUVMbn5BwkGb6+eRrnf43ipnFEA==" + }, "hosted-git-info": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.0.2.tgz", @@ -3658,6 +3956,11 @@ "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-3.3.1.tgz", "integrity": "sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ==" }, + "ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" + }, "ignore": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", @@ -3787,11 +4090,6 @@ "argparse": "^2.0.1" } }, - "json-buffer": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", - "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==" - }, "json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", @@ -3803,11 +4101,11 @@ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" }, "keyv": { - "version": "4.5.4", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", - "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-5.3.2.tgz", + "integrity": "sha512-Lji2XRxqqa5Wg+CHLVfFKBImfJZ4pCSccu9eVWK6w4c2SDFLd8JAn1zqTuSFnsxb7ope6rMsnIHfp+eBbRBRZQ==", "requires": { - "json-buffer": "3.0.1" + "@keyv/serialize": "^1.0.3" } }, "kind-of": { @@ -3816,9 +4114,9 @@ "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" }, "known-css-properties": { - "version": "0.34.0", - "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.34.0.tgz", - "integrity": "sha512-tBECoUqNFbyAY4RrbqsBQqDFpGXAEbdD5QKr8kACx3+rnArmuuR22nKQWKazvp07N9yjTyDZaw/20UIH8tL9DQ==" + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.35.0.tgz", + "integrity": "sha512-a/RAk2BfKk+WFGhhOCAYqSiFLc34k8Mt/6NWRI4joER0EYUzXIcFivjjnoD3+XU1DggLn/tZc3DOAgke7l8a4A==" }, "lilconfig": { "version": "2.1.0", @@ -3873,9 +4171,9 @@ "integrity": "sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg==" }, "mdn-data": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.10.0.tgz", - "integrity": "sha512-qq7C3EtK3yJXMwz1zAab65pjl+UhohqMOctTgcqjLOWABqmwj+me02LSsCuEUxnst9X1lCBpoE0WArGKgdGDzw==" + "version": "2.12.2", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.12.2.tgz", + "integrity": "sha512-IEn+pegP1aManZuckezWCO+XZQDplx1366JoVhTpMpBB1sPey/SbveZQUosKiKiGYjg1wH4pMlNgXbCiYgihQA==" }, "meow": { "version": "9.0.0", @@ -3962,9 +4260,9 @@ } }, "nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==" + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", + "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==" }, "normalize-package-data": { "version": "3.0.3", @@ -4085,12 +4383,12 @@ "peer": true }, "postcss": { - "version": "8.4.47", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.47.tgz", - "integrity": "sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==", + "version": "8.5.3", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.3.tgz", + "integrity": "sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==", "requires": { - "nanoid": "^3.3.7", - "picocolors": "^1.1.0", + "nanoid": "^3.3.8", + "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, @@ -4209,11 +4507,11 @@ "requires": {} }, "postcss-styled-syntax": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/postcss-styled-syntax/-/postcss-styled-syntax-0.6.4.tgz", - "integrity": "sha512-uWiLn+9rKgIghUYmTHvXMR6MnyPULMe9Gv3bV537Fg4FH6CA6cn21WMjKss2Qb98LUhT847tKfnRGG3FhSOgUQ==", + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/postcss-styled-syntax/-/postcss-styled-syntax-0.7.1.tgz", + "integrity": "sha512-V5Iy8JztqXOKnTojdytF8IJ3zDXyVR927XftBPinJa3TnKdChGvGzUNEYlNuDtR+iqpuFkwJMgZdaJarYfGFCg==", "requires": { - "typescript": "^5.3.3" + "typescript": "^5.7.3" } }, "postcss-syntax": { @@ -4228,9 +4526,9 @@ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" }, "prettier": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", - "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==" + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz", + "integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==" }, "prettier-linter-helpers": { "version": "1.0.0", @@ -4495,54 +4793,60 @@ "integrity": "sha1-eVjHk+R+MuB9K1yv5cC/jhLneQI=" }, "stylelint": { - "version": "16.10.0", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.10.0.tgz", - "integrity": "sha512-z/8X2rZ52dt2c0stVwI9QL2AFJhLhbPkyfpDFcizs200V/g7v+UYY6SNcB9hKOLcDDX/yGLDsY/pX08sLkz9xQ==", + "version": "16.17.0", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.17.0.tgz", + "integrity": "sha512-I9OwVIWRMqVm2Br5iTbrfSqGRPWQUlvm6oXO1xZuYYu0Gpduy67N8wXOZv15p6E/JdlZiAtQaIoLKZEWk5hrjw==", "requires": { - "@csstools/css-parser-algorithms": "^3.0.1", - "@csstools/css-tokenizer": "^3.0.1", - "@csstools/media-query-list-parser": "^3.0.1", - "@csstools/selector-specificity": "^4.0.0", + "@csstools/css-parser-algorithms": "^3.0.4", + "@csstools/css-tokenizer": "^3.0.3", + "@csstools/media-query-list-parser": "^4.0.2", + "@csstools/selector-specificity": "^5.0.0", "@dual-bundle/import-meta-resolve": "^4.1.0", "balanced-match": "^2.0.0", "colord": "^2.9.3", "cosmiconfig": "^9.0.0", "css-functions-list": "^3.2.3", - "css-tree": "^3.0.0", + "css-tree": "^3.1.0", "debug": "^4.3.7", - "fast-glob": "^3.3.2", + "fast-glob": "^3.3.3", "fastest-levenshtein": "^1.0.16", - "file-entry-cache": "^9.1.0", + "file-entry-cache": "^10.0.7", "global-modules": "^2.0.0", "globby": "^11.1.0", "globjoin": "^0.1.4", "html-tags": "^3.3.1", - "ignore": "^6.0.2", + "ignore": "^7.0.3", "imurmurhash": "^0.1.4", "is-plain-object": "^5.0.0", - "known-css-properties": "^0.34.0", + "known-css-properties": "^0.35.0", "mathml-tag-names": "^2.1.3", "meow": "^13.2.0", "micromatch": "^4.0.8", "normalize-path": "^3.0.0", - "picocolors": "^1.0.1", - "postcss": "^8.4.47", + "picocolors": "^1.1.1", + "postcss": "^8.5.3", "postcss-resolve-nested-selector": "^0.1.6", "postcss-safe-parser": "^7.0.1", - "postcss-selector-parser": "^6.1.2", + "postcss-selector-parser": "^7.1.0", "postcss-value-parser": "^4.2.0", "resolve-from": "^5.0.0", "string-width": "^4.2.3", - "supports-hyperlinks": "^3.1.0", + "supports-hyperlinks": "^3.2.0", "svg-tags": "^1.0.0", - "table": "^6.8.2", + "table": "^6.9.0", "write-file-atomic": "^5.0.1" }, "dependencies": { + "@csstools/media-query-list-parser": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-4.0.2.tgz", + "integrity": "sha512-EUos465uvVvMJehckATTlNqGj4UJWkTmdWuDMjqvSUkjGpmOyFZBVwb4knxCm/k2GMTXY+c/5RkdndzFYWeX5A==", + "requires": {} + }, "@csstools/selector-specificity": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-4.0.0.tgz", - "integrity": "sha512-189nelqtPd8++phaHNwYovKZI0FOzH1vQEE3QhHHkNIGrg5fSs9CbYP3RvfEH5geztnIA9Jwq91wyOIwAW5JIQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-5.0.0.tgz", + "integrity": "sha512-PCqQV3c4CoVm3kdPhyeZ07VmBRdH2EpMFA/pd9OASpOEC3aXNGoqPDAZ80D0cLpMBxnmk0+yNhGsEx31hq7Gtw==", "requires": {} }, "cosmiconfig": { @@ -4557,31 +4861,41 @@ } }, "file-entry-cache": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-9.1.0.tgz", - "integrity": "sha512-/pqPFG+FdxWQj+/WSuzXSDaNzxgTLr/OrR1QuqfEZzDakpdYE70PwUxL7BPUa8hpjbvY1+qvCl8k+8Tq34xJgg==", + "version": "10.0.7", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-10.0.7.tgz", + "integrity": "sha512-txsf5fu3anp2ff3+gOJJzRImtrtm/oa9tYLN0iTuINZ++EyVR/nRrg2fKYwvG/pXDofcrvvb0scEbX3NyW/COw==", "requires": { - "flat-cache": "^5.0.0" + "flat-cache": "^6.1.7" } }, "flat-cache": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-5.0.0.tgz", - "integrity": "sha512-JrqFmyUl2PnPi1OvLyTVHnQvwQ0S+e6lGSwu8OkAZlSaNIZciTY2H/cOOROxsBA1m/LZNHDsqAgDZt6akWcjsQ==", + "version": "6.1.7", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.7.tgz", + "integrity": "sha512-qwZ4xf1v1m7Rc9XiORly31YaChvKt6oNVHuqqZcoED/7O+ToyNVGobKsIAopY9ODcWpEDKEBAbrSOCBHtNQvew==", "requires": { - "flatted": "^3.3.1", - "keyv": "^4.5.4" + "cacheable": "^1.8.9", + "flatted": "^3.3.3", + "hookified": "^1.7.1" } }, "ignore": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-6.0.2.tgz", - "integrity": "sha512-InwqeHHN2XpumIkMvpl/DCJVrAHgCsG5+cn1XlnLWGwtZBm8QJfSusItfrwx81CTp5agNZqpKU2J/ccC5nGT4A==" + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.3.tgz", + "integrity": "sha512-bAH5jbK/F3T3Jls4I0SO1hmPR0dKU0a7+SY6n1yzRtG54FLO8d6w/nxLFX2Nb7dBu6cCWXPaAME6cYqFUMmuCA==" }, "meow": { "version": "13.2.0", "resolved": "https://registry.npmjs.org/meow/-/meow-13.2.0.tgz", "integrity": "sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==" + }, + "postcss-selector-parser": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz", + "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==", + "requires": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + } } } }, @@ -4608,19 +4922,27 @@ } }, "stylelint-config-recommended": { - "version": "14.0.1", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-14.0.1.tgz", - "integrity": "sha512-bLvc1WOz/14aPImu/cufKAZYfXs/A/owZfSMZ4N+16WGXLoX5lOir53M6odBxvhgmgdxCVnNySJmZKx73T93cg==", + "version": "15.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-15.0.0.tgz", + "integrity": "sha512-9LejMFsat7L+NXttdHdTq94byn25TD+82bzGRiV1Pgasl99pWnwipXS5DguTpp3nP1XjvLXVnEJIuYBfsRjRkA==", "requires": {} }, "stylelint-config-recommended-scss": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-14.0.0.tgz", - "integrity": "sha512-HDvpoOAQ1RpF+sPbDOT2Q2/YrBDEJDnUymmVmZ7mMCeNiFSdhRdyGEimBkz06wsN+HaFwUh249gDR+I9JR7Onw==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-14.1.0.tgz", + "integrity": "sha512-bhaMhh1u5dQqSsf6ri2GVWWQW5iUjBYgcHkh7SgDDn92ijoItC/cfO/W+fpXshgTQWhwFkP1rVcewcv4jaftRg==", "requires": { "postcss-scss": "^4.0.9", - "stylelint-config-recommended": "^14.0.0", - "stylelint-scss": "^6.0.0" + "stylelint-config-recommended": "^14.0.1", + "stylelint-scss": "^6.4.0" + }, + "dependencies": { + "stylelint-config-recommended": { + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-14.0.1.tgz", + "integrity": "sha512-bLvc1WOz/14aPImu/cufKAZYfXs/A/owZfSMZ4N+16WGXLoX5lOir53M6odBxvhgmgdxCVnNySJmZKx73T93cg==", + "requires": {} + } } }, "stylelint-config-sass-guidelines": { @@ -4634,20 +4956,36 @@ } }, "stylelint-config-standard": { - "version": "36.0.1", - "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-36.0.1.tgz", - "integrity": "sha512-8aX8mTzJ6cuO8mmD5yon61CWuIM4UD8Q5aBcWKGSf6kg+EC3uhB+iOywpTK4ca6ZL7B49en8yanOFtUW0qNzyw==", + "version": "37.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-37.0.0.tgz", + "integrity": "sha512-+6eBlbSTrOn/il2RlV0zYGQwRTkr+WtzuVSs1reaWGObxnxLpbcspCUYajVQHonVfxVw2U+h42azGhrBvcg8OA==", "requires": { - "stylelint-config-recommended": "^14.0.1" + "stylelint-config-recommended": "^15.0.0" } }, "stylelint-config-standard-scss": { - "version": "13.1.0", - "resolved": "https://registry.npmjs.org/stylelint-config-standard-scss/-/stylelint-config-standard-scss-13.1.0.tgz", - "integrity": "sha512-Eo5w7/XvwGHWkeGLtdm2FZLOMYoZl1omP2/jgFCXyl2x5yNz7/8vv4Tj6slHvMSSUNTaGoam/GAZ0ZhukvalfA==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-standard-scss/-/stylelint-config-standard-scss-14.0.0.tgz", + "integrity": "sha512-6Pa26D9mHyi4LauJ83ls3ELqCglU6VfCXchovbEqQUiEkezvKdv6VgsIoMy58i00c854wVmOw0k8W5FTpuaVqg==", "requires": { - "stylelint-config-recommended-scss": "^14.0.0", - "stylelint-config-standard": "^36.0.0" + "stylelint-config-recommended-scss": "^14.1.0", + "stylelint-config-standard": "^36.0.1" + }, + "dependencies": { + "stylelint-config-recommended": { + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-14.0.1.tgz", + "integrity": "sha512-bLvc1WOz/14aPImu/cufKAZYfXs/A/owZfSMZ4N+16WGXLoX5lOir53M6odBxvhgmgdxCVnNySJmZKx73T93cg==", + "requires": {} + }, + "stylelint-config-standard": { + "version": "36.0.1", + "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-36.0.1.tgz", + "integrity": "sha512-8aX8mTzJ6cuO8mmD5yon61CWuIM4UD8Q5aBcWKGSf6kg+EC3uhB+iOywpTK4ca6ZL7B49en8yanOFtUW0qNzyw==", + "requires": { + "stylelint-config-recommended": "^14.0.1" + } + } } }, "stylelint-config-styled-components": { @@ -4656,34 +4994,50 @@ "integrity": "sha512-z5Xz/9GmvxO6e/DLzBMwkB85zHxEEjN6K7Cj80Bi+o/9vR9eS3GX3E9VuMnX9WLFYulqbqLtTapGGY28JBiy9Q==" }, "stylelint-config-tailwindcss": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/stylelint-config-tailwindcss/-/stylelint-config-tailwindcss-0.0.7.tgz", - "integrity": "sha512-n2dCWH+0ppr0/by4EYCLWW7g5LU+l4UzUIsYS7xbVHqvm9UWa7UhltNdNiz5NmLF/FmbJR4Yd/v9DuUGvLw1Tg==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-tailwindcss/-/stylelint-config-tailwindcss-1.0.0.tgz", + "integrity": "sha512-e6WUBJeLdOZ0sy8FZ1jk5Zy9iNGqqJbrMwnnV0Hpaw/yin6QO3gVv/zvyqSty8Yg6nEB5gqcyJbN387TPhEa7Q==", "requires": {} }, "stylelint-config-twbs-bootstrap": { - "version": "15.1.0", - "resolved": "https://registry.npmjs.org/stylelint-config-twbs-bootstrap/-/stylelint-config-twbs-bootstrap-15.1.0.tgz", - "integrity": "sha512-Feu963GzT0BBlfDWAr9Xu/v9pABT94BIztxdJSuRrjDKsCqKo017ltwqGZz2V9CO0bVo7dLbHVbxa5skEtjhOg==", + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-twbs-bootstrap/-/stylelint-config-twbs-bootstrap-16.0.0.tgz", + "integrity": "sha512-MgFiCiqCZVUZ8Rt417lTPBnpgDgFsnZK1sy56UFL+niVLptO0kviKyzZB6b6yEU5bnlWRusau9/FgXiJOi2pJA==", "requires": { "@stylistic/stylelint-config": "^2.0.0", - "@stylistic/stylelint-plugin": "^3.1.0", + "@stylistic/stylelint-plugin": "^3.1.2", "stylelint-config-recess-order": "^5.1.1", "stylelint-config-standard": "^36.0.1", - "stylelint-config-standard-scss": "^13.1.0", - "stylelint-scss": "^6.7.0" + "stylelint-config-standard-scss": "^14.0.0", + "stylelint-scss": "^6.11.1" + }, + "dependencies": { + "stylelint-config-recommended": { + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-14.0.1.tgz", + "integrity": "sha512-bLvc1WOz/14aPImu/cufKAZYfXs/A/owZfSMZ4N+16WGXLoX5lOir53M6odBxvhgmgdxCVnNySJmZKx73T93cg==", + "requires": {} + }, + "stylelint-config-standard": { + "version": "36.0.1", + "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-36.0.1.tgz", + "integrity": "sha512-8aX8mTzJ6cuO8mmD5yon61CWuIM4UD8Q5aBcWKGSf6kg+EC3uhB+iOywpTK4ca6ZL7B49en8yanOFtUW0qNzyw==", + "requires": { + "stylelint-config-recommended": "^14.0.1" + } + } } }, "stylelint-declaration-strict-value": { - "version": "1.10.6", - "resolved": "https://registry.npmjs.org/stylelint-declaration-strict-value/-/stylelint-declaration-strict-value-1.10.6.tgz", - "integrity": "sha512-aZGEW4Ee26Tx4UvpQJbcElVXZ42EleujEByiyKDTT7t83EeSe9t0lAG3OOLJnnvLjz/dQnp+L+3IYTMeQI51vQ==", + "version": "1.10.11", + "resolved": "https://registry.npmjs.org/stylelint-declaration-strict-value/-/stylelint-declaration-strict-value-1.10.11.tgz", + "integrity": "sha512-oVQvhZlFZAiDz9r2BPFZLtTGm1A2JVhdKObKAJoTjFfR4F/NpApC4bMBTxf4sZS76Na3njYKVOaAaKSZ4+FU+g==", "requires": {} }, "stylelint-no-px": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/stylelint-no-px/-/stylelint-no-px-2.0.0.tgz", - "integrity": "sha512-uuiKhXIlLATtetsqvGG0tx8LUlqKDKI4BzYUeEp2mrJD7gb0AazPPtEHdRMrMeEJGwnRcPyiOYvAZ29In4m+1g==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/stylelint-no-px/-/stylelint-no-px-2.1.0.tgz", + "integrity": "sha512-DKYs+FC/gre28GthHnd2tHjCCgctYgswriGiNkZ4nX/saA+Owxwsm8rS40Rx/YvWr3sa6ZlL+Ozdp8BTkPbF2g==", "requires": { "postcss-less": "^6.0.0", "postcss-value-parser": "^4.2.0" @@ -4699,26 +5053,42 @@ } }, "stylelint-prettier": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/stylelint-prettier/-/stylelint-prettier-5.0.2.tgz", - "integrity": "sha512-qJ+BN+1T2ZcKz9WIrv0x+eFGHzSUnXfXd5gL///T6XoJvr3D8/ztzz2fhtmXef7Vb8P33zBXmLTTveByr0nwBw==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/stylelint-prettier/-/stylelint-prettier-5.0.3.tgz", + "integrity": "sha512-B6V0oa35ekRrKZlf+6+jA+i50C4GXJ7X1PPmoCqSUoXN6BrNF6NhqqhanvkLjqw2qgvrS0wjdpeC+Tn06KN3jw==", "requires": { "prettier-linter-helpers": "^1.0.0" } }, "stylelint-scss": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-6.8.0.tgz", - "integrity": "sha512-6gjsCZ30UUF6ivjZB2Z+1lb6k0+JFa1uR2MgGbYu76xRjEfvNTpSS1nQim1Gom1ijFF9GzauOiq1Kr7zKptQOw==", + "version": "6.11.1", + "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-6.11.1.tgz", + "integrity": "sha512-e4rYo0UY+BIMtGeGanghrvHTjcryxgZbyFxUedp8dLFqC4P70aawNdYjRrQxbnKhu3BNr4+lt5e/53tcKXiwFA==", "requires": { - "css-tree": "^3.0.0", + "css-tree": "^3.0.1", "is-plain-object": "^5.0.0", - "known-css-properties": "^0.34.0", - "mdn-data": "^2.0.30", + "known-css-properties": "^0.35.0", + "mdn-data": "^2.15.0", "postcss-media-query-parser": "^0.2.3", "postcss-resolve-nested-selector": "^0.1.6", - "postcss-selector-parser": "^6.1.2", + "postcss-selector-parser": "^7.1.0", "postcss-value-parser": "^4.2.0" + }, + "dependencies": { + "mdn-data": { + "version": "2.18.0", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.18.0.tgz", + "integrity": "sha512-gtCy1yim/vpHF/tq3B4Z43x3zKWpYeb4IM3d/Mf4oMYcNuoXOYEaqtoFlLHw9zd7+WNN3jNh6/WXyUrD3OIiwQ==" + }, + "postcss-selector-parser": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz", + "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==", + "requires": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + } + } } }, "stylelint-selector-bem-pattern": { @@ -4870,9 +5240,9 @@ } }, "supports-hyperlinks": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-3.1.0.tgz", - "integrity": "sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-3.2.0.tgz", + "integrity": "sha512-zFObLMyZeEwzAoKCyu1B91U79K2t7ApXuQfo8OuxwXLDgcKxuwM+YvcbIhm6QWqz7mHUH1TVytR1PwVVjEuMig==", "requires": { "has-flag": "^4.0.0", "supports-color": "^7.0.0" @@ -4904,9 +5274,9 @@ "integrity": "sha1-WPcc7jvVGbWdSyqEO2x95krAR2Q=" }, "table": { - "version": "6.8.2", - "resolved": "https://registry.npmjs.org/table/-/table-6.8.2.tgz", - "integrity": "sha512-w2sfv80nrAh2VCbqR5AK27wswXhqcck2AhfnNW76beQXskGZ1V12GwS//yYVa3d3fcvAip2OUnbDAjW2k3v9fA==", + "version": "6.9.0", + "resolved": "https://registry.npmjs.org/table/-/table-6.9.0.tgz", + "integrity": "sha512-9kY+CygyYM6j02t5YFHbNz2FN5QmYGv9zAjVp4lCDjlCw7amdckXlEt/bjMhUIfj4ThGRE4gCUH5+yGnNuPo5A==", "requires": { "ajv": "^8.0.1", "lodash.truncate": "^4.4.2", @@ -5000,9 +5370,9 @@ "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==" }, "typescript": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", - "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==" + "version": "5.8.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.2.tgz", + "integrity": "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==" }, "uri-js": { "version": "4.4.1", diff --git a/package.json b/package.json index ce13d37..296d946 100644 --- a/package.json +++ b/package.json @@ -10,29 +10,29 @@ "upgrade": "npm install" }, "dependencies": { - "@stylistic/stylelint-plugin": "^3.1.1", - "postcss": "^8.4.47", + "@stylistic/stylelint-plugin": "^3.1.2", + "postcss": "^8.5.3", "postcss-less": "^6.0.0", "postcss-safe-parser": "^7.0.1", "postcss-sass": "^0.5.0", "postcss-scss": "^4.0.9", "postcss-styled": "^0.34.0", - "postcss-styled-syntax": "^0.6.4", + "postcss-styled-syntax": "^0.7.1", "postcss-syntax": "^0.36.2", - "prettier": "^3.3.3", - "stylelint": "^16.10.0", + "prettier": "^3.5.3", + "stylelint": "^16.17.0", "stylelint-a11y": "^1.2.3", "stylelint-config-css-modules": "^4.4.0", "stylelint-config-sass-guidelines": "^12.1.0", - "stylelint-config-standard": "^36.0.1", - "stylelint-config-standard-scss": "^13.1.0", + "stylelint-config-standard": "^37.0.0", + "stylelint-config-standard-scss": "^14.0.0", "stylelint-config-styled-components": "^0.1.1", - "stylelint-config-tailwindcss": "^0.0.7", - "stylelint-config-twbs-bootstrap": "^15.1.0", - "stylelint-declaration-strict-value": "^1.10.6", - "stylelint-no-px": "^2.0.0", - "stylelint-prettier": "^5.0.2", - "stylelint-scss": "^6.8.0", + "stylelint-config-tailwindcss": "^1.0.0", + "stylelint-config-twbs-bootstrap": "^16.0.0", + "stylelint-declaration-strict-value": "^1.10.11", + "stylelint-no-px": "^2.1.0", + "stylelint-prettier": "^5.0.3", + "stylelint-scss": "^6.11.1", "stylelint-selector-bem-pattern": "^4.0.1", "stylelint-suitcss": "^5.0.0" }