This repository has been archived by the owner on Dec 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.yml
89 lines (88 loc) · 2.77 KB
/
.stylelintrc.yml
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
rules:
at-rule-name-case: lower
block-closing-brace-empty-line-before: never
block-closing-brace-newline-after: always
block-no-empty: true
block-opening-brace-newline-after: always-multi-line
block-opening-brace-newline-before: never-single-line
block-opening-brace-space-after: always-single-line
block-opening-brace-space-before: always
color-hex-case: lower
color-no-invalid-hex: true
comment-empty-line-before: always
comment-no-empty: true
comment-whitespace-inside: always
declaration-block-no-duplicate-properties: true
declaration-block-no-shorthand-property-overrides: true
declaration-block-semicolon-newline-after: always-multi-line
declaration-block-trailing-semicolon: always
declaration-colon-space-after: always-single-line
declaration-colon-space-before: never
font-family-name-quotes: always-where-recommended
function-comma-space-after: always
function-name-case: lower
function-parentheses-space-inside: never
function-url-quotes: always
function-whitespace-after: always
indentation: 2
length-zero-no-unit:
- true
- severity: error
max-empty-lines: 2
max-nesting-depth: 3
no-duplicate-selectors: true
no-eol-whitespace: true
no-extra-semicolons: true
no-invalid-double-slash-comments: true
no-missing-end-of-source-newline: true
number-leading-zero:
- always
- severity: error
number-no-trailing-zeros: true
property-case:
- lower
- severity: error
property-no-vendor-prefix: true
rule-empty-line-before:
- always
- except:
- first-nested
- ignore:
- after-comment
selector-attribute-brackets-space-inside: never
selector-attribute-operator-space-after: never
selector-attribute-operator-space-before: never
selector-attribute-quotes: never
selector-class-pattern: ^(?:(?:a|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-combinator-space-after: always
selector-combinator-space-before: always
selector-list-comma-space-after: always-single-line
selector-list-comma-space-before: never
selector-max-compound-selectors: 3
selector-max-empty-lines: 0
selector-no-id:
- true
- severity: error
selector-no-qualifying-type:
- true
- ignore:
- attribute
selector-pseudo-class-case: lower
selector-pseudo-class-no-unknown: true
selector-pseudo-element-case: lower
selector-type-case:
- lower
- severity: error
selector-type-no-unknown: true
string-no-newline: true
string-quotes: single
unit-case:
- lower
- severity: error
unit-no-unknown: true
value-keyword-case:
- lower
- severity: error
value-list-comma-space-after: always
value-list-comma-space-before: never
defaultSeverity: warning