@kununu/stylelint-config 4.0.1-beta.0 → 4.0.2-beta.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 +6 -5
  2. package/package.json +1 -4
package/index.js CHANGED
@@ -10,14 +10,17 @@ module.exports = {
10
10
  'stylelint-order',
11
11
  ],
12
12
  rules: {
13
+ 'alpha-value-notation': 'number',
13
14
  'at-rule-no-unknown': null,
14
15
  'at-rule-no-vendor-prefix': true,
16
+ 'color-function-notation': 'legacy',
15
17
  'color-hex-length': 'long',
16
18
  'color-named': 'never',
17
19
  'comment-empty-line-before': ['always', {except: ['first-nested'], ignore: ['after-comment', 'stylelint-commands']}],
18
20
  'comment-whitespace-inside': 'always',
19
21
  'function-url-quotes': 'always',
20
22
  'media-feature-name-no-vendor-prefix': true,
23
+ 'no-descending-specificity': null, // clashing with order/order
21
24
  'no-duplicate-selectors': true,
22
25
  'order/order': selectorOrdering, // to fine-tune configuration use selectorOrderFactory
23
26
  'order/properties-order': propertyOrdering.map((entry) => entry.map((group) => {
@@ -46,18 +49,16 @@ module.exports = {
46
49
  ],
47
50
  'property-no-vendor-prefix': true,
48
51
  'rule-empty-line-before': ['always', {except: ['after-single-line-comment', 'first-nested']}],
52
+ 'scss/at-mixin-pattern': '^([a-z][a-z0-9]*)(-[a-z0-9]+)*$', // kebab-case
49
53
  'scss/at-rule-no-unknown': true,
50
54
  'selector-attribute-quotes': 'always',
55
+ 'selector-class-pattern': '^[a-z][a-zA-Z0-9]+$', // camelCase
51
56
  'selector-max-id': [0, {severity: 'warning'}],
52
57
  'selector-no-vendor-prefix': true,
58
+ 'selector-pseudo-element-colon-notation': 'single',
53
59
  'selector-pseudo-class-no-unknown': [true, {
54
60
  ignorePseudoClasses: ['global', 'export', 'import', 'local'],
55
61
  }],
56
- 'selector-pseudo-element-colon-notation': 'single',
57
62
  'value-no-vendor-prefix': true,
58
- 'selector-class-pattern': '^[a-z][a-zA-Z0-9]+$', // camelCase
59
- 'scss/at-mixin-pattern': '^([a-z][a-z0-9]*)(-[a-z0-9]+)*$', // kebab-case
60
- 'color-function-notation': 'legacy',
61
- 'alpha-value-notation': 'number'
62
63
  },
63
64
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kununu/stylelint-config",
3
- "version": "4.0.1-beta.0",
3
+ "version": "4.0.2-beta.0",
4
4
  "description": "kununu's stylelint config",
5
5
  "author": "kununu",
6
6
  "license": "ISC",
@@ -18,9 +18,6 @@
18
18
  "scss",
19
19
  "sass"
20
20
  ],
21
- "scripts": {
22
- "beta": "npm publish --tag=beta"
23
- },
24
21
  "dependencies": {
25
22
  "prettier": "2.8.8",
26
23
  "stylelint": "15.6.1",