stylelint-config-ccb 1.13.0 → 1.13.3
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/data/.DS_Store +0 -0
- package/data/disallowed-comment-words.js +75 -0
- package/data/disallowed-properties.js +270 -0
- package/data/disallowed-selectors.js +246 -0
- package/data/selector-order.js +483 -0
- package/index.js +17 -8
- package/package.json +4 -2
package/data/.DS_Store
ADDED
|
Binary file
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
module.exports = [
|
|
4
|
+
'todo',
|
|
5
|
+
|
|
6
|
+
/* list from https://developers.google.com/style/word-list */
|
|
7
|
+
'aka',
|
|
8
|
+
'allowlisting',
|
|
9
|
+
'allowlisted',
|
|
10
|
+
'authN',
|
|
11
|
+
'authZ',
|
|
12
|
+
'autoupdate',
|
|
13
|
+
'blackhat',
|
|
14
|
+
'black-hat',
|
|
15
|
+
'blackhole',
|
|
16
|
+
'blackholed',
|
|
17
|
+
'blacklist',
|
|
18
|
+
'black-list',
|
|
19
|
+
'blacklisted',
|
|
20
|
+
'black-listed',
|
|
21
|
+
'blacklisting',
|
|
22
|
+
'black-listing',
|
|
23
|
+
'chubby',
|
|
24
|
+
'comprise',
|
|
25
|
+
'crazy',
|
|
26
|
+
'bonkers',
|
|
27
|
+
'mad',
|
|
28
|
+
'lunatic',
|
|
29
|
+
'insane',
|
|
30
|
+
'loony',
|
|
31
|
+
'cripple',
|
|
32
|
+
'cripples',
|
|
33
|
+
'dead-letter',
|
|
34
|
+
'denylisted',
|
|
35
|
+
'denylisting',
|
|
36
|
+
'desire',
|
|
37
|
+
'desired',
|
|
38
|
+
'first-class',
|
|
39
|
+
'ghetto',
|
|
40
|
+
'grandfather',
|
|
41
|
+
'grandfathered',
|
|
42
|
+
'grand-father',
|
|
43
|
+
'grayhat',
|
|
44
|
+
'housekeeping',
|
|
45
|
+
'male-adapter',
|
|
46
|
+
'female-adapter',
|
|
47
|
+
'fat',
|
|
48
|
+
'man-in-the-middle',
|
|
49
|
+
'manpower',
|
|
50
|
+
'master',
|
|
51
|
+
'monkey',
|
|
52
|
+
'ninja',
|
|
53
|
+
'outpost',
|
|
54
|
+
'retarded',
|
|
55
|
+
'sane',
|
|
56
|
+
'sanity-check',
|
|
57
|
+
'sexy',
|
|
58
|
+
'sherpa',
|
|
59
|
+
'slave',
|
|
60
|
+
'smartphone',
|
|
61
|
+
'tarball',
|
|
62
|
+
'textbox',
|
|
63
|
+
'tribal',
|
|
64
|
+
'voodoo',
|
|
65
|
+
'webmaster',
|
|
66
|
+
'whitehat',
|
|
67
|
+
'white-hat',
|
|
68
|
+
'whitelist',
|
|
69
|
+
'white-list',
|
|
70
|
+
'whitelisted',
|
|
71
|
+
'white-listed',
|
|
72
|
+
'whitelisting',
|
|
73
|
+
'white-listing',
|
|
74
|
+
'ymmv',
|
|
75
|
+
];
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
module.exports = [
|
|
4
|
+
/* microsoft-only properties */
|
|
5
|
+
'-ms-accelerator',
|
|
6
|
+
'-ms-block-progression',
|
|
7
|
+
'-ms-content-zoom-chaining',
|
|
8
|
+
'-ms-content-zooming',
|
|
9
|
+
'-ms-content-zoom-limit',
|
|
10
|
+
'-ms-content-zoom-limit-max',
|
|
11
|
+
'-ms-content-zoom-limit-min',
|
|
12
|
+
'-ms-content-zoom-snap',
|
|
13
|
+
'-ms-content-zoom-snap-points',
|
|
14
|
+
'-ms-content-zoom-snap-type',
|
|
15
|
+
'-ms-filter',
|
|
16
|
+
'-ms-flow-from',
|
|
17
|
+
'-ms-flow-into',
|
|
18
|
+
'-ms-high-contrast-adjust',
|
|
19
|
+
'-ms-hyphenate-limit-chars',
|
|
20
|
+
'-ms-hyphenate-limit-lines',
|
|
21
|
+
'-ms-hyphenate-limit-zone',
|
|
22
|
+
'-ms-ime-align',
|
|
23
|
+
'-ms-overflow-style',
|
|
24
|
+
'-ms-scrollbar-3dlight-color',
|
|
25
|
+
'-ms-scrollbar-arrow-color',
|
|
26
|
+
'-ms-scrollbar-base-color',
|
|
27
|
+
'-ms-scrollbar-darkshadow-color',
|
|
28
|
+
'-ms-scrollbar-face-color',
|
|
29
|
+
'-ms-scrollbar-highlight-color',
|
|
30
|
+
'-ms-scrollbar-shadow-color',
|
|
31
|
+
'-ms-scrollbar-track-color',
|
|
32
|
+
'-ms-scroll-chaining',
|
|
33
|
+
'-ms-scroll-limit',
|
|
34
|
+
'-ms-scroll-limit-x-max',
|
|
35
|
+
'-ms-scroll-limit-x-min',
|
|
36
|
+
'-ms-scroll-limit-y-max',
|
|
37
|
+
'-ms-scroll-limit-y-min',
|
|
38
|
+
'-ms-scroll-rails',
|
|
39
|
+
'-ms-scroll-snap-points-x',
|
|
40
|
+
'-ms-scroll-snap-points-y',
|
|
41
|
+
'-ms-scroll-snap-x',
|
|
42
|
+
'-ms-scroll-snap-y',
|
|
43
|
+
'-ms-scroll-translation',
|
|
44
|
+
'-ms-text-autospace',
|
|
45
|
+
'-ms-touch-select',
|
|
46
|
+
'-ms-wrap-flow',
|
|
47
|
+
'-ms-wrap-margin',
|
|
48
|
+
'-ms-wrap-through',
|
|
49
|
+
'zoom',
|
|
50
|
+
|
|
51
|
+
/* mozilla / firefox only properties */
|
|
52
|
+
|
|
53
|
+
'-moz-binding',
|
|
54
|
+
'-moz-border-bottom-colors',
|
|
55
|
+
'-moz-border-left-colors',
|
|
56
|
+
'-moz-border-right-colors',
|
|
57
|
+
'-moz-border-top-colors',
|
|
58
|
+
'-moz-box-align',
|
|
59
|
+
'-moz-box-direction',
|
|
60
|
+
'-moz-box-flex',
|
|
61
|
+
'-moz-box-ordinal-group',
|
|
62
|
+
'-moz-box-orient',
|
|
63
|
+
'-moz-box-pack',
|
|
64
|
+
'-moz-context-properties',
|
|
65
|
+
'-moz-float-edge',
|
|
66
|
+
'-moz-force-broken-image-icon',
|
|
67
|
+
'-moz-image-region',
|
|
68
|
+
'-moz-orient',
|
|
69
|
+
'-moz-osx-font-smoothing',
|
|
70
|
+
'-moz-outline-radius',
|
|
71
|
+
'-moz-outline-radius-bottomleft',
|
|
72
|
+
'-moz-outline-radius-bottomright',
|
|
73
|
+
'-moz-outline-radius-topleft',
|
|
74
|
+
'-moz-outline-radius-topright',
|
|
75
|
+
'-moz-stack-sizing',
|
|
76
|
+
'-moz-user-focus',
|
|
77
|
+
'-moz-user-input',
|
|
78
|
+
'-moz-user-modify',
|
|
79
|
+
'-moz-window-dragging',
|
|
80
|
+
'-moz-window-shadow',
|
|
81
|
+
'overflow-clip-box',
|
|
82
|
+
'overflow-clip-box-block',
|
|
83
|
+
'overflow-clip-box-inline',
|
|
84
|
+
|
|
85
|
+
/* webkit-only - WebKit supports without -webkit prefix, but not standard
|
|
86
|
+
or on standards track */
|
|
87
|
+
'mask-repeat-x',
|
|
88
|
+
'mask-repeat-y',
|
|
89
|
+
|
|
90
|
+
/* webkit-only - New syntax has been standardized.Property links to the
|
|
91
|
+
new syntax. Old prefixed syntax is still supported in some browsers. */
|
|
92
|
+
'-webkit-border-after',
|
|
93
|
+
'-webkit-border-after-color',
|
|
94
|
+
'-webkit-border-after-style',
|
|
95
|
+
'-webkit-border-after-width',
|
|
96
|
+
'-webkit-border-before',
|
|
97
|
+
'-webkit-border-before-color',
|
|
98
|
+
'-webkit-border-before-style',
|
|
99
|
+
'-webkit-border-before-width',
|
|
100
|
+
'-webkit-border-end',
|
|
101
|
+
'-webkit-border-end-color',
|
|
102
|
+
'-webkit-border-end-style',
|
|
103
|
+
'-webkit-border-end-width',
|
|
104
|
+
'-webkit-border-start',
|
|
105
|
+
'-webkit-border-start-color',
|
|
106
|
+
'-webkit-border-start-style',
|
|
107
|
+
'-webkit-border-start-width',
|
|
108
|
+
'-webkit-box-align',
|
|
109
|
+
'-webkit-box-direction',
|
|
110
|
+
'-webkit-box-flex',
|
|
111
|
+
'-webkit-box-flex-group',
|
|
112
|
+
'-webkit-box-lines',
|
|
113
|
+
'-webkit-box-ordinal-group',
|
|
114
|
+
'-webkit-box-orient',
|
|
115
|
+
'-webkit-box-pack',
|
|
116
|
+
'-webkit-box-reflect',
|
|
117
|
+
'-webkit-margin-end',
|
|
118
|
+
'-webkit-margin-start',
|
|
119
|
+
'-webkit-padding-after',
|
|
120
|
+
'-webkit-padding-before',
|
|
121
|
+
'-webkit-padding-end',
|
|
122
|
+
'-webkit-padding-start',
|
|
123
|
+
|
|
124
|
+
/* other webkit-only */
|
|
125
|
+
'-webkit-animation-trigger',
|
|
126
|
+
'-webkit-app-region',
|
|
127
|
+
'-webkit-aspect-ratio',
|
|
128
|
+
'-webkit-backdrop-filter',
|
|
129
|
+
'-webkit-border-fit',
|
|
130
|
+
'-webkit-border-horizontal-spacing',
|
|
131
|
+
'-webkit-border-vertical-spacing',
|
|
132
|
+
'-webkit-column-axis',
|
|
133
|
+
'-webkit-column-break-after',
|
|
134
|
+
'-webkit-column-break-before',
|
|
135
|
+
'-webkit-column-break-inside',
|
|
136
|
+
'-webkit-column-progression',
|
|
137
|
+
'-webkit-cursor-visibility',
|
|
138
|
+
'-webkit-dashboard-region',
|
|
139
|
+
'-webkit-font-size-delta',
|
|
140
|
+
'-webkit-font-smoothing',
|
|
141
|
+
'-webkit-highlight',
|
|
142
|
+
'-webkit-hyphenate-character',
|
|
143
|
+
'-webkit-hyphenate-limit-after',
|
|
144
|
+
'-webkit-hyphenate-limit-before',
|
|
145
|
+
'-webkit-hyphenate-limit-lines',
|
|
146
|
+
'-webkit-initial-letter',
|
|
147
|
+
'-webkit-line-align',
|
|
148
|
+
'-webkit-line-box-contain',
|
|
149
|
+
'-webkit-line-clamp',
|
|
150
|
+
'-webkit-line-grid',
|
|
151
|
+
'-webkit-line-snap',
|
|
152
|
+
'-webkit-locale',
|
|
153
|
+
'-webkit-logical-height',
|
|
154
|
+
'-webkit-logical-width',
|
|
155
|
+
'-webkit-margin-after',
|
|
156
|
+
'-webkit-margin-before',
|
|
157
|
+
'-webkit-marquee',
|
|
158
|
+
'-webkit-marquee-direction',
|
|
159
|
+
'-webkit-marquee-increment',
|
|
160
|
+
'-webkit-marquee-repetition',
|
|
161
|
+
'-webkit-marquee-speed',
|
|
162
|
+
'-webkit-marquee-style',
|
|
163
|
+
'-webkit-mask-box-image',
|
|
164
|
+
'-webkit-mask-box-image-outset',
|
|
165
|
+
'-webkit-mask-box-image-repeat',
|
|
166
|
+
'-webkit-mask-box-image-slice',
|
|
167
|
+
'-webkit-mask-box-image-source',
|
|
168
|
+
'-webkit-mask-box-image-width',
|
|
169
|
+
'-webkit-mask-position-x',
|
|
170
|
+
'-webkit-mask-position-y',
|
|
171
|
+
'-webkit-mask-source-type',
|
|
172
|
+
'-webkit-max-logical-height',
|
|
173
|
+
'-webkit-max-logical-width',
|
|
174
|
+
'-webkit-min-logical-height',
|
|
175
|
+
'-webkit-min-logical-width',
|
|
176
|
+
'-webkit-nbsp-mode',
|
|
177
|
+
'-webkit-perspective-origin-x',
|
|
178
|
+
'-webkit-perspective-origin-y',
|
|
179
|
+
'-webkit-rtl-ordering',
|
|
180
|
+
'-webkit-svg-shadow',
|
|
181
|
+
'-webkit-text-decoration-skip',
|
|
182
|
+
'-webkit-text-decorations-in-effect',
|
|
183
|
+
'-webkit-text-security',
|
|
184
|
+
'-webkit-text-stroke',
|
|
185
|
+
'-webkit-text-stroke-color',
|
|
186
|
+
'-webkit-text-stroke-width',
|
|
187
|
+
'-webkit-text-zoom',
|
|
188
|
+
'-webkit-transform-origin-x',
|
|
189
|
+
'-webkit-transform-origin-y',
|
|
190
|
+
'-webkit-transform-origin-z',
|
|
191
|
+
'-webkit-user-drag',
|
|
192
|
+
'-webkit-user-modify',
|
|
193
|
+
|
|
194
|
+
/* webkit-only allowed
|
|
195
|
+
'-webkit-text-fill-color',
|
|
196
|
+
'-webkit-tap-highlight-color',
|
|
197
|
+
'-webkit-user-drag', // for now, html[draggable="true"] is preferred
|
|
198
|
+
*/
|
|
199
|
+
|
|
200
|
+
/* deprecated safari webkit properties, see:
|
|
201
|
+
https://webkit.org/blog/12445/new-webkit-features-in-safari-15-4/ */
|
|
202
|
+
'-webkit-alt*',
|
|
203
|
+
'-webkit-background-composite',
|
|
204
|
+
'-webkit-border-fit',
|
|
205
|
+
'-webkit-color-correction',
|
|
206
|
+
'-webkit-flow-from',
|
|
207
|
+
'-webkit-flow-into',
|
|
208
|
+
'-webkit-grid-columns',
|
|
209
|
+
'-webkit-grid-rows',
|
|
210
|
+
'-webkit-hyphenate-charset',
|
|
211
|
+
'-webkit-image-set',
|
|
212
|
+
'-webkit-mask-attachment',
|
|
213
|
+
'-webkit-match-nearest-mail-blockquote-color',
|
|
214
|
+
'-webkit-margin-collapse',
|
|
215
|
+
'-webkit-margin-after-collapse',
|
|
216
|
+
'-webkit-margin-before-collapse',
|
|
217
|
+
'-webkit-margin-bottom-collapse',
|
|
218
|
+
'-webkit-margin-top-collapse',
|
|
219
|
+
'-webkit-overflow-scrolling',
|
|
220
|
+
'-webkit-region-break-after',
|
|
221
|
+
'-webkit-region-break-before',
|
|
222
|
+
'-webkit-region-break-inside',
|
|
223
|
+
'-webkit-region-fragment',
|
|
224
|
+
'-webkit-shape-inside',
|
|
225
|
+
'-webkit-touch-callout',
|
|
226
|
+
'background-origin-x',
|
|
227
|
+
'background-origin-y',
|
|
228
|
+
|
|
229
|
+
/* webkit prefixes */
|
|
230
|
+
'-webkit-appearance',
|
|
231
|
+
'-webkit-mask',
|
|
232
|
+
'-webkit-mask-image',
|
|
233
|
+
'-webkit-mask-size',
|
|
234
|
+
'-webkit-mask-repeat-x',
|
|
235
|
+
'-webkit-mask-repeat-y',
|
|
236
|
+
'-webkit-mask-origin',
|
|
237
|
+
'-webkit-backface-visibility',
|
|
238
|
+
'-webkit-text-combine-upright',
|
|
239
|
+
'-webkit-print-color-adjust',
|
|
240
|
+
|
|
241
|
+
/* legacy */
|
|
242
|
+
'text-decoration-skip',
|
|
243
|
+
|
|
244
|
+
'-moz-outline-radius',
|
|
245
|
+
'-moz-outline-radius-bottomleft',
|
|
246
|
+
'-moz-outline-radius-bottomright',
|
|
247
|
+
'-moz-outline-radius-topleft',
|
|
248
|
+
'-moz-outline-radius-topright',
|
|
249
|
+
|
|
250
|
+
'-webkit-font-smoothing',
|
|
251
|
+
'-moz-osx-font-smoothing',
|
|
252
|
+
'font-smoothing',
|
|
253
|
+
'osx-font-smoothing',
|
|
254
|
+
|
|
255
|
+
'box-orient',
|
|
256
|
+
|
|
257
|
+
'zoom',
|
|
258
|
+
|
|
259
|
+
'word-break',
|
|
260
|
+
'page-break-inside',
|
|
261
|
+
'clip',
|
|
262
|
+
|
|
263
|
+
/* compatibility */
|
|
264
|
+
'-webkit-text-stroke', // use -webkit-text-stroke-width or -webkit-text-stroke-color
|
|
265
|
+
|
|
266
|
+
/* opinionated */
|
|
267
|
+
'float',
|
|
268
|
+
|
|
269
|
+
'font-smooth',
|
|
270
|
+
];
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
module.exports = [
|
|
4
|
+
':root',
|
|
5
|
+
// should not be styled
|
|
6
|
+
'head',
|
|
7
|
+
'link',
|
|
8
|
+
'meta',
|
|
9
|
+
'script',
|
|
10
|
+
'style',
|
|
11
|
+
'title',
|
|
12
|
+
// legacy elements
|
|
13
|
+
'applet',
|
|
14
|
+
'acronym',
|
|
15
|
+
'bgsound',
|
|
16
|
+
'dir',
|
|
17
|
+
'frame',
|
|
18
|
+
'frameset',
|
|
19
|
+
'noframes',
|
|
20
|
+
'hgroup',
|
|
21
|
+
'isindex',
|
|
22
|
+
'listing',
|
|
23
|
+
'nextid',
|
|
24
|
+
'noembed',
|
|
25
|
+
'plaintext',
|
|
26
|
+
'rb',
|
|
27
|
+
'rtc',
|
|
28
|
+
'strike',
|
|
29
|
+
'xmp',
|
|
30
|
+
'basefont',
|
|
31
|
+
'big',
|
|
32
|
+
'blink',
|
|
33
|
+
'center',
|
|
34
|
+
'font',
|
|
35
|
+
'marquee',
|
|
36
|
+
'multicol',
|
|
37
|
+
'nobr',
|
|
38
|
+
'spacer',
|
|
39
|
+
'tt',
|
|
40
|
+
'keygen',
|
|
41
|
+
'menu',
|
|
42
|
+
'menuitem',
|
|
43
|
+
// legacy attributes
|
|
44
|
+
'[dropzone]',
|
|
45
|
+
'a[charset]',
|
|
46
|
+
'link[charset]',
|
|
47
|
+
'a[coords]',
|
|
48
|
+
'a[shape]',
|
|
49
|
+
'a[methods]',
|
|
50
|
+
'link[methods]',
|
|
51
|
+
'a[name]',
|
|
52
|
+
'option[name]',
|
|
53
|
+
'embed[name]',
|
|
54
|
+
'img[name]',
|
|
55
|
+
'a[rev]',
|
|
56
|
+
'link[rev]',
|
|
57
|
+
'a[urn]',
|
|
58
|
+
'link[urn]',
|
|
59
|
+
'form[accept]',
|
|
60
|
+
'head[profile]',
|
|
61
|
+
'html[version]',
|
|
62
|
+
'link[target]',
|
|
63
|
+
'param[type]',
|
|
64
|
+
'param[valuetype]',
|
|
65
|
+
'script[language]',
|
|
66
|
+
'script[event]',
|
|
67
|
+
'script[for]',
|
|
68
|
+
'table[datapagesize]',
|
|
69
|
+
'table[summary]',
|
|
70
|
+
'td[axis]',
|
|
71
|
+
'th[axis]',
|
|
72
|
+
'td[scope]',
|
|
73
|
+
'td[abbr]',
|
|
74
|
+
'a[datasrc]',
|
|
75
|
+
'applet[datasrc]',
|
|
76
|
+
'button[datasrc]',
|
|
77
|
+
'div[datasrc]',
|
|
78
|
+
'frame[datasrc]',
|
|
79
|
+
'label[datasrc]',
|
|
80
|
+
'legend[datasrc]',
|
|
81
|
+
'marquee[datasrc]',
|
|
82
|
+
'option[datasrc]',
|
|
83
|
+
'span[datasrc]',
|
|
84
|
+
'table[datasrc]',
|
|
85
|
+
'a[datafld]',
|
|
86
|
+
'applet[datafld]',
|
|
87
|
+
'button[datafld]',
|
|
88
|
+
'div[datafld]',
|
|
89
|
+
'fieldset[datafld]',
|
|
90
|
+
'frame[datafld]',
|
|
91
|
+
'label[datafld]',
|
|
92
|
+
'legend[datafld]',
|
|
93
|
+
'marquee[datafld]',
|
|
94
|
+
'param[datafld]',
|
|
95
|
+
'span[datafld]',
|
|
96
|
+
'button[dataformatas]',
|
|
97
|
+
'div[dataformatas]',
|
|
98
|
+
'label[dataformatas]',
|
|
99
|
+
'legend[dataformatas]',
|
|
100
|
+
'marquee[dataformatas]',
|
|
101
|
+
'option[dataformatas]',
|
|
102
|
+
'span[dataformatas]',
|
|
103
|
+
'table[dataformatas]',
|
|
104
|
+
'body[alink]',
|
|
105
|
+
'body[bgcolor]',
|
|
106
|
+
'table[bgcolor]',
|
|
107
|
+
'td[bgcolor]',
|
|
108
|
+
'th[bgcolor]',
|
|
109
|
+
'tr[bgcolor]',
|
|
110
|
+
'body[link]',
|
|
111
|
+
'body[marginbottom]',
|
|
112
|
+
'body[marginheight]',
|
|
113
|
+
'body[marginleft]',
|
|
114
|
+
'body[marginright]',
|
|
115
|
+
'body[margintop]',
|
|
116
|
+
'body[marginwidth]',
|
|
117
|
+
'body[text]',
|
|
118
|
+
'body[vlink]',
|
|
119
|
+
'col[char]',
|
|
120
|
+
'tbody[char]',
|
|
121
|
+
'thead[char]',
|
|
122
|
+
'tfoot[char]',
|
|
123
|
+
'td[char]',
|
|
124
|
+
'th[char]',
|
|
125
|
+
'tr[char]',
|
|
126
|
+
'col[charoff]',
|
|
127
|
+
'tbody[charoff]',
|
|
128
|
+
'thead[charoff]',
|
|
129
|
+
'tfoot[charoff]',
|
|
130
|
+
'td[charoff]',
|
|
131
|
+
'th[charoff]',
|
|
132
|
+
'tr[charoff]',
|
|
133
|
+
'col[valign]',
|
|
134
|
+
'tbody[valign]',
|
|
135
|
+
'thead[valign]',
|
|
136
|
+
'tfoot[valign]',
|
|
137
|
+
'td[valign]',
|
|
138
|
+
'th[valign]',
|
|
139
|
+
'tr[valign]',
|
|
140
|
+
'col[width]',
|
|
141
|
+
'pre[width]',
|
|
142
|
+
'table[width]',
|
|
143
|
+
'td[width]',
|
|
144
|
+
'th[width]',
|
|
145
|
+
'dl[compact]',
|
|
146
|
+
'ol[compact]',
|
|
147
|
+
'ul[compact]',
|
|
148
|
+
'h1[align]',
|
|
149
|
+
'h2[align]',
|
|
150
|
+
'h3[align]',
|
|
151
|
+
'h4[align]',
|
|
152
|
+
'h5[align]',
|
|
153
|
+
'h6[align]',
|
|
154
|
+
'caption[align]',
|
|
155
|
+
'col[align]',
|
|
156
|
+
'div[align]',
|
|
157
|
+
'legend[align]',
|
|
158
|
+
'p[align]',
|
|
159
|
+
'table[align]',
|
|
160
|
+
'tbody[align]',
|
|
161
|
+
'thead[align]',
|
|
162
|
+
'tfoot[align]',
|
|
163
|
+
'td[align]',
|
|
164
|
+
'th[align]',
|
|
165
|
+
'tr[align]',
|
|
166
|
+
'li[type]',
|
|
167
|
+
'ul[type]',
|
|
168
|
+
'table[cellpadding]',
|
|
169
|
+
'table[cellspacing]',
|
|
170
|
+
'table[frame]',
|
|
171
|
+
'table[rules]',
|
|
172
|
+
'td[height]',
|
|
173
|
+
'th[height]',
|
|
174
|
+
'td[nowrap]',
|
|
175
|
+
'th[nowrap]',
|
|
176
|
+
'body[background]',
|
|
177
|
+
'table[background]',
|
|
178
|
+
'thead[background]',
|
|
179
|
+
'tbody[background]',
|
|
180
|
+
'tfoot[background]',
|
|
181
|
+
'tr[background]',
|
|
182
|
+
'td[background]',
|
|
183
|
+
'th[background]',
|
|
184
|
+
'embed[name]',
|
|
185
|
+
'img[name]',
|
|
186
|
+
'area[nohref]',
|
|
187
|
+
'area[type]',
|
|
188
|
+
'area[hreflang]',
|
|
189
|
+
'input[ismap]',
|
|
190
|
+
'input[usemap]',
|
|
191
|
+
'iframe[longdesc]',
|
|
192
|
+
'img[longdesc]',
|
|
193
|
+
'img[lowsrc]',
|
|
194
|
+
'object[archive]',
|
|
195
|
+
'object[classid]',
|
|
196
|
+
'object[code]',
|
|
197
|
+
'object[codebase]',
|
|
198
|
+
'object[codetype]',
|
|
199
|
+
'object[declare]',
|
|
200
|
+
'object[standby]',
|
|
201
|
+
'iframe[datasrc]',
|
|
202
|
+
'img[datasrc]',
|
|
203
|
+
'input[datasrc]',
|
|
204
|
+
'object[datasrc]',
|
|
205
|
+
'select[datasrc]',
|
|
206
|
+
'textarea[datasrc]',
|
|
207
|
+
'iframe[datafld]',
|
|
208
|
+
'img[datafld]',
|
|
209
|
+
'input[datafld]',
|
|
210
|
+
'object[datafld]',
|
|
211
|
+
'select[datafld]',
|
|
212
|
+
'textarea[datafld]',
|
|
213
|
+
'input[dataformatas]',
|
|
214
|
+
'object[dataformatas]',
|
|
215
|
+
'select[dataformatas]',
|
|
216
|
+
'iframe[marginheight]',
|
|
217
|
+
'iframe[marginwidth]',
|
|
218
|
+
'br[clear]',
|
|
219
|
+
'hr[width]',
|
|
220
|
+
'embed[hspace]',
|
|
221
|
+
'iframe[hspace]',
|
|
222
|
+
'input[hspace]',
|
|
223
|
+
'img[hspace]',
|
|
224
|
+
'object[hspace]',
|
|
225
|
+
'embed[vspace]',
|
|
226
|
+
'iframe[vspace]',
|
|
227
|
+
'input[vspace]',
|
|
228
|
+
'img[vspace]',
|
|
229
|
+
'object[vspace]',
|
|
230
|
+
'hr[color]',
|
|
231
|
+
'hr[noshade]',
|
|
232
|
+
'hr[size]',
|
|
233
|
+
'iframe[align]',
|
|
234
|
+
'embed[align]',
|
|
235
|
+
'hr[align]',
|
|
236
|
+
'input[align]',
|
|
237
|
+
'img[align]',
|
|
238
|
+
'object[align]',
|
|
239
|
+
'iframe[allowtransparency]',
|
|
240
|
+
'iframe[frameborder]',
|
|
241
|
+
'iframe[framespacing]',
|
|
242
|
+
'iframe[scrolling]',
|
|
243
|
+
'img[border]',
|
|
244
|
+
'object[border]',
|
|
245
|
+
'input[inputmode]',
|
|
246
|
+
];
|
|
@@ -0,0 +1,483 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
module.exports = [
|
|
4
|
+
'all',
|
|
5
|
+
'contain',
|
|
6
|
+
'will-change',
|
|
7
|
+
'appearance',
|
|
8
|
+
'content',
|
|
9
|
+
|
|
10
|
+
'position',
|
|
11
|
+
|
|
12
|
+
'inset',
|
|
13
|
+
'inset-block',
|
|
14
|
+
'inset-inline',
|
|
15
|
+
'top',
|
|
16
|
+
'right',
|
|
17
|
+
'bottom',
|
|
18
|
+
'left',
|
|
19
|
+
'inset-block-end',
|
|
20
|
+
'inset-block-start',
|
|
21
|
+
'inset-inline-end',
|
|
22
|
+
'inset-inline-start',
|
|
23
|
+
|
|
24
|
+
'z-index',
|
|
25
|
+
'display',
|
|
26
|
+
'vertical-align',
|
|
27
|
+
|
|
28
|
+
'flex',
|
|
29
|
+
'flex-grow',
|
|
30
|
+
'flex-shrink',
|
|
31
|
+
'flex-basis',
|
|
32
|
+
'flex-direction',
|
|
33
|
+
'flex-flow',
|
|
34
|
+
'flex-wrap',
|
|
35
|
+
|
|
36
|
+
'grid',
|
|
37
|
+
'grid-area',
|
|
38
|
+
'grid-template',
|
|
39
|
+
'grid-template-areas',
|
|
40
|
+
'grid-template-rows',
|
|
41
|
+
'grid-template-columns',
|
|
42
|
+
'grid-row',
|
|
43
|
+
'grid-row-start',
|
|
44
|
+
'grid-row-end',
|
|
45
|
+
'grid-column',
|
|
46
|
+
'grid-column-start',
|
|
47
|
+
'grid-column-end',
|
|
48
|
+
'grid-auto-rows',
|
|
49
|
+
'grid-auto-columns',
|
|
50
|
+
'grid-auto-flow',
|
|
51
|
+
'grid-gap',
|
|
52
|
+
'grid-row-gap',
|
|
53
|
+
'grid-column-gap',
|
|
54
|
+
|
|
55
|
+
'gap',
|
|
56
|
+
'row-gap',
|
|
57
|
+
'column-gap',
|
|
58
|
+
|
|
59
|
+
'place-content',
|
|
60
|
+
'align-content',
|
|
61
|
+
'justify-content',
|
|
62
|
+
|
|
63
|
+
'place-items',
|
|
64
|
+
'align-items',
|
|
65
|
+
'justify-items',
|
|
66
|
+
|
|
67
|
+
'place-self',
|
|
68
|
+
'align-self',
|
|
69
|
+
'justify-self',
|
|
70
|
+
|
|
71
|
+
'align-tracks',
|
|
72
|
+
'justify-tracks',
|
|
73
|
+
|
|
74
|
+
'order',
|
|
75
|
+
'float',
|
|
76
|
+
'clear',
|
|
77
|
+
'object-fit',
|
|
78
|
+
|
|
79
|
+
'scroll-behavior',
|
|
80
|
+
|
|
81
|
+
'overflow',
|
|
82
|
+
'overflow-x',
|
|
83
|
+
'overflow-y',
|
|
84
|
+
'overflow-block',
|
|
85
|
+
'overflow-inline',
|
|
86
|
+
|
|
87
|
+
'overflow-scrolling',
|
|
88
|
+
'overflow-anchor',
|
|
89
|
+
'overflow-clip-margin',
|
|
90
|
+
|
|
91
|
+
'overscroll-behavior',
|
|
92
|
+
'overscroll-behavior-x',
|
|
93
|
+
'overscroll-behavior-y',
|
|
94
|
+
'overscroll-behavior-block',
|
|
95
|
+
'overscroll-behavior-inline',
|
|
96
|
+
|
|
97
|
+
//
|
|
98
|
+
'box-sizing',
|
|
99
|
+
'block-size',
|
|
100
|
+
'min-block-size',
|
|
101
|
+
'max-block-size',
|
|
102
|
+
'inline-size',
|
|
103
|
+
'min-inline-size',
|
|
104
|
+
'max-inline-size',
|
|
105
|
+
'width',
|
|
106
|
+
'min-width',
|
|
107
|
+
'max-width',
|
|
108
|
+
'height',
|
|
109
|
+
'min-height',
|
|
110
|
+
'max-height',
|
|
111
|
+
|
|
112
|
+
'margin',
|
|
113
|
+
'margin-top',
|
|
114
|
+
'margin-right',
|
|
115
|
+
'margin-bottom',
|
|
116
|
+
'margin-left',
|
|
117
|
+
'margin-block',
|
|
118
|
+
'margin-block-end',
|
|
119
|
+
'margin-block-start',
|
|
120
|
+
'margin-inline',
|
|
121
|
+
'margin-inline-end',
|
|
122
|
+
'margin-inline-start',
|
|
123
|
+
|
|
124
|
+
'padding',
|
|
125
|
+
'padding-top',
|
|
126
|
+
'padding-right',
|
|
127
|
+
'padding-bottom',
|
|
128
|
+
'padding-left',
|
|
129
|
+
'padding-block',
|
|
130
|
+
'padding-block-end',
|
|
131
|
+
'padding-block-start',
|
|
132
|
+
'padding-inline',
|
|
133
|
+
'padding-inline-end',
|
|
134
|
+
'padding-inline-start',
|
|
135
|
+
|
|
136
|
+
// border
|
|
137
|
+
'border',
|
|
138
|
+
'border-color',
|
|
139
|
+
'border-style',
|
|
140
|
+
'border-width',
|
|
141
|
+
|
|
142
|
+
'border-top',
|
|
143
|
+
'border-top-color',
|
|
144
|
+
'border-top-style',
|
|
145
|
+
'border-top-width',
|
|
146
|
+
'border-right',
|
|
147
|
+
'border-right-color',
|
|
148
|
+
'border-right-style',
|
|
149
|
+
'border-right-width',
|
|
150
|
+
'border-bottom',
|
|
151
|
+
'border-bottom-color',
|
|
152
|
+
'border-bottom-style',
|
|
153
|
+
'border-bottom-width',
|
|
154
|
+
'border-left',
|
|
155
|
+
'border-left-color',
|
|
156
|
+
'border-left-style',
|
|
157
|
+
'border-left-width',
|
|
158
|
+
|
|
159
|
+
'border-block',
|
|
160
|
+
'border-block-color',
|
|
161
|
+
'border-block-end',
|
|
162
|
+
'border-block-end-color',
|
|
163
|
+
'border-block-end-style',
|
|
164
|
+
'border-block-end-width',
|
|
165
|
+
'border-block-start',
|
|
166
|
+
'border-block-start-color',
|
|
167
|
+
'border-block-start-style',
|
|
168
|
+
'border-block-start-width',
|
|
169
|
+
'border-block-style',
|
|
170
|
+
'border-block-width',
|
|
171
|
+
|
|
172
|
+
'border-inline',
|
|
173
|
+
'border-inline-color',
|
|
174
|
+
'border-inline-end',
|
|
175
|
+
'border-inline-end-color',
|
|
176
|
+
'border-inline-end-style',
|
|
177
|
+
'border-inline-end-width',
|
|
178
|
+
'border-inline-start',
|
|
179
|
+
'border-inline-start-color',
|
|
180
|
+
'border-inline-start-style',
|
|
181
|
+
'border-inline-start-width',
|
|
182
|
+
'border-inline-style',
|
|
183
|
+
'border-inline-width',
|
|
184
|
+
|
|
185
|
+
'border-image',
|
|
186
|
+
'border-image-outset',
|
|
187
|
+
'border-image-repeat',
|
|
188
|
+
'border-image-slice',
|
|
189
|
+
'border-image-source',
|
|
190
|
+
'border-image-width',
|
|
191
|
+
|
|
192
|
+
'border-collapse',
|
|
193
|
+
'border-spacing',
|
|
194
|
+
|
|
195
|
+
'border-radius',
|
|
196
|
+
'border-top-right-radius',
|
|
197
|
+
'border-bottom-right-radius',
|
|
198
|
+
'border-bottom-left-radius',
|
|
199
|
+
'border-top-left-radius',
|
|
200
|
+
'border-end-start-radius',
|
|
201
|
+
'border-end-end-radius',
|
|
202
|
+
'border-start-end-radius',
|
|
203
|
+
'border-start-start-radius',
|
|
204
|
+
|
|
205
|
+
// scroll margin and padding
|
|
206
|
+
'scroll-margin',
|
|
207
|
+
'scroll-margin-block',
|
|
208
|
+
'scroll-margin-inline',
|
|
209
|
+
'scroll-margin-top',
|
|
210
|
+
'scroll-margin-right',
|
|
211
|
+
'scroll-margin-bottom',
|
|
212
|
+
'scroll-margin-left',
|
|
213
|
+
'scroll-margin-block-end',
|
|
214
|
+
'scroll-margin-block-start',
|
|
215
|
+
'scroll-margin-inline-end',
|
|
216
|
+
'scroll-margin-inline-start',
|
|
217
|
+
|
|
218
|
+
'scroll-padding',
|
|
219
|
+
'scroll-padding-block',
|
|
220
|
+
'scroll-padding-inline',
|
|
221
|
+
'scroll-padding-top',
|
|
222
|
+
'scroll-padding-right',
|
|
223
|
+
'scroll-padding-bottom',
|
|
224
|
+
'scroll-padding-left',
|
|
225
|
+
'scroll-padding-block-end',
|
|
226
|
+
'scroll-padding-block-start',
|
|
227
|
+
'scroll-padding-inline-end',
|
|
228
|
+
'scroll-padding-inline-start',
|
|
229
|
+
|
|
230
|
+
// background
|
|
231
|
+
'background',
|
|
232
|
+
'background-color',
|
|
233
|
+
'background-image',
|
|
234
|
+
'background-position',
|
|
235
|
+
'background-position-x',
|
|
236
|
+
'background-position-y',
|
|
237
|
+
'background-size',
|
|
238
|
+
'background-repeat',
|
|
239
|
+
'background-attachment',
|
|
240
|
+
|
|
241
|
+
'background-blend-mode',
|
|
242
|
+
'background-clip',
|
|
243
|
+
'background-origin',
|
|
244
|
+
|
|
245
|
+
// color
|
|
246
|
+
'color',
|
|
247
|
+
'-webkit-text-fill-color',
|
|
248
|
+
'caret-color',
|
|
249
|
+
|
|
250
|
+
'fill',
|
|
251
|
+
'fill-opacity',
|
|
252
|
+
'fill-rule',
|
|
253
|
+
|
|
254
|
+
'stroke',
|
|
255
|
+
'stroke-dasharray',
|
|
256
|
+
'stroke-dashoffset',
|
|
257
|
+
'stroke-linecap',
|
|
258
|
+
'stroke-linejoin',
|
|
259
|
+
'stroke-miterlimit',
|
|
260
|
+
'stroke-opacity',
|
|
261
|
+
'stroke-width',
|
|
262
|
+
|
|
263
|
+
'stop-color',
|
|
264
|
+
'stop-opacity',
|
|
265
|
+
|
|
266
|
+
'flood-color',
|
|
267
|
+
'flood-opacity',
|
|
268
|
+
|
|
269
|
+
'marker',
|
|
270
|
+
'marker-end',
|
|
271
|
+
'marker-mid',
|
|
272
|
+
'marker-start',
|
|
273
|
+
|
|
274
|
+
'color-adjust',
|
|
275
|
+
'color-scheme',
|
|
276
|
+
'color-interpolation',
|
|
277
|
+
'color-interpolation-filters',
|
|
278
|
+
'color-profile',
|
|
279
|
+
'color-rendering',
|
|
280
|
+
|
|
281
|
+
'-webkit-tap-highlight-color',
|
|
282
|
+
'box-decoration-break',
|
|
283
|
+
|
|
284
|
+
'scrollbar-color',
|
|
285
|
+
'scrollbar-width',
|
|
286
|
+
'scrollbar-gutter',
|
|
287
|
+
|
|
288
|
+
'outline',
|
|
289
|
+
'outline-width',
|
|
290
|
+
'outline-style',
|
|
291
|
+
'outline-color',
|
|
292
|
+
'outline-offset',
|
|
293
|
+
'table-layout',
|
|
294
|
+
'caption-side',
|
|
295
|
+
'empty-cells',
|
|
296
|
+
|
|
297
|
+
'list-style',
|
|
298
|
+
'list-style-position',
|
|
299
|
+
'list-style-type',
|
|
300
|
+
'list-style-image',
|
|
301
|
+
|
|
302
|
+
// image
|
|
303
|
+
'image-orientation',
|
|
304
|
+
'image-rendering',
|
|
305
|
+
'image-resolution',
|
|
306
|
+
|
|
307
|
+
// clip
|
|
308
|
+
'clip',
|
|
309
|
+
'clip-path',
|
|
310
|
+
|
|
311
|
+
// mask
|
|
312
|
+
'mask',
|
|
313
|
+
'mask-image',
|
|
314
|
+
'mask-position',
|
|
315
|
+
'mask-size',
|
|
316
|
+
'mask-repeat',
|
|
317
|
+
'mask-origin',
|
|
318
|
+
'mask-clip',
|
|
319
|
+
'mask-composite',
|
|
320
|
+
|
|
321
|
+
'mask-type',
|
|
322
|
+
'mask-mode',
|
|
323
|
+
|
|
324
|
+
'mask-border',
|
|
325
|
+
'mask-border-mode',
|
|
326
|
+
'mask-border-outset',
|
|
327
|
+
'mask-border-repeat',
|
|
328
|
+
'mask-border-slice',
|
|
329
|
+
'mask-border-source',
|
|
330
|
+
'mask-border-width',
|
|
331
|
+
|
|
332
|
+
//
|
|
333
|
+
'font',
|
|
334
|
+
|
|
335
|
+
'font-family',
|
|
336
|
+
'font-style',
|
|
337
|
+
'font-variant',
|
|
338
|
+
'font-weight',
|
|
339
|
+
'font-stretch',
|
|
340
|
+
'font-size',
|
|
341
|
+
'line-height',
|
|
342
|
+
|
|
343
|
+
'font-kerning',
|
|
344
|
+
'font-size-adjust',
|
|
345
|
+
|
|
346
|
+
'font-display',
|
|
347
|
+
'font-language-override',
|
|
348
|
+
'font-optical-sizing',
|
|
349
|
+
'font-synthesis',
|
|
350
|
+
'font-variant-alternates',
|
|
351
|
+
'font-variant-caps',
|
|
352
|
+
'font-variant-east-asian',
|
|
353
|
+
'font-variant-ligatures',
|
|
354
|
+
'font-variant-numeric',
|
|
355
|
+
'font-variant-position',
|
|
356
|
+
'font-variation-settings',
|
|
357
|
+
|
|
358
|
+
'src',
|
|
359
|
+
'letter-spacing',
|
|
360
|
+
'quotes',
|
|
361
|
+
'counter-increment',
|
|
362
|
+
'counter-reset',
|
|
363
|
+
'-ms-writing-mode',
|
|
364
|
+
'text-align',
|
|
365
|
+
'text-align-last',
|
|
366
|
+
'text-anchor',
|
|
367
|
+
|
|
368
|
+
'text-decoration',
|
|
369
|
+
'text-decoration-color',
|
|
370
|
+
'text-decoration-line',
|
|
371
|
+
'text-decoration-skip',
|
|
372
|
+
'text-decoration-skip-ink',
|
|
373
|
+
'text-decoration-style',
|
|
374
|
+
'text-decoration-thickness',
|
|
375
|
+
|
|
376
|
+
'text-underline-offset',
|
|
377
|
+
'text-underline-position',
|
|
378
|
+
|
|
379
|
+
'text-emphasis',
|
|
380
|
+
'text-emphasis-position',
|
|
381
|
+
'text-emphasis-style',
|
|
382
|
+
'text-emphasis-color',
|
|
383
|
+
'text-indent',
|
|
384
|
+
'text-justify',
|
|
385
|
+
'text-outline',
|
|
386
|
+
'text-transform',
|
|
387
|
+
'text-wrap',
|
|
388
|
+
'text-overflow',
|
|
389
|
+
'text-overflow-ellipsis',
|
|
390
|
+
'text-overflow-mode',
|
|
391
|
+
'text-shadow',
|
|
392
|
+
'text-rendering',
|
|
393
|
+
|
|
394
|
+
'white-space',
|
|
395
|
+
'word-spacing',
|
|
396
|
+
'word-wrap',
|
|
397
|
+
'word-break',
|
|
398
|
+
'overflow-wrap',
|
|
399
|
+
'tab-size',
|
|
400
|
+
'hyphens',
|
|
401
|
+
'interpolation-mode',
|
|
402
|
+
|
|
403
|
+
'-moz-osx-font-smoothing',
|
|
404
|
+
'-webkit-font-smoothing',
|
|
405
|
+
|
|
406
|
+
//
|
|
407
|
+
'opacity',
|
|
408
|
+
'visibility',
|
|
409
|
+
'box-shadow',
|
|
410
|
+
'filter',
|
|
411
|
+
'resize',
|
|
412
|
+
'cursor',
|
|
413
|
+
'pointer-events',
|
|
414
|
+
'touch-action',
|
|
415
|
+
'user-select',
|
|
416
|
+
|
|
417
|
+
//
|
|
418
|
+
'unicode-bidi',
|
|
419
|
+
'direction',
|
|
420
|
+
'columns',
|
|
421
|
+
|
|
422
|
+
'column-span',
|
|
423
|
+
'column-width',
|
|
424
|
+
'column-count',
|
|
425
|
+
'column-fill',
|
|
426
|
+
'column-gap',
|
|
427
|
+
'column-rule',
|
|
428
|
+
'column-rule-width',
|
|
429
|
+
'column-rule-style',
|
|
430
|
+
'column-rule-color',
|
|
431
|
+
|
|
432
|
+
'break-before',
|
|
433
|
+
'break-inside',
|
|
434
|
+
'break-after',
|
|
435
|
+
|
|
436
|
+
'page-break-before',
|
|
437
|
+
'page-break-inside',
|
|
438
|
+
'page-break-after',
|
|
439
|
+
|
|
440
|
+
'orphans',
|
|
441
|
+
'widows',
|
|
442
|
+
|
|
443
|
+
'zoom',
|
|
444
|
+
'max-zoom',
|
|
445
|
+
'min-zoom',
|
|
446
|
+
'user-zoom',
|
|
447
|
+
|
|
448
|
+
'orientation',
|
|
449
|
+
|
|
450
|
+
// transition transform animation
|
|
451
|
+
'backface-visibility',
|
|
452
|
+
'transition',
|
|
453
|
+
'transition-delay',
|
|
454
|
+
'transition-timing-function',
|
|
455
|
+
'transition-duration',
|
|
456
|
+
'transition-property',
|
|
457
|
+
|
|
458
|
+
'rotate',
|
|
459
|
+
'scale',
|
|
460
|
+
'translate',
|
|
461
|
+
|
|
462
|
+
'transform',
|
|
463
|
+
'transform-origin',
|
|
464
|
+
'transform-box',
|
|
465
|
+
'transform-style',
|
|
466
|
+
|
|
467
|
+
'animation',
|
|
468
|
+
'animation-name',
|
|
469
|
+
'animation-duration',
|
|
470
|
+
'animation-play-state',
|
|
471
|
+
'animation-timing-function',
|
|
472
|
+
'animation-delay',
|
|
473
|
+
'animation-iteration-count',
|
|
474
|
+
'animation-direction',
|
|
475
|
+
'animation-fill-mode',
|
|
476
|
+
|
|
477
|
+
'offset',
|
|
478
|
+
'offset-position',
|
|
479
|
+
'offset-path',
|
|
480
|
+
'offset-distance',
|
|
481
|
+
'offset-rotate',
|
|
482
|
+
'offset-anchor',
|
|
483
|
+
];
|
package/index.js
CHANGED
|
@@ -9,6 +9,7 @@ module.exports = {
|
|
|
9
9
|
'stylelint-order',
|
|
10
10
|
'stylelint-prettier',
|
|
11
11
|
'stylelint-selector-no-empty',
|
|
12
|
+
'stylelint-declaration-block-no-ignored-properties',
|
|
12
13
|
],
|
|
13
14
|
rules: {
|
|
14
15
|
/* stylelint-config-standard overwrites */
|
|
@@ -77,7 +78,7 @@ module.exports = {
|
|
|
77
78
|
all: ['initial', 'revert'],
|
|
78
79
|
position: ['fixed', 'absolute', 'relative', 'sticky'],
|
|
79
80
|
appearance: ['none', 'auto'],
|
|
80
|
-
content: ['""', '/^attr\\(
|
|
81
|
+
content: ['""', '/^attr\\(aria-/', '/^attr\\(data-/', '/^var\\(/', 'none', '*'],
|
|
81
82
|
font: ['inherit'],
|
|
82
83
|
fill: ['currentColor', 'inherit', 'none'],
|
|
83
84
|
overflow: ['initial', 'hidden', 'clip', 'auto'],
|
|
@@ -158,20 +159,28 @@ module.exports = {
|
|
|
158
159
|
},
|
|
159
160
|
|
|
160
161
|
'a11y/font-size-is-readable': true,
|
|
162
|
+
'a11y/no-spread-text': true,
|
|
163
|
+
|
|
164
|
+
// both already handled by selector-disallowed-list
|
|
165
|
+
// 'a11y/no-obsolete-attribute': true,
|
|
166
|
+
// 'a11y/no-obsolete-element': true,
|
|
167
|
+
|
|
168
|
+
// both already handled by declaration-property-value-disallowed-list
|
|
169
|
+
// 'a11y/no-text-align-justify': true,
|
|
170
|
+
// 'a11y/no-outline-none': true,
|
|
171
|
+
|
|
161
172
|
// reduced-motion autofix is too unreliable, see https://github.com/YozhikM/stylelint-a11y/issues/57
|
|
162
173
|
// 'a11y/media-prefers-reduced-motion': true,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
'a11y/no-
|
|
166
|
-
'a11y/no-outline-none': true,
|
|
167
|
-
'a11y/no-text-align-justify': true,
|
|
168
|
-
// also covered with declaration-property-value-allowed-list
|
|
169
|
-
'a11y/content-property-no-static-value': true,
|
|
174
|
+
|
|
175
|
+
// already handled by declaration-property-value-allowed-list
|
|
176
|
+
// 'a11y/content-property-no-static-value': true,
|
|
170
177
|
|
|
171
178
|
'plugin/stylelint-selector-no-empty': true,
|
|
172
179
|
|
|
173
180
|
'plugin/stylelint-no-indistinguishable-colors': true,
|
|
174
181
|
|
|
182
|
+
'plugin/declaration-block-no-ignored-properties': true,
|
|
183
|
+
|
|
175
184
|
'order/order': [
|
|
176
185
|
[
|
|
177
186
|
'dollar-variables',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stylelint-config-ccb",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.3",
|
|
4
4
|
"description": "Stylelint config which extends stylelint-config-standard",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"stylelint",
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
},
|
|
15
15
|
"main": "index.js",
|
|
16
16
|
"files": [
|
|
17
|
-
"index.js"
|
|
17
|
+
"index.js",
|
|
18
|
+
"data/*"
|
|
18
19
|
],
|
|
19
20
|
"scripts": {
|
|
20
21
|
"lint": "eslint index.js data/*.js __tests__/index.test.js",
|
|
@@ -27,6 +28,7 @@
|
|
|
27
28
|
"prettier": "^2.7.1",
|
|
28
29
|
"stylelint-color-format": "^1.1.0",
|
|
29
30
|
"stylelint-config-standard": "^26.0.0",
|
|
31
|
+
"stylelint-declaration-block-no-ignored-properties": "^2.5.0",
|
|
30
32
|
"stylelint-no-indistinguishable-colors": "^1.3.0",
|
|
31
33
|
"stylelint-order": "^5.0.0",
|
|
32
34
|
"stylelint-prettier": "^2.0.0",
|