@kununu/stylelint-config 3.0.1-beta.1 → 3.0.1-beta.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.
Files changed (2) hide show
  1. package/index.js +3 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  const {propertyOrdering, selectorOrdering} = require('stylelint-semantic-groups');
2
2
 
3
- const x = {
3
+ module.exports = {
4
4
  extends: [
5
5
  'stylelint-config-standard-scss',
6
6
  'stylelint-prettier/recommended',
@@ -31,6 +31,7 @@ const x = {
31
31
  'no-duplicate-selectors': true,
32
32
  'order/order': selectorOrdering, // to fine-tune configuration use selectorOrderFactory
33
33
  'order/properties-order': propertyOrdering.map((entry) => entry.map((group) => {
34
+ // This fixes prettier and css group issues
34
35
  if (typeof group === 'object' && group.emptyLineBefore === 'always') {
35
36
  group.emptyLineBefore = 'never';
36
37
  }
@@ -79,7 +80,4 @@ const x = {
79
80
  'ignorePattern': '/box-shadow:/'
80
81
  }],
81
82
  },
82
- };
83
-
84
- console.log(x)
85
- module.exports = x;
83
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kununu/stylelint-config",
3
- "version": "3.0.1-beta.1",
3
+ "version": "3.0.1-beta.2",
4
4
  "description": "kununu's stylelint config",
5
5
  "author": "kununu",
6
6
  "license": "ISC",