Skip to content

Commit 8e0592d

Browse files
committed
feat: regex support to ignoreAtRules option of at-rule-empty-line-before
1 parent 3b6204f commit 8e0592d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rules/stylelint/at-rule-empty-line-before.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export type AtRuleEmptyLineBeforeOptions = RuleConfig<
77
{
88
except?: LiteralUnion<'after-same-name' | 'inside-block' | 'blockless-after-same-name-blockless' | 'blockless-after-blockless' | 'first-nested'>[]
99
ignore?: LiteralUnion<'after-comment' | 'first-nested' | 'inside-block' | 'blockless-after-same-name-blockless' | 'blockless-after-blockless'>[]
10-
ignoreAtRules?: AtRules[]
10+
ignoreAtRules?: (AtRules | RegExp | `/${string}/`)[]
1111
message?: string | ((atRule: string) => string)
1212
}
1313
>

0 commit comments

Comments
 (0)