You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/description/alpha-value-notation.md
+21-9Lines changed: 21 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,18 +9,20 @@ Specify percentage or number notation for alpha-values.
9
9
* This notation */
10
10
```
11
11
12
-
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.
13
-
14
-
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.
12
+
The [`fix` option](https://github.com/stylelint/stylelint/16.23.0/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule.
15
13
16
14
## Options
17
15
18
-
`string`: `"number"|"percentage"`
19
-
20
16
### `"number"`
21
17
22
18
Alpha-values _must always_ use the number notation.
23
19
20
+
```json
21
+
{
22
+
"alpha-value-notation": "number"
23
+
}
24
+
```
25
+
24
26
The following patterns are considered problems:
25
27
26
28
<!-- prettier-ignore -->
@@ -49,6 +51,12 @@ a { color: rgb(0 0 0 / 0.5) }
49
51
50
52
Alpha-values _must always_ use percentage notation.
Copy file name to clipboardExpand all lines: docs/description/annotation-no-unknown.md
+17-4Lines changed: 17 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,16 @@ a { color: green !imprtant; }
11
11
12
12
This rule considers annotations defined in the CSS Specifications, up to and including Editor's Drafts, to be known.
13
13
14
-
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.
Copy file name to clipboardExpand all lines: docs/description/at-rule-allowed-list.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,16 +11,20 @@ Specify a list of allowed at-rules.
11
11
12
12
This rule ignores the `@charset` rule.
13
13
14
-
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.
Copy file name to clipboardExpand all lines: docs/description/at-rule-descriptor-no-unknown.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,11 +17,9 @@ You can filter the [CSSTree Syntax Reference](https://csstree.github.io/docs/syn
17
17
18
18
This rule is only appropriate for CSS. You should not turn it on for CSS-like languages, such as SCSS or Less.
19
19
20
-
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.
20
+
This rule checks descriptors within at-rules. To check properties, you can use the [`property-no-unknown`](https://github.com/stylelint/stylelint/16.23.0/lib/rules/property-no-unknown/README.md) rule.
21
21
22
-
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.
23
-
24
-
For customizing syntax, see the [`languageOptions`](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#languageoptions) section.
22
+
For customizing syntax, see the [`languageOptions`](https://github.com/stylelint/stylelint/16.23.0/docs/user-guide/configure.md#languageoptions) section.
Copy file name to clipboardExpand all lines: docs/description/at-rule-descriptor-value-no-unknown.md
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,21 +17,19 @@ You can filter the [CSSTree Syntax Reference](https://csstree.github.io/docs/syn
17
17
18
18
This rule is only appropriate for CSS. You should not turn it on for CSS-like languages, such as SCSS or Less.
19
19
20
-
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.
21
-
22
-
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.
20
+
This rule checks descriptor values within at-rules. You can use [`declaration-property-value-no-unknown`](https://github.com/stylelint/stylelint/16.23.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.23.0/lib/rules/at-rule-descriptor-no-unknown/README.md) to disallow unknown descriptors for at-rules.
You can either turn off the rules or configure them to ignore the overlaps.
33
31
34
-
For customizing syntax, see the [`languageOptions`](https://github.com/stylelint/stylelint/16.17.0/docs/user-guide/configure.md#languageoptions) section.
32
+
For customizing syntax, see the [`languageOptions`](https://github.com/stylelint/stylelint/16.23.0/docs/user-guide/configure.md#languageoptions) section.
Copy file name to clipboardExpand all lines: docs/description/at-rule-disallowed-list.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,16 +11,20 @@ Specify a list of disallowed at-rules.
11
11
12
12
This rule ignores the `@charset` rule.
13
13
14
-
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.
0 commit comments