stylelint-config-ccb 1.8.4 → 1.8.5
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 +1 -0
- package/index.js +73 -6
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
An opinionated stylelint-config which uses both stylelint-config-standard and prettier. In addition to many more stricter rules to reduce potential issues as much as possible.
|
package/index.js
CHANGED
|
@@ -109,9 +109,75 @@ module.exports = {
|
|
|
109
109
|
'function-disallowed-list': ['gray', 'color-mod', 'color', 'rgba', 'hsla'],
|
|
110
110
|
'declaration-no-important': true,
|
|
111
111
|
'property-disallowed-list': [
|
|
112
|
-
|
|
113
|
-
'
|
|
114
|
-
'
|
|
112
|
+
/* deprecated webkit properties */
|
|
113
|
+
'-webkit-alt*',
|
|
114
|
+
'-webkit-background-composite',
|
|
115
|
+
'-webkit-border-fit',
|
|
116
|
+
'-webkit-color-correction',
|
|
117
|
+
'-webkit-flow-from',
|
|
118
|
+
'-webkit-flow-into',
|
|
119
|
+
'-webkit-grid-columns',
|
|
120
|
+
'-webkit-grid-rows',
|
|
121
|
+
'-webkit-hyphenate-charset',
|
|
122
|
+
'-webkit-image-set',
|
|
123
|
+
'-webkit-mask-attachment',
|
|
124
|
+
'-webkit-match-nearest-mail-blockquote-color',
|
|
125
|
+
'-webkit-margin-collapse',
|
|
126
|
+
'-webkit-margin-after-collapse',
|
|
127
|
+
'-webkit-margin-before-collapse',
|
|
128
|
+
'-webkit-margin-bottom-collapse',
|
|
129
|
+
'-webkit-margin-top-collapse',
|
|
130
|
+
'-webkit-overflow-scrolling',
|
|
131
|
+
'-webkit-region-break-after',
|
|
132
|
+
'-webkit-region-break-before',
|
|
133
|
+
'-webkit-region-break-inside',
|
|
134
|
+
'-webkit-region-fragment',
|
|
135
|
+
'-webkit-shape-inside',
|
|
136
|
+
'-webkit-touch-callout',
|
|
137
|
+
'background-origin-x',
|
|
138
|
+
'background-origin-y',
|
|
139
|
+
|
|
140
|
+
/* webkit prefixes */
|
|
141
|
+
'-webkit-appearance',
|
|
142
|
+
'-webkit-mask',
|
|
143
|
+
'-webkit-mask-image',
|
|
144
|
+
'-webkit-mask-size',
|
|
145
|
+
'-webkit-mask-repeat-x',
|
|
146
|
+
'-webkit-mask-repeat-y',
|
|
147
|
+
'-webkit-mask-origin',
|
|
148
|
+
'-webkit-backface-visibility',
|
|
149
|
+
'-webkit-text-combine-upright',
|
|
150
|
+
'-webkit-print-color-adjust',
|
|
151
|
+
|
|
152
|
+
/* legacy */
|
|
153
|
+
'text-decoration-skip',
|
|
154
|
+
|
|
155
|
+
'-moz-outline-radius',
|
|
156
|
+
'-moz-outline-radius-bottomleft',
|
|
157
|
+
'-moz-outline-radius-bottomright',
|
|
158
|
+
'-moz-outline-radius-topleft',
|
|
159
|
+
'-moz-outline-radius-topright',
|
|
160
|
+
|
|
161
|
+
'-webkit-font-smoothing',
|
|
162
|
+
'-moz-osx-font-smoothing',
|
|
163
|
+
'font-smoothing',
|
|
164
|
+
'osx-font-smoothing',
|
|
165
|
+
|
|
166
|
+
'box-orient',
|
|
167
|
+
|
|
168
|
+
'zoom',
|
|
169
|
+
|
|
170
|
+
'word-break',
|
|
171
|
+
'page-break-inside',
|
|
172
|
+
'clip',
|
|
173
|
+
|
|
174
|
+
/* compatibility */
|
|
175
|
+
'-webkit-text-stroke', // use -webkit-text-stroke-width or -webkit-text-stroke-color
|
|
176
|
+
|
|
177
|
+
/* opinionated */
|
|
178
|
+
'float',
|
|
179
|
+
|
|
180
|
+
'font-smooth'
|
|
115
181
|
],
|
|
116
182
|
'time-min-milliseconds': 75,
|
|
117
183
|
'selector-no-qualifying-type': true,
|
|
@@ -154,7 +220,6 @@ module.exports = {
|
|
|
154
220
|
'value-list-comma-newline-before': 'never-multi-line',
|
|
155
221
|
|
|
156
222
|
/* prettier-conflicts, prefer stylelint-config-standard
|
|
157
|
-
'max-line-length': 120,
|
|
158
223
|
'block-opening-brace-space-before': null,
|
|
159
224
|
'declaration-colon-newline-after': null,
|
|
160
225
|
'value-list-comma-newline-after': null,
|
|
@@ -162,11 +227,13 @@ module.exports = {
|
|
|
162
227
|
'selector-combinator-space-before': null
|
|
163
228
|
*/
|
|
164
229
|
|
|
230
|
+
/* prettier-conflicts, prefer prettier */
|
|
231
|
+
'max-line-length': 80,
|
|
232
|
+
|
|
165
233
|
'prettier/prettier': [
|
|
166
234
|
true,
|
|
167
235
|
{
|
|
168
|
-
quoteProps: 'preserve'
|
|
169
|
-
printWidth: 120
|
|
236
|
+
quoteProps: 'preserve'
|
|
170
237
|
}
|
|
171
238
|
],
|
|
172
239
|
|