-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.js
149 lines (148 loc) · 4.73 KB
/
index.js
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
"use strict"
module.exports = {
"extends": "stylelint-config-standard",
"plugins": [
"stylelint-scss"
],
"ignoreFiles": [
"sass/vendor/*.scss"
],
"rules": {
"at-rule-empty-line-before": [
"always",
{
"except": [
"blockless-after-same-name-blockless",
"first-nested"
],
"ignore": [
"after-comment"
],
"ignoreAtRules": [
"extend",
"include",
"else",
"elseif",
"content"
]
}
],
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"content",
"extend",
"include",
"mixin",
"if",
"for",
"else",
"elseif",
"error",
"each",
"function",
"return",
"while"
]
}
],
"at-rule-name-space-after": "always",
"function-comma-newline-before": "never-multi-line",
"function-name-case": [
"lower",
{
"ignoreFunctions": [
"/^[a-z][a-z-A-Z0-9]*$/"
]
}
],
"block-closing-brace-newline-after": [
"always",
{
"ignoreAtRules": [ "if", "else", "elseif" ]
}
],
"font-weight-notation": "numeric",
"string-quotes": "single",
"value-keyword-case": "lower",
"declaration-empty-line-before": "never",
"selector-attribute-quotes": "always",
"selector-class-pattern": "^[a-z][a-z-A-Z0-9]*$",
"selector-max-compound-selectors": [
3,
{
"severity": "warning"
}
],
"selector-max-id": 0,
"selector-max-type": [
2,
{
"severity": "warning"
}
],
"selector-max-combinators": [
2,
{
"severity": "warning"
}
],
"selector-max-universal": 1,
"selector-max-specificity": "0,3,0",
"selector-list-comma-newline-before": "never-multi-line",
"selector-list-comma-space-after": "always-single-line",
"custom-media-pattern": "^[a-z][a-z-A-Z0-9]*$",
"media-feature-parentheses-space-inside": "never",
"media-query-list-comma-newline-before": "never-multi-line",
"at-rule-semicolon-space-before": "never",
"indentation": 4,
"max-line-length": 120,
"no-descending-specificity": null,
"no-duplicate-selectors": true,
"no-empty-source": true,
"block-no-empty": true,
"color-hex-length": "long",
"color-hex-case": ["upper"],
"rule-empty-line-before": [
"always",
{
"except": [
"first-nested"
],
"ignore": [
"after-comment"
]
}
],
"shorthand-property-no-redundant-values": true,
"scss/dollar-variable-pattern": "^[a-z][a-z-A-Z0-9]*$",
"scss/dollar-variable-colon-space-after": "always-single-line",
"scss/dollar-variable-colon-space-before": "never",
"scss/dollar-variable-empty-line-before": [
"always",
{
"except": [
"first-nested",
"after-comment",
"after-dollar-variable"
]
}
],
"scss/percent-placeholder-pattern": "^[a-z][a-z-A-Z0-9]*$",
"scss/double-slash-comment-whitespace-inside": "always",
"scss/declaration-nested-properties": "never",
"scss/operator-no-newline-after": true,
"scss/operator-no-newline-before": true,
"scss/operator-no-unspaced": true,
"scss/at-else-if-parentheses-space-before": "always",
"scss/at-function-parentheses-space-before": "never",
"scss/at-function-pattern": "^[a-z][a-z-A-Z0-9]*$",
"scss/at-mixin-parentheses-space-before": "never",
"scss/at-else-closing-brace-newline-after": "always-last-in-chain",
"scss/at-else-closing-brace-space-after": "always-intermediate",
"scss/at-else-empty-line-before": "never",
"scss/at-if-closing-brace-newline-after": "always-last-in-chain",
"scss/at-if-closing-brace-space-after": "always-intermediate"
}
}