stylelint-config-ccb 1.6.6 → 1.8.0

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 +94 -1
  2. package/package.json +4 -3
package/index.js CHANGED
@@ -5,7 +5,8 @@ module.exports = {
5
5
  plugins: [
6
6
  'stylelint-order',
7
7
  'stylelint-selector-no-empty',
8
- 'stylelint-color-format'
8
+ 'stylelint-color-format',
9
+ 'stylelint-prettier'
9
10
  ],
10
11
  rules: {
11
12
  'color-format/format': {
@@ -14,6 +15,13 @@ module.exports = {
14
15
 
15
16
  'plugin/stylelint-selector-no-empty': true,
16
17
 
18
+ 'declaration-property-max-values': {
19
+ 'border-width': 2,
20
+ border: 3,
21
+ margin: 2,
22
+ padding: 2
23
+ },
24
+
17
25
  'rule-selector-property-disallowed-list': {
18
26
  html: ['background', 'background-color', 'background-image', /^background/]
19
27
  },
@@ -171,6 +179,91 @@ module.exports = {
171
179
  'value-no-vendor-prefix': true,
172
180
  'font-family-name-quotes': 'always-where-recommended',
173
181
 
182
+ /* disabled by prettier
183
+ indentation: null,
184
+ linebreaks: null,
185
+
186
+ 'at-rule-empty-line-before': null,
187
+ 'at-rule-name-case': null,
188
+ 'at-rule-name-newline-after': null,
189
+ 'at-rule-name-space-after': null,
190
+ 'at-rule-semicolon-newline-after': null,
191
+ 'at-rule-semicolon-space-before': null,
192
+ 'block-closing-brace-empty-line-before': null,
193
+ 'block-closing-brace-newline-after': null,
194
+ 'block-closing-brace-newline-before': null,
195
+ 'block-closing-brace-space-after': null,
196
+ 'block-closing-brace-space-before': null,
197
+ 'block-opening-brace-newline-after': null,
198
+ 'block-opening-brace-newline-before': null,
199
+ 'block-opening-brace-space-after': null,
200
+ 'block-opening-brace-space-before': null,
201
+ 'color-hex-case': null,
202
+ 'declaration-bang-space-after': null,
203
+ 'declaration-bang-space-before': null,
204
+ 'declaration-block-semicolon-newline-after': null,
205
+ 'declaration-block-semicolon-newline-before': null,
206
+ 'declaration-block-semicolon-space-after': null,
207
+ 'declaration-block-semicolon-space-before': null,
208
+ 'declaration-block-trailing-semicolon': null,
209
+ 'declaration-colon-newline-after': null,
210
+ 'declaration-colon-space-after': null,
211
+ 'declaration-colon-space-before': null,
212
+ 'function-comma-newline-after': null,
213
+ 'function-comma-newline-before': null,
214
+ 'function-comma-space-after': null,
215
+ 'function-comma-space-before': null,
216
+ 'function-max-empty-lines': null,
217
+ 'function-parentheses-newline-inside': null,
218
+ 'function-parentheses-space-inside': null,
219
+ 'max-empty-lines': null,
220
+ 'max-line-length': null,
221
+ 'media-feature-colon-space-after': null,
222
+ 'media-feature-colon-space-before': null,
223
+ 'media-feature-name-case': null,
224
+ 'media-feature-parentheses-space-inside': null,
225
+ 'media-query-list-comma-newline-after': null,
226
+ 'media-query-list-comma-newline-before': null,
227
+ 'media-query-list-comma-space-after': null,
228
+ 'media-query-list-comma-space-before': null,
229
+ 'no-empty-first-line': null,
230
+ 'no-eol-whitespace': null,
231
+ 'no-extra-semicolons': null,
232
+ 'no-missing-end-of-source-newline': null,
233
+ 'number-leading-zero': null,
234
+ 'number-no-trailing-zeros': null,
235
+ 'property-case': null,
236
+ 'selector-attribute-brackets-space-inside': null,
237
+ 'selector-attribute-operator-space-after': null,
238
+ 'selector-attribute-operator-space-before': null,
239
+ 'selector-attribute-quotes': null,
240
+ 'selector-combinator-space-after': null,
241
+ 'selector-combinator-space-before': null,
242
+ 'selector-descendant-combinator-no-non-space': null,
243
+ 'selector-list-comma-newline-after': null,
244
+ 'selector-list-comma-newline-before': null,
245
+ 'selector-list-comma-space-after': null,
246
+ 'selector-list-comma-space-before': null,
247
+ 'selector-max-empty-lines': null,
248
+ 'selector-pseudo-class-case': null,
249
+ 'selector-pseudo-class-parentheses-space-inside': null,
250
+ 'selector-pseudo-element-case': null,
251
+ 'string-quotes': null,
252
+ 'unicode-bom': null,
253
+ 'unit-case': null,
254
+ 'value-list-comma-newline-after': null,
255
+ 'value-list-comma-newline-before': null,
256
+ 'value-list-comma-space-after': null,
257
+ 'value-list-comma-space-before': null,
258
+ 'value-list-max-empty-lines': null, */
259
+
260
+ 'prettier/prettier': [
261
+ true,
262
+ {
263
+ preserve: true
264
+ }
265
+ ],
266
+
174
267
  'order/order': [
175
268
  [
176
269
  'dollar-variables',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stylelint-config-ccb",
3
- "version": "1.6.6",
3
+ "version": "1.8.0",
4
4
  "description": "Stylelint config which extends stylelint-config-standard",
5
5
  "keywords": [
6
6
  "stylelint",
@@ -18,14 +18,15 @@
18
18
  ],
19
19
  "dependencies": {
20
20
  "stylelint-color-format": "^1.1.0",
21
- "stylelint-config-standard": "^24.0.0",
21
+ "stylelint-config-standard": "^25.0.0",
22
22
  "stylelint-order": "^5.0.0",
23
+ "stylelint-prettier": "^2.0.0",
23
24
  "stylelint-selector-no-empty": "^1.0.8"
24
25
  },
25
26
  "devDependencies": {
26
27
  "semistandard": "~16.0.1"
27
28
  },
28
29
  "peerDependencies": {
29
- "stylelint": ">=10.1.0"
30
+ "stylelint": ">=14.6.0"
30
31
  }
31
32
  }