Skip to content
This repository was archived by the owner on Oct 15, 2021. It is now read-only.

Commit fecf229

Browse files
committed
fix(stylelint): Ignore Sass @-rules and directives
Related to 3881d0a which added the rule `at-rule-no-unknown` to stylelint-config-standard.
1 parent 33a1de4 commit fecf229

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

.stylelintrc.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22
"extends": "stylelint-config-standard",
33
"rules": {
44
"indentation": "tab",
5-
"number-leading-zero": ["always", {"severity": "warning"}]
5+
"number-leading-zero": ["always", {"severity": "warning"}],
6+
"at-rule-no-unknown": [ true, {
7+
"ignoreAtRules": [
8+
"extend",
9+
"mixin",
10+
"include",
11+
"at-root",
12+
"debug",
13+
"warn",
14+
"error",
15+
"if",
16+
"for",
17+
"each",
18+
"while"
19+
]
20+
}]
621
}
722
}

0 commit comments

Comments
 (0)