-
Notifications
You must be signed in to change notification settings - Fork 1
/
.stylelintrc.json
71 lines (71 loc) · 2.1 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"extends": [
"stylelint-config-recess-order",
"@wordpress/stylelint-config"
],
"ignoreFiles": [
"node_modules/",
"external/",
"wme-sitebuilder/vendor",
"assets/scss/storebuilder/components/mui-components/**/*.scss"
],
"plugins": [
"stylelint-a11y",
"stylelint-declaration-block-no-ignored-properties",
"stylelint-order"
],
"rules": {
"a11y/no-obsolete-attribute": true,
"a11y/no-obsolete-element": true,
"a11y/no-outline-none": true,
"a11y/no-text-align-justify": true,
"a11y/selector-pseudo-class-focus": [ true, {
"severity": "warning"
} ],
"at-rule-no-unknown": [ true, {
"ignoreAtRules": [ "include", "apply", "mixin" ]
} ],
"block-no-empty": true,
"color-no-invalid-hex": true,
"comment-empty-line-before": [ "always", {
"except" : [ "first-nested" ],
"ignore": [ "after-comment", "stylelint-commands" ]
} ],
"comment-no-empty": true,
"comment-whitespace-inside": "always",
"declaration-no-important": [ true, {
"severity": "warning"
} ],
"declaration-property-unit-allowed-list": null,
"font-family-no-duplicate-names": true,
"font-family-no-missing-generic-family-keyword": [ true, {
"ignoreFontFamilies": [ "dashicons" ]
} ],
"function-max-empty-lines": 0,
"function-url-quotes": "always",
"linebreaks": "unix",
"max-empty-lines": 1,
"max-line-length": null,
"media-feature-name-no-unknown": true,
"no-descending-specificity": null,
"no-empty-source": true,
"no-empty-first-line": true,
"no-eol-whitespace": true,
"no-extra-semicolons": true,
"no-irregular-whitespace": true,
"no-invalid-double-slash-comments": true,
"no-missing-end-of-source-newline": true,
"plugin/declaration-block-no-ignored-properties": true,
"property-no-unknown": true,
"rule-empty-line-before": [ "always", {
"except": [ "after-single-line-comment", "first-nested" ],
"ignore": [ "after-comment" ]
} ],
"selector-class-pattern": null,
"selector-pseudo-class-no-unknown": true,
"selector-pseudo-element-no-unknown": true,
"selector-type-no-unknown": true,
"shorthand-property-no-redundant-values": true,
"unit-no-unknown": true
}
}