This repository has been archived by the owner on Sep 29, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
.stylelintrc.yml
75 lines (69 loc) · 2.39 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
# See https://github.com/stylelint/stylelint/blob/master/docs/user-guide/rules.md
# Also https://github.com/kristerkari/stylelint-scss#list-of-rules
extends: stylelint-config-recommended
plugins: stylelint-scss
ignoreFiles:
- '**/*.js'
rules:
at-rule-no-unknown: null
scss/at-rule-no-unknown: true
# possible errors (these are all on by default)
no-descending-specificity: null
# limit language features
at-rule-no-vendor-prefix: true
color-named: always-where-possible
declaration-block-no-redundant-longhand-properties:
- true
- ignoreShorthands:
- grid-template
declaration-block-single-line-max-declarations: 1
declaration-no-important: true
function-url-no-scheme-relative: true
media-feature-name-no-vendor-prefix: true
property-no-vendor-prefix: true
selector-max-empty-lines: 0
selector-no-vendor-prefix: true
shorthand-property-no-redundant-values: true
value-no-vendor-prefix: true
# stylistic issues
at-rule-name-case: lower
at-rule-name-space-after: always
at-rule-semicolon-space-before: never
color-hex-case: lower
color-hex-length: short
comment-whitespace-inside: always
declaration-bang-space-after: never
declaration-bang-space-before: always
font-family-name-quotes: always-unless-keyword
font-weight-notation: named-where-possible
function-max-empty-lines: 1
function-name-case: lower
function-url-quotes: always
indentation: null
length-zero-no-unit: true
max-empty-lines: 2
media-feature-colon-space-after: always
media-feature-colon-space-before: never
media-feature-name-case: lower
media-feature-parentheses-space-inside: never
media-query-list-comma-space-after: always
media-query-list-comma-space-before: never
no-eol-whitespace: true
no-missing-end-of-source-newline: true
number-leading-zero: always
number-no-trailing-zeros: true
property-case: lower
selector-attribute-brackets-space-inside: never
selector-attribute-quotes: always
selector-combinator-space-after: always
selector-combinator-space-before: always
selector-descendant-combinator-no-non-space: true
selector-list-comma-newline-after: always
selector-pseudo-class-case: lower
selector-pseudo-class-parentheses-space-inside: never
selector-pseudo-element-case: lower
selector-pseudo-element-colon-notation: double
selector-type-case: lower
unit-case: lower
value-keyword-case: lower
value-list-max-empty-lines: 1