-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy path.stylelintrc
38 lines (38 loc) · 1.48 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
{
"extends": "stylelint-config-standard",
"rules": {
"import-notation": "string",
"indentation": 2,
"string-quotes": "double",
"no-duplicate-selectors": true,
"no-descending-specificity": null,
"function-comma-space-before": "never",
"function-comma-space-after": "always-single-line",
"comment-empty-line-before": ["always", {
"except": ["first-nested"]
}],
"color-hex-case": "lower",
"color-hex-length": "short",
"selector-class-pattern": "^(?:(?:o|c|u|t|s|is|has|_|js|qa)-)?[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*(?:__[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)?(?:--[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)?(?:\\[.+\\])?$",
"selector-no-qualifying-type": [true, {
"ignore": ["attribute", "class", "id"]
}],
"selector-max-id": 0,
"selector-combinator-space-after": "always",
"selector-attribute-quotes": "always",
"declaration-block-trailing-semicolon": "always",
"declaration-colon-space-before": "never",
"declaration-colon-space-after": "always-single-line",
"declaration-colon-newline-after": "always-multi-line",
"property-no-vendor-prefix": true,
"value-no-vendor-prefix": true,
"number-leading-zero": "always",
"at-rule-no-vendor-prefix": true,
"rule-empty-line-before": null,
"selector-pseudo-element-colon-notation": "double",
"selector-pseudo-class-parentheses-space-inside": "never",
"selector-no-vendor-prefix": true,
"media-feature-colon-space-after": "always",
"max-line-length": 180
}
}