Skip to content

Commit 6380e7a

Browse files
committed
Add stylelint configuration
1 parent db602b1 commit 6380e7a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.stylelintrc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"rules": {
3+
"block-no-empty": null,
4+
"color-no-invalid-hex": true,
5+
"comment-empty-line-before": [ "always", {
6+
"ignore": ["stylelint-commands", "after-comment"]
7+
} ],
8+
"declaration-colon-space-after": "always",
9+
"max-empty-lines": 2,
10+
"rule-empty-line-before": [ "always", {
11+
"except": ["first-nested"],
12+
"ignore": ["after-comment"]
13+
} ],
14+
"unit-whitelist": ["em", "rem", "%", "s"]
15+
}
16+
}

0 commit comments

Comments
 (0)