@kununu/stylelint-config 3.0.2 → 4.0.0-beta.1
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 +1 -21
- package/package.json +8 -9
package/index.js
CHANGED
|
@@ -12,22 +12,12 @@ module.exports = {
|
|
|
12
12
|
rules: {
|
|
13
13
|
'at-rule-no-unknown': null,
|
|
14
14
|
'at-rule-no-vendor-prefix': true,
|
|
15
|
-
'color-hex-case': 'lower',
|
|
16
15
|
'color-hex-length': 'long',
|
|
17
16
|
'color-named': 'never',
|
|
18
17
|
'comment-empty-line-before': ['always', {except: ['first-nested'], ignore: ['after-comment', 'stylelint-commands']}],
|
|
19
18
|
'comment-whitespace-inside': 'always',
|
|
20
|
-
'declaration-block-trailing-semicolon': 'always',
|
|
21
|
-
'declaration-colon-space-after': 'always',
|
|
22
|
-
'declaration-colon-space-before': 'never',
|
|
23
19
|
'function-url-quotes': 'always',
|
|
24
|
-
indentation: 2,
|
|
25
|
-
'media-feature-colon-space-after': 'always',
|
|
26
|
-
'media-feature-colon-space-before': 'never',
|
|
27
20
|
'media-feature-name-no-vendor-prefix': true,
|
|
28
|
-
'media-feature-parentheses-space-inside': 'never',
|
|
29
|
-
'media-feature-range-operator-space-after': 'always',
|
|
30
|
-
'media-feature-range-operator-space-before': 'always',
|
|
31
21
|
'no-duplicate-selectors': true,
|
|
32
22
|
'order/order': selectorOrdering, // to fine-tune configuration use selectorOrderFactory
|
|
33
23
|
'order/properties-order': propertyOrdering.map((entry) => entry.map((group) => {
|
|
@@ -57,27 +47,17 @@ module.exports = {
|
|
|
57
47
|
'property-no-vendor-prefix': true,
|
|
58
48
|
'rule-empty-line-before': ['always', {except: ['after-single-line-comment', 'first-nested']}],
|
|
59
49
|
'scss/at-rule-no-unknown': true,
|
|
60
|
-
'selector-attribute-brackets-space-inside': 'never',
|
|
61
|
-
'selector-attribute-operator-space-after': 'never',
|
|
62
|
-
'selector-attribute-operator-space-before': 'never',
|
|
63
50
|
'selector-attribute-quotes': 'always',
|
|
64
|
-
'selector-combinator-space-after': 'always',
|
|
65
51
|
'selector-max-id': [0, {severity: 'warning'}],
|
|
66
52
|
'selector-no-vendor-prefix': true,
|
|
67
53
|
'selector-pseudo-class-no-unknown': [true, {
|
|
68
54
|
ignorePseudoClasses: ['global', 'export', 'import', 'local'],
|
|
69
55
|
}],
|
|
70
|
-
'selector-pseudo-class-parentheses-space-inside': 'never',
|
|
71
56
|
'selector-pseudo-element-colon-notation': 'single',
|
|
72
|
-
'string-quotes': 'single',
|
|
73
57
|
'value-no-vendor-prefix': true,
|
|
74
58
|
'selector-class-pattern': '^[a-z][a-zA-Z0-9]+$', // camelCase
|
|
75
59
|
'scss/at-mixin-pattern': '^([a-z][a-z0-9]*)(-[a-z0-9]+)*$', // kebab-case
|
|
76
60
|
'color-function-notation': 'legacy',
|
|
77
|
-
'alpha-value-notation': 'number'
|
|
78
|
-
'max-line-length': [120, {
|
|
79
|
-
'ignore': ['non-comments'],
|
|
80
|
-
'ignorePattern': '/box-shadow:/'
|
|
81
|
-
}],
|
|
61
|
+
'alpha-value-notation': 'number'
|
|
82
62
|
},
|
|
83
63
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kununu/stylelint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-beta.1",
|
|
4
4
|
"description": "kununu's stylelint config",
|
|
5
5
|
"author": "kununu",
|
|
6
6
|
"license": "ISC",
|
|
@@ -15,13 +15,12 @@
|
|
|
15
15
|
"sass"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"prettier": "2.7
|
|
19
|
-
"stylelint": "
|
|
20
|
-
"stylelint-semantic-groups": "1.
|
|
21
|
-
"stylelint-config-
|
|
22
|
-
"stylelint-
|
|
23
|
-
"stylelint-
|
|
24
|
-
"stylelint-
|
|
25
|
-
"stylelint-scss": "4.3.0"
|
|
18
|
+
"prettier": "2.8.7",
|
|
19
|
+
"stylelint": "15.5.0",
|
|
20
|
+
"stylelint-semantic-groups": "1.2.0",
|
|
21
|
+
"stylelint-config-standard-scss": "8.0.0",
|
|
22
|
+
"stylelint-order": "6.0.3",
|
|
23
|
+
"stylelint-prettier": "3.0.0",
|
|
24
|
+
"stylelint-scss": "4.6.0"
|
|
26
25
|
}
|
|
27
26
|
}
|