Skip to content

Commit 62c8a1f

Browse files
committed
feat: ignore: ["keyframe-selectors"] to selector-disallowed-list
1 parent 22992bb commit 62c8a1f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/rules/stylelint/selector-disallowed-list.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import type { RuleConfig } from '../rule-config'
22

3+
type SelectorDisallowedListIgnore = 'inside-block' | 'keyframe-selectors'
4+
35
export type SelectorDisallowedListOptions = RuleConfig<
46
string | RegExp | (string | RegExp)[],
57
{
@@ -11,7 +13,7 @@ export type SelectorDisallowedListOptions = RuleConfig<
1113
/**
1214
* Ignore selectors that are inside a block.
1315
*/
14-
ignore?: ['inside-block']
16+
ignore?: [SelectorDisallowedListIgnore]
1517
message?: string | ((selector: string) => string)
1618
}
1719
>

0 commit comments

Comments
 (0)