forked from patternfly/patternfly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
95 lines (95 loc) · 2.92 KB
/
.stylelintrc
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"extends": [
"stylelint-config-recess-order",
"stylelint-config-standard-scss"
],
"plugins": [
"stylelint-order",
"stylelint-scss",
"stylelint-use-logical-spec"
],
"ignoreFiles": [
"./src/patternfly/assets/fontawesome/*.scss",
"./src/patternfly/assets/pficon/*.scss",
"./scripts/template/**/*.scss",
"./scripts/gulp/*.scss"
],
"rules": {
"at-rule-empty-line-before": [ "always", {
"except": [
"blockless-after-same-name-blockless",
"first-nested"
],
"ignore": ["after-comment"],
"ignoreAtRules": "else"
}],
"alpha-value-notation": null,
"annotation-no-unknown": [ true, {
"ignoreAnnotations": [
"=",
"default"
]
}],
"color-function-notation": null,
"color-named": "never",
"color-hex-length": null,
"comment-empty-line-before": ["always", {
"except": ["first-nested"],
"ignore": [
"after-comment",
"stylelint-commands"
]
}],
"custom-property-pattern": "^pf-(v[56]|t-)-(color|global|chart|[lcud])-.+$",
"declaration-block-no-redundant-longhand-properties": null,
"declaration-no-important": true,
"declaration-property-value-disallowed-list": {
"/^--/": ["/^:/"]
},
"font-weight-notation": "numeric",
"import-notation": "string",
"keyframes-name-pattern": null,
"liberty/use-logical-spec": ["always", { "except": ["width", "max-width", "min-width", "height", "max-height", "min-height"] }],
"max-nesting-depth": 3,
"media-query-no-invalid": null,
"no-descending-specificity": null,
"no-unknown-animations": true,
"order/order": [
"custom-properties",
"declarations"
],
"scss/declaration-nested-properties": "never",
"scss/dollar-variable-colon-space-after": "at-least-one-space",
"scss/dollar-variable-colon-space-before": "never",
"scss/dollar-variable-empty-line-before": ["always", {
"except": [
"first-nested",
"after-comment",
"after-dollar-variable"
]
}],
"scss/dollar-variable-pattern": ["^pf-v[56]-", {"ignore": "local"}],
"scss/double-slash-comment-empty-line-before": ["always", {
"except": ["first-nested"],
"ignore": [
"between-comments",
"stylelint-commands"
]
}],
"scss/double-slash-comment-whitespace-inside": "always",
"scss/at-mixin-pattern": "^pf-",
"scss/no-global-function-names": null,
"scss/comment-no-loud": true,
"scss/percent-placeholder-pattern": "^pf-",
"selector-class-pattern": "pf-",
"selector-max-attribute": 2,
"selector-max-class": 4,
"selector-max-combinators": 4,
"selector-max-compound-selectors": 4,
"selector-max-id": 0,
"selector-max-type": 2,
"selector-nested-pattern": "^(?!.*&[-_])",
"selector-no-qualifying-type": true,
"value-keyword-case": ["lower", { "ignoreKeywords": ["Helvetica", "Arial", "Courier"] }]
}
}