@deot/dev-stylelint 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/index.js +199 -0
- package/package.json +19 -0
package/README.md
ADDED
package/index.js
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
root: true,
|
|
3
|
+
plugins: ['stylelint-order'],
|
|
4
|
+
extends: ['stylelint-config-standard'],
|
|
5
|
+
rules: {
|
|
6
|
+
"indentation": "tab",
|
|
7
|
+
'selector-pseudo-class-no-unknown': [
|
|
8
|
+
true,
|
|
9
|
+
{
|
|
10
|
+
ignorePseudoClasses: ['global'],
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
'at-rule-no-unknown': [
|
|
14
|
+
true,
|
|
15
|
+
{
|
|
16
|
+
ignoreAtRules: [
|
|
17
|
+
'use',
|
|
18
|
+
'for',
|
|
19
|
+
'function',
|
|
20
|
+
'if',
|
|
21
|
+
'each',
|
|
22
|
+
'include',
|
|
23
|
+
'mixin',
|
|
24
|
+
'at-root',
|
|
25
|
+
'else',
|
|
26
|
+
'extend',
|
|
27
|
+
'return',
|
|
28
|
+
'debug',
|
|
29
|
+
'while'
|
|
30
|
+
],
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
'no-empty-source': null,
|
|
34
|
+
'named-grid-areas-no-invalid': null,
|
|
35
|
+
'unicode-bom': 'never',
|
|
36
|
+
'no-descending-specificity': null,
|
|
37
|
+
'font-family-no-missing-generic-family-keyword': null,
|
|
38
|
+
'declaration-colon-space-after': 'always-single-line',
|
|
39
|
+
'declaration-colon-space-before': 'never',
|
|
40
|
+
'declaration-block-trailing-semicolon': 'always',
|
|
41
|
+
'rule-empty-line-before': [
|
|
42
|
+
'always',
|
|
43
|
+
{
|
|
44
|
+
ignore: ['after-comment', 'first-nested'],
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
'unit-no-unknown': [true, { ignoreUnits: ['rpx'] }],
|
|
48
|
+
// Specify the alphabetical order of the attributes in the declaration block
|
|
49
|
+
'order/properties-order': [
|
|
50
|
+
'position',
|
|
51
|
+
'top',
|
|
52
|
+
'right',
|
|
53
|
+
'bottom',
|
|
54
|
+
'left',
|
|
55
|
+
'z-index',
|
|
56
|
+
'display',
|
|
57
|
+
'float',
|
|
58
|
+
'width',
|
|
59
|
+
'height',
|
|
60
|
+
'max-width',
|
|
61
|
+
'max-height',
|
|
62
|
+
'min-width',
|
|
63
|
+
'min-height',
|
|
64
|
+
'padding',
|
|
65
|
+
'padding-top',
|
|
66
|
+
'padding-right',
|
|
67
|
+
'padding-bottom',
|
|
68
|
+
'padding-left',
|
|
69
|
+
'margin',
|
|
70
|
+
'margin-top',
|
|
71
|
+
'margin-right',
|
|
72
|
+
'margin-bottom',
|
|
73
|
+
'margin-left',
|
|
74
|
+
'margin-collapse',
|
|
75
|
+
'margin-top-collapse',
|
|
76
|
+
'margin-right-collapse',
|
|
77
|
+
'margin-bottom-collapse',
|
|
78
|
+
'margin-left-collapse',
|
|
79
|
+
'overflow',
|
|
80
|
+
'overflow-x',
|
|
81
|
+
'overflow-y',
|
|
82
|
+
'clip',
|
|
83
|
+
'clear',
|
|
84
|
+
'font',
|
|
85
|
+
'font-family',
|
|
86
|
+
'font-size',
|
|
87
|
+
'font-smoothing',
|
|
88
|
+
'osx-font-smoothing',
|
|
89
|
+
'font-style',
|
|
90
|
+
'font-weight',
|
|
91
|
+
'hyphens',
|
|
92
|
+
'src',
|
|
93
|
+
'line-height',
|
|
94
|
+
'letter-spacing',
|
|
95
|
+
'word-spacing',
|
|
96
|
+
'color',
|
|
97
|
+
'text-align',
|
|
98
|
+
'text-decoration',
|
|
99
|
+
'text-indent',
|
|
100
|
+
'text-overflow',
|
|
101
|
+
'text-rendering',
|
|
102
|
+
'text-size-adjust',
|
|
103
|
+
'text-shadow',
|
|
104
|
+
'text-transform',
|
|
105
|
+
'word-break',
|
|
106
|
+
'word-wrap',
|
|
107
|
+
'white-space',
|
|
108
|
+
'vertical-align',
|
|
109
|
+
'list-style',
|
|
110
|
+
'list-style-type',
|
|
111
|
+
'list-style-position',
|
|
112
|
+
'list-style-image',
|
|
113
|
+
'pointer-events',
|
|
114
|
+
'cursor',
|
|
115
|
+
'background',
|
|
116
|
+
'background-attachment',
|
|
117
|
+
'background-color',
|
|
118
|
+
'background-image',
|
|
119
|
+
'background-position',
|
|
120
|
+
'background-repeat',
|
|
121
|
+
'background-size',
|
|
122
|
+
'border',
|
|
123
|
+
'border-collapse',
|
|
124
|
+
'border-top',
|
|
125
|
+
'border-right',
|
|
126
|
+
'border-bottom',
|
|
127
|
+
'border-left',
|
|
128
|
+
'border-color',
|
|
129
|
+
'border-image',
|
|
130
|
+
'border-top-color',
|
|
131
|
+
'border-right-color',
|
|
132
|
+
'border-bottom-color',
|
|
133
|
+
'border-left-color',
|
|
134
|
+
'border-spacing',
|
|
135
|
+
'border-style',
|
|
136
|
+
'border-top-style',
|
|
137
|
+
'border-right-style',
|
|
138
|
+
'border-bottom-style',
|
|
139
|
+
'border-left-style',
|
|
140
|
+
'border-width',
|
|
141
|
+
'border-top-width',
|
|
142
|
+
'border-right-width',
|
|
143
|
+
'border-bottom-width',
|
|
144
|
+
'border-left-width',
|
|
145
|
+
'border-radius',
|
|
146
|
+
'border-top-right-radius',
|
|
147
|
+
'border-bottom-right-radius',
|
|
148
|
+
'border-bottom-left-radius',
|
|
149
|
+
'border-top-left-radius',
|
|
150
|
+
'border-radius-topright',
|
|
151
|
+
'border-radius-bottomright',
|
|
152
|
+
'border-radius-bottomleft',
|
|
153
|
+
'border-radius-topleft',
|
|
154
|
+
'content',
|
|
155
|
+
'quotes',
|
|
156
|
+
'outline',
|
|
157
|
+
'outline-offset',
|
|
158
|
+
'opacity',
|
|
159
|
+
'filter',
|
|
160
|
+
'visibility',
|
|
161
|
+
'size',
|
|
162
|
+
'zoom',
|
|
163
|
+
'transform',
|
|
164
|
+
'box-align',
|
|
165
|
+
'box-flex',
|
|
166
|
+
'box-orient',
|
|
167
|
+
'box-pack',
|
|
168
|
+
'box-shadow',
|
|
169
|
+
'box-sizing',
|
|
170
|
+
'table-layout',
|
|
171
|
+
'animation',
|
|
172
|
+
'animation-delay',
|
|
173
|
+
'animation-duration',
|
|
174
|
+
'animation-iteration-count',
|
|
175
|
+
'animation-name',
|
|
176
|
+
'animation-play-state',
|
|
177
|
+
'animation-timing-function',
|
|
178
|
+
'animation-fill-mode',
|
|
179
|
+
'transition',
|
|
180
|
+
'transition-delay',
|
|
181
|
+
'transition-duration',
|
|
182
|
+
'transition-property',
|
|
183
|
+
'transition-timing-function',
|
|
184
|
+
'background-clip',
|
|
185
|
+
'backface-visibility',
|
|
186
|
+
'resize',
|
|
187
|
+
'appearance',
|
|
188
|
+
'user-select',
|
|
189
|
+
'interpolation-mode',
|
|
190
|
+
'direction',
|
|
191
|
+
'marks',
|
|
192
|
+
'page',
|
|
193
|
+
'set-link-source',
|
|
194
|
+
'unicode-bidi',
|
|
195
|
+
'speak'
|
|
196
|
+
],
|
|
197
|
+
},
|
|
198
|
+
ignoreFiles: ['**/*.js', '**/*.jsx'],
|
|
199
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@deot/dev-stylelint",
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"main": "index.js",
|
|
5
|
+
"files": [
|
|
6
|
+
"index.js"
|
|
7
|
+
],
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"access": "public"
|
|
11
|
+
},
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"stylelint-config-standard": "^21.0.0",
|
|
14
|
+
"stylelint-order": "^4.1.0"
|
|
15
|
+
},
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"stylelint": "^13.12.0"
|
|
18
|
+
}
|
|
19
|
+
}
|