stylelint-config-ccb 1.8.3 → 1.8.4

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.
Files changed (2) hide show
  1. package/index.js +9 -77
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -9,7 +9,7 @@ module.exports = {
9
9
  'stylelint-prettier'
10
10
  ],
11
11
  rules: {
12
- /* stylelint-config-ccb - overwrite on top of stylelint-config-standard */
12
+ /* stylelint-config-standard overwrites */
13
13
  'alpha-value-notation': 'number',
14
14
  'color-hex-length': 'long',
15
15
  'declaration-block-no-redundant-longhand-properties': null,
@@ -141,11 +141,9 @@ module.exports = {
141
141
  'color-named': 'never',
142
142
  'no-unknown-animations': true,
143
143
 
144
- /* stylelint-config-ccb - prettier overlap, no conflict */
144
+ /* prettier-overlap */
145
145
  linebreaks: 'unix',
146
146
  'unicode-bom': 'never',
147
-
148
- /* stylelint-config-ccb - prettier overlap, check todo */
149
147
  'at-rule-semicolon-space-before': 'never',
150
148
  'block-opening-brace-newline-before': 'never-single-line',
151
149
  'declaration-block-semicolon-newline-before': 'never-multi-line',
@@ -155,86 +153,20 @@ module.exports = {
155
153
  'selector-list-comma-space-after': 'always-single-line',
156
154
  'value-list-comma-newline-before': 'never-multi-line',
157
155
 
158
- /* rules not included - prettier overlap, check todo
159
- 'at-rule-name-newline-after': null,
160
- 'block-closing-brace-space-after': null,
161
- */
162
-
163
- /* prettier rules in standard or recommended, no conflict
164
- indentation: null,
165
- 'color-hex-case': null,
166
- 'string-quotes': null,
167
- */
168
-
169
- /* prettier rules in standard or recommended, has conflict
170
- 'max-line-length': null, // default is 120 max line length, prettier goes for 80
171
- */
172
-
173
- /* prettier rules in standard or recommended, check todo
174
- 'at-rule-empty-line-before': null,
175
- 'at-rule-name-case': null,
176
- 'at-rule-name-space-after': null,
177
- 'at-rule-semicolon-newline-after': null,
178
- 'block-closing-brace-empty-line-before': null,
179
- 'block-closing-brace-newline-after': null,
180
- 'block-closing-brace-newline-before': null,
181
- 'block-closing-brace-space-before': null,
182
- 'block-opening-brace-newline-after': null,
183
- 'block-opening-brace-space-after': null,
156
+ /* prettier-conflicts, prefer stylelint-config-standard
157
+ 'max-line-length': 120,
184
158
  'block-opening-brace-space-before': null,
185
- 'declaration-bang-space-after': null,
186
- 'declaration-bang-space-before': null,
187
- 'declaration-block-semicolon-newline-after': null,
188
- 'declaration-block-semicolon-space-after': null,
189
- 'declaration-block-semicolon-space-before': null,
190
- 'declaration-block-trailing-semicolon': null,
191
159
  'declaration-colon-newline-after': null,
192
- 'declaration-colon-space-after': null,
193
- 'declaration-colon-space-before': null,
194
- 'function-comma-newline-after': null,
195
- 'function-comma-space-after': null,
196
- 'function-comma-space-before': null,
197
- 'function-max-empty-lines': null,
198
- 'function-parentheses-newline-inside': null,
199
- 'function-parentheses-space-inside': null,
200
- 'max-empty-lines': null,
201
- 'media-feature-colon-space-after': null,
202
- 'media-feature-colon-space-before': null,
203
- 'media-feature-name-case': null,
204
- 'media-feature-parentheses-space-inside': null,
205
- 'media-query-list-comma-newline-after': null,
206
- 'media-query-list-comma-space-after': null,
207
- 'media-query-list-comma-space-before': null,
208
- 'no-empty-first-line': null,
209
- 'no-eol-whitespace': null,
210
- 'no-extra-semicolons': null,
211
- 'no-missing-end-of-source-newline': null,
212
- 'number-leading-zero': null,
213
- 'number-no-trailing-zeros': null,
214
- 'property-case': null,
215
- 'selector-attribute-brackets-space-inside': null,
216
- 'selector-attribute-operator-space-after': null,
217
- 'selector-attribute-operator-space-before': null,
218
- 'selector-attribute-quotes': null,
219
- 'selector-combinator-space-after': null,
220
- 'selector-combinator-space-before': null,
221
- 'selector-descendant-combinator-no-non-space': null,
222
- 'selector-list-comma-newline-after': null,
223
- 'selector-list-comma-space-before': null,
224
- 'selector-max-empty-lines': null,
225
- 'selector-pseudo-class-case': null,
226
- 'selector-pseudo-class-parentheses-space-inside': null,
227
- 'selector-pseudo-element-case': null,
228
- 'unit-case': null,
229
160
  'value-list-comma-newline-after': null,
230
- 'value-list-comma-space-after': null,
231
- 'value-list-comma-space-before': null,
232
- 'value-list-max-empty-lines': null, */
161
+ 'selector-descendant-combinator-no-non-space': null,
162
+ 'selector-combinator-space-before': null
163
+ */
233
164
 
234
165
  'prettier/prettier': [
235
166
  true,
236
167
  {
237
- preserve: true
168
+ quoteProps: 'preserve',
169
+ printWidth: 120
238
170
  }
239
171
  ],
240
172
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stylelint-config-ccb",
3
- "version": "1.8.3",
3
+ "version": "1.8.4",
4
4
  "description": "Stylelint config which extends stylelint-config-standard",
5
5
  "keywords": [
6
6
  "stylelint",