Skip to content

Commit 1a1af11

Browse files
committed
default stylelintrc file
Signed-off-by: Adrian Juszczak <[email protected]>
1 parent c600e12 commit 1a1af11

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.stylelintrc

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
"use strict"
2+
3+
module.exports = {
4+
"rules": {
5+
"at-rule-no-unknown": true,
6+
"block-no-empty": true,
7+
"color-no-invalid-hex": true,
8+
"comment-no-empty": true,
9+
"declaration-block-no-duplicate-properties": [true, {
10+
ignore: ["consecutive-duplicates-with-different-values"],
11+
}],
12+
"declaration-block-no-redundant-longhand-properties": true,
13+
"declaration-block-no-shorthand-property-overrides": true,
14+
"font-family-no-duplicate-names": true,
15+
"function-calc-no-unspaced-operator": true,
16+
"function-linear-gradient-no-nonstandard-direction": true,
17+
"keyframe-declaration-no-important": true,
18+
"media-feature-name-no-unknown": true,
19+
"no-empty-source": true,
20+
"no-extra-semicolons": true,
21+
"no-invalid-double-slash-comments": true,
22+
"property-no-unknown": true,
23+
"selector-pseudo-class-no-unknown": true,
24+
"selector-pseudo-element-no-unknown": true,
25+
"selector-type-no-unknown": true,
26+
"shorthand-property-no-redundant-values": true,
27+
"string-no-newline": true,
28+
"unit-no-unknown": true,
29+
},
30+
}

0 commit comments

Comments
 (0)