stylelint-config-ccb 1.8.1 → 1.8.2
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/index.js +18 -15
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -87,8 +87,6 @@ module.exports = {
|
|
|
87
87
|
'custom-property-pattern': '[a-z-]{4,40}',
|
|
88
88
|
'selector-class-pattern': '[a-z-_]{3,40}',
|
|
89
89
|
'selector-id-pattern': '[a-z-_]{2,40}',
|
|
90
|
-
linebreaks: 'unix',
|
|
91
|
-
'no-empty-first-line': true,
|
|
92
90
|
'declaration-no-important': true,
|
|
93
91
|
'number-max-precision': 5,
|
|
94
92
|
'property-disallowed-list': [
|
|
@@ -96,7 +94,6 @@ module.exports = {
|
|
|
96
94
|
'font-smoothing', 'osx-font-smoothing', 'font-smooth',
|
|
97
95
|
'float'
|
|
98
96
|
],
|
|
99
|
-
'unicode-bom': 'never',
|
|
100
97
|
'time-min-milliseconds': 75,
|
|
101
98
|
'selector-no-qualifying-type': true,
|
|
102
99
|
'selector-max-attribute': 1,
|
|
@@ -143,18 +140,8 @@ module.exports = {
|
|
|
143
140
|
ignore: ['custom-elements']
|
|
144
141
|
}
|
|
145
142
|
],
|
|
146
|
-
'selector-attribute-quotes': 'always',
|
|
147
|
-
'string-quotes': 'double',
|
|
148
143
|
'max-nesting-depth': 2,
|
|
149
144
|
'color-named': 'never',
|
|
150
|
-
'at-rule-semicolon-space-before': 'never',
|
|
151
|
-
'block-opening-brace-newline-before': 'never-single-line',
|
|
152
|
-
'declaration-block-semicolon-newline-before': 'never-multi-line',
|
|
153
|
-
'function-comma-newline-before': 'never-multi-line',
|
|
154
|
-
'media-query-list-comma-newline-before': 'never-multi-line',
|
|
155
|
-
'selector-list-comma-newline-before': 'never-multi-line',
|
|
156
|
-
'selector-list-comma-space-after': 'always-single-line',
|
|
157
|
-
'value-list-comma-newline-before': 'never-multi-line',
|
|
158
145
|
'value-keyword-case': [
|
|
159
146
|
'lower',
|
|
160
147
|
{
|
|
@@ -179,7 +166,23 @@ module.exports = {
|
|
|
179
166
|
'value-no-vendor-prefix': true,
|
|
180
167
|
'font-family-name-quotes': 'always-where-recommended',
|
|
181
168
|
|
|
182
|
-
/*
|
|
169
|
+
/* enforced by prettier
|
|
170
|
+
linebreaks: 'unix',
|
|
171
|
+
'no-empty-first-line': true,
|
|
172
|
+
'unicode-bom': 'never',
|
|
173
|
+
'selector-attribute-quotes': 'always',
|
|
174
|
+
'string-quotes': 'double',
|
|
175
|
+
'at-rule-semicolon-space-before': 'never',
|
|
176
|
+
'block-opening-brace-newline-before': 'never-single-line',
|
|
177
|
+
'declaration-block-semicolon-newline-before': 'never-multi-line',
|
|
178
|
+
'function-comma-newline-before': 'never-multi-line',
|
|
179
|
+
'media-query-list-comma-newline-before': 'never-multi-line',
|
|
180
|
+
'selector-list-comma-newline-before': 'never-multi-line',
|
|
181
|
+
'selector-list-comma-space-after': 'always-single-line',
|
|
182
|
+
'value-list-comma-newline-before': 'never-multi-line',
|
|
183
|
+
*/
|
|
184
|
+
|
|
185
|
+
/* disabled due to prettier */
|
|
183
186
|
indentation: null,
|
|
184
187
|
linebreaks: null,
|
|
185
188
|
|
|
@@ -255,7 +258,7 @@ module.exports = {
|
|
|
255
258
|
'value-list-comma-newline-before': null,
|
|
256
259
|
'value-list-comma-space-after': null,
|
|
257
260
|
'value-list-comma-space-before': null,
|
|
258
|
-
'value-list-max-empty-lines': null,
|
|
261
|
+
'value-list-max-empty-lines': null,
|
|
259
262
|
|
|
260
263
|
'prettier/prettier': [
|
|
261
264
|
true,
|