-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc.json
50 lines (50 loc) · 1.71 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
{
"extends": [
"stylelint-config-standard",
"stylelint-config-standard-scss",
"stylelint-config-recommended-scss",
"stylelint-config-prettier"
],
"syntax": "scss",
"ignoreFiles": [
"src/scss/global/_var.scss"
],
"rules": {
"declaration-empty-line-before": null,
"max-line-length": 300,
"indentation": 4,
"no-missing-end-of-source-newline": true,
"function-parentheses-newline-inside": "never-multi-line",
"function-parentheses-space-inside": "never-single-line",
"function-comma-newline-after": "never-multi-line",
"function-comma-newline-before": "never-multi-line",
"declaration-block-no-shorthand-property-overrides": true,
"max-empty-lines": 2,
"rule-empty-line-before": [
"always",
{
"ignore": [
"after-comment",
"inside-block"
]
}
],
"selector-class-pattern": "^(([a-z][a-zA-Z0-9_]+)|([a-z][a-z0-9]*)(-[a-zA-Z0-9_]+)*)$",
"color-function-notation": "legacy",
"at-rule-no-unknown": null,
"function-no-unknown": [
true,
{
"ignoreFunctions": [
"/^map\\..+/",
"/^color\\..+/",
"/^math\\..+/"
]
}
],
"scss/at-rule-no-unknown": true,
"scss/dollar-variable-pattern": "^(([a-z][a-zA-Z0-9_]+)|([a-z][a-z0-9]*)(-[a-zA-Z0-9_]+)*)$",
"scss/at-mixin-pattern": "^(([a-z][a-zA-Z0-9_]+)|([a-z][a-z0-9]*)(-[a-zA-Z0-9_]+)*)$",
"scss/at-mixin-argumentless-call-parentheses": "always"
}
}