@merkle-open/stylelint-config 3.2.0 → 4.0.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 -18
- package/package.json +38 -34
package/index.js
CHANGED
|
@@ -14,13 +14,11 @@ module.exports = {
|
|
|
14
14
|
rules: {
|
|
15
15
|
'plugin/stylelint-bem-namics': true,
|
|
16
16
|
'alpha-value-notation': ['number', { severity: 'warning' }],
|
|
17
|
-
'at-rule-name-case': 'lower',
|
|
18
17
|
'at-rule-no-unknown': null,
|
|
19
18
|
'at-rule-no-vendor-prefix': true,
|
|
20
19
|
'at-rule-empty-line-before': null,
|
|
21
20
|
'block-no-empty': null,
|
|
22
21
|
'color-function-notation': ['modern', { severity: 'warning' }],
|
|
23
|
-
'color-hex-case': ['lower', { severity: 'warning' }],
|
|
24
22
|
'color-named': 'never',
|
|
25
23
|
'color-no-invalid-hex': [true, { severity: 'warning' }],
|
|
26
24
|
'comment-word-disallowed-list': ['todo', { severity: 'warning' }],
|
|
@@ -31,29 +29,19 @@ module.exports = {
|
|
|
31
29
|
{ ignore: ['consecutive-duplicates-with-different-values'], severity: 'warning' },
|
|
32
30
|
],
|
|
33
31
|
'declaration-block-no-shorthand-property-overrides': true,
|
|
34
|
-
'declaration-block-semicolon-newline-after': ['always-multi-line', { severity: 'warning' }],
|
|
35
|
-
'declaration-block-trailing-semicolon': ['always', { severity: 'warning' }],
|
|
36
|
-
'declaration-colon-space-after': ['always-single-line', { severity: 'warning' }],
|
|
37
32
|
'declaration-no-important': true,
|
|
38
33
|
'declaration-empty-line-before': null,
|
|
39
34
|
'declaration-block-no-redundant-longhand-properties': true,
|
|
40
35
|
'function-linear-gradient-no-nonstandard-direction': [true, { severity: 'warning' }],
|
|
41
36
|
'function-name-case': 'lower',
|
|
42
|
-
indentation: ['tab', { severity: 'warning' }],
|
|
43
37
|
'keyframes-name-pattern': null,
|
|
44
38
|
'length-zero-no-unit': true,
|
|
45
|
-
'max-empty-lines': [1, { severity: 'warning' }],
|
|
46
|
-
'max-line-length': null,
|
|
47
39
|
'max-nesting-depth': [2, { severity: 'warning' }],
|
|
48
|
-
'media-feature-name-case': 'lower',
|
|
49
40
|
'no-descending-specificity': null,
|
|
50
41
|
'no-duplicate-selectors': [true, { severity: 'warning' }],
|
|
51
42
|
'no-empty-source': null,
|
|
52
|
-
'no-missing-end-of-source-newline': [true, { severity: 'warning' }],
|
|
53
43
|
'no-unknown-animations': [true, { severity: 'warning' }],
|
|
54
|
-
'number-leading-zero': 'always',
|
|
55
44
|
'number-max-precision': 4,
|
|
56
|
-
'property-case': 'lower',
|
|
57
45
|
'property-no-unknown': [true, { ignoreProperties: 'font-icon' }],
|
|
58
46
|
'property-no-vendor-prefix': [true, { severity: 'warning' }],
|
|
59
47
|
'rule-empty-line-before': null,
|
|
@@ -63,7 +51,6 @@ module.exports = {
|
|
|
63
51
|
'scss/at-if-closing-brace-newline-after': null,
|
|
64
52
|
'scss/at-if-closing-brace-space-after': null,
|
|
65
53
|
'scss/at-if-no-null': null,
|
|
66
|
-
'scss/at-import-partial-extension': ['never', { severity: 'warning' }],
|
|
67
54
|
'scss/at-import-no-partial-leading-underscore': null,
|
|
68
55
|
'scss/at-mixin-argumentless-call-parentheses': 'always',
|
|
69
56
|
'scss/at-mixin-pattern': null,
|
|
@@ -76,6 +63,7 @@ module.exports = {
|
|
|
76
63
|
'scss/dollar-variable-empty-line-before': null,
|
|
77
64
|
'scss/double-slash-comment-empty-line-before': null,
|
|
78
65
|
'scss/double-slash-comment-whitespace-inside': null,
|
|
66
|
+
'scss/load-partial-extension': ['never', { severity: 'warning' }],
|
|
79
67
|
'scss/no-global-function-names': null,
|
|
80
68
|
'scss/operator-no-newline-after': true,
|
|
81
69
|
'scss/operator-no-newline-before': true,
|
|
@@ -83,16 +71,11 @@ module.exports = {
|
|
|
83
71
|
'scss/selector-no-union-class-name': true,
|
|
84
72
|
'selector-class-pattern': null,
|
|
85
73
|
'selector-id-pattern': null,
|
|
86
|
-
'selector-list-comma-newline-after': 'always-multi-line',
|
|
87
74
|
'selector-max-id': 0,
|
|
88
75
|
'selector-not-notation': 'complex',
|
|
89
|
-
'selector-pseudo-class-case': 'lower',
|
|
90
|
-
'selector-pseudo-element-case': 'lower',
|
|
91
76
|
'selector-pseudo-element-colon-notation': 'double',
|
|
92
77
|
'selector-type-case': 'lower',
|
|
93
78
|
'shorthand-property-no-redundant-values': true,
|
|
94
|
-
'string-quotes': 'single',
|
|
95
|
-
'unit-case': 'lower',
|
|
96
79
|
'value-keyword-case': ['lower', { camelCaseSvgKeywords: true }],
|
|
97
80
|
'value-no-vendor-prefix': [true, { severity: 'warning' }],
|
|
98
81
|
},
|
package/package.json
CHANGED
|
@@ -1,36 +1,40 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
2
|
+
"name": "@merkle-open/stylelint-config",
|
|
3
|
+
"description": "Shared stylelint config",
|
|
4
|
+
"version": "4.0.1",
|
|
5
|
+
"repository": "https://github.com/merkle-open/frontend-defaults",
|
|
6
|
+
"main": "./index.js",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"author": "Merkle Inc.",
|
|
9
|
+
"private": false,
|
|
10
|
+
"engines": {
|
|
11
|
+
"node": ">=18.12.0"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"README.md",
|
|
15
|
+
"LICENSE",
|
|
16
|
+
"index.js"
|
|
17
|
+
],
|
|
18
|
+
"peerDependencies": {
|
|
19
|
+
"stylelint": ">=16.1.0"
|
|
20
|
+
},
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"jest": "29.7.0",
|
|
23
|
+
"jest-light-runner": "0.6.0",
|
|
24
|
+
"stylelint": "16.7.0"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@namics/stylelint-bem": "10.0.0",
|
|
28
|
+
"stylelint-config-standard-scss": "13.1.0"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"lint:css": "stylelint tests/**/*.*ss --allow-empty-input",
|
|
32
|
+
"prepublishOnly": "npm test",
|
|
33
|
+
"test": "jest",
|
|
34
|
+
"watch-test": "jest --watchAll"
|
|
35
|
+
},
|
|
36
|
+
"jest": {
|
|
37
|
+
"runner": "jest-light-runner"
|
|
38
|
+
},
|
|
39
|
+
"gitHead": "05e93b8f9a9b569aca239f7579845261fdaceb72"
|
|
36
40
|
}
|