-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.stylelintrc.json
More file actions
55 lines (54 loc) · 1.54 KB
/
.stylelintrc.json
File metadata and controls
55 lines (54 loc) · 1.54 KB
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
{
"extends": ["stylelint-config-standard-scss", "stylelint-config-property-sort-order-smacss"],
"ignoreFiles": ["**/build/**", "**/dist/**", "**/node_modules/**"],
"rules": {
"scss/dollar-variable-pattern": [
"^[a-z]([a-zA-Z0-9]+)?(_)?([a-z0-9]([a-zA-Z0-9]+)?)?(_)?([a-z0-9]([a-zA-Z0-9]+)?)?$",
{
"message": "You can name variables in 'camelCase' using also '_'"
}
],
"scss/at-mixin-pattern": [
"^[a-z][a-zA-Z]+$",
{
"message": "Expected mixin name to be 'camelCase'"
}
],
"scss/percent-placeholder-pattern": [
"^[a-z]([a-zA-Z0-9]+)?(_)?([a-z0-9]([a-zA-Z0-9]+)?)?(_)?([a-z0-9]([a-zA-Z0-9]+)?)?$",
{
"message": "You can name variables in 'camelCase' using also '_'"
}
],
"scss/at-function-pattern": [
"^[a-z][a-zA-Z]+$",
{
"message": "Expected functions name to be 'camelCase'"
}
],
"selector-class-pattern": "^[a-z][a-zA-Z]+",
"function-name-case": [
"lower",
{
"ignoreFunctions": ["/^[a-z][a-zA-Z]+/"]
}
],
"value-keyword-case": [
"lower",
{
"ignoreFunctions": ["/^[a-z][a-zA-Z]+/"]
}
],
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": ["export", "global"]
}
],
"no-duplicate-selectors": null,
"no-descending-specificity": null,
"scss/at-extend-no-missing-placeholder": null,
"scss/double-slash-comment-whitespace-inside": null,
"scss/double-slash-comment-empty-line-before": null
}
}