-
Notifications
You must be signed in to change notification settings - Fork 13
/
.stylelintrc.json
51 lines (51 loc) · 1.78 KB
/
.stylelintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"extends": [
"stylelint-config-standard",
"stylelint-config-recess-order",
"stylelint-stylistic/config",
"stylelint-prettier/recommended"
],
"ignoreFiles": [
"dist/**/*",
"src/extension/static/*"
],
"rules": {
"at-rule-no-unknown": true,
"block-no-empty": true,
"color-hex-length": "short",
"color-named": "never",
"color-no-invalid-hex": true,
"comment-no-empty": true,
"comment-whitespace-inside": "always",
"declaration-block-no-duplicate-properties": true,
"declaration-no-important": null,
"declaration-property-unit-allowed-list": { "line-height": ["px"]},
"font-family-name-quotes": "always-where-recommended",
"font-family-no-duplicate-names": true,
"font-weight-notation": ["numeric", { "ignore": ["relative"] }],
"function-url-quotes": "never",
"media-feature-range-notation": null,
"no-descending-specificity": null,
"no-invalid-double-slash-comments": true,
"no-irregular-whitespace": true,
"rule-empty-line-before": ["always", { "except": ["after-single-line-comment", "first-nested"], "ignore": ["after-comment"] }],
"selector-attribute-quotes": "always",
"selector-class-pattern": null,
"selector-id-pattern": null,
"selector-pseudo-class-no-unknown": true,
"selector-pseudo-element-colon-notation": "double",
"selector-pseudo-element-no-unknown": true,
"selector-type-case": "lower",
"selector-type-no-unknown": true,
"shorthand-property-no-redundant-values": true,
"unit-no-unknown": true,
"value-keyword-case": "lower",
"stylistic/max-line-length": [120, { "ignore": ["non-comments"] }],
"stylistic/number-leading-zero": null,
"prettier/prettier": [true, {
"singleQuote": false,
"printWidth": 220
}]
},
"cache": true
}