Skip to content

Commit

Permalink
Fixes at-rule-no-unknown false positives for @scroll-timeline (#6554
Browse files Browse the repository at this point in the history
)

Co-authored-by: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>
  • Loading branch information
mattxwang and ybiquitous committed Jan 4, 2023
1 parent 797381c commit 5e6d46a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/nice-ligers-type.md
@@ -0,0 +1,5 @@
---
"stylelint": patch
---

Fixed: `at-rule-no-unknown` false positives for `@scroll-timeline`
1 change: 1 addition & 0 deletions lib/reference/atKeywords.js
Expand Up @@ -44,6 +44,7 @@ const atKeywords = uniteSets(pageMarginAtKeywords, [
'ornaments',
'page',
'property',
'scroll-timeline',
'styleset',
'stylistic',
'supports',
Expand Down
3 changes: 3 additions & 0 deletions lib/rules/at-rule-no-unknown/__tests__/index.js
Expand Up @@ -91,6 +91,9 @@ testRule({
{
code: '@layer framework { h1 { background: white; } }',
},
{
code: '@scroll-timeline foo {}',
},
],

reject: [
Expand Down

0 comments on commit 5e6d46a

Please sign in to comment.