@enigmatry/stylelint-config 15.1.1-preview.7 → 15.1.1-preview.9
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 +101 -83
- package/package.json +17 -16
package/index.js
CHANGED
|
@@ -5,13 +5,96 @@ module.exports = {
|
|
|
5
5
|
extends: "stylelint-config-property-sort-order-smacss",
|
|
6
6
|
plugins: [
|
|
7
7
|
"stylelint-scss",
|
|
8
|
-
"stylelint-
|
|
9
|
-
//"stylelint-
|
|
8
|
+
"@stylistic/stylelint-plugin",
|
|
9
|
+
// "stylelint-use-nesting", => uncomment this line once this library is again compatible with stylelint v16+
|
|
10
|
+
//"stylelint-selector-no-empty", => uncomment this line once this library is again compatible with stylelint v16+
|
|
10
11
|
"stylelint-group-selectors",
|
|
11
|
-
"stylelint-max-lines",
|
|
12
|
+
"stylelint-file-max-lines",
|
|
12
13
|
"stylelint-declaration-block-no-ignored-properties"
|
|
13
14
|
],
|
|
14
15
|
rules: {
|
|
16
|
+
"@stylistic/at-rule-name-case": "lower",
|
|
17
|
+
"@stylistic/at-rule-name-newline-after": null,
|
|
18
|
+
"@stylistic/at-rule-name-space-after": "always",
|
|
19
|
+
"@stylistic/at-rule-semicolon-newline-after": "always",
|
|
20
|
+
"@stylistic/at-rule-semicolon-space-before": "never",
|
|
21
|
+
"@stylistic/block-closing-brace-empty-line-before": "never",
|
|
22
|
+
"@stylistic/block-closing-brace-newline-after": "always",
|
|
23
|
+
"@stylistic/block-closing-brace-newline-before": "always",
|
|
24
|
+
"@stylistic/block-closing-brace-space-after": null,
|
|
25
|
+
"@stylistic/block-closing-brace-space-before": "always-single-line",
|
|
26
|
+
"@stylistic/block-opening-brace-newline-after": "always",
|
|
27
|
+
"@stylistic/block-opening-brace-newline-before": "never-single-line",
|
|
28
|
+
"@stylistic/block-opening-brace-space-after": null,
|
|
29
|
+
"@stylistic/block-opening-brace-space-before": "always",
|
|
30
|
+
"@stylistic/color-hex-case": "upper",
|
|
31
|
+
"@stylistic/declaration-bang-space-after": "never",
|
|
32
|
+
"@stylistic/declaration-bang-space-before": "always",
|
|
33
|
+
"@stylistic/declaration-block-semicolon-newline-after": "always",
|
|
34
|
+
"@stylistic/declaration-block-semicolon-newline-before": "never-multi-line",
|
|
35
|
+
"@stylistic/declaration-block-semicolon-space-after": null,
|
|
36
|
+
"@stylistic/declaration-block-semicolon-space-before": "never",
|
|
37
|
+
"@stylistic/declaration-block-trailing-semicolon": "always",
|
|
38
|
+
"@stylistic/declaration-colon-newline-after": null,
|
|
39
|
+
"@stylistic/declaration-colon-space-after": "always",
|
|
40
|
+
"@stylistic/declaration-colon-space-before": "never",
|
|
41
|
+
"@stylistic/function-comma-newline-after": "never-multi-line",
|
|
42
|
+
"@stylistic/function-comma-newline-before": "never-multi-line",
|
|
43
|
+
"@stylistic/function-comma-space-after": "always-single-line",
|
|
44
|
+
"@stylistic/function-comma-space-before": "never",
|
|
45
|
+
"@stylistic/function-max-empty-lines": 0,
|
|
46
|
+
"@stylistic/function-parentheses-newline-inside": "never-multi-line",
|
|
47
|
+
"@stylistic/function-parentheses-space-inside": "never",
|
|
48
|
+
"@stylistic/function-whitespace-after": "always",
|
|
49
|
+
"@stylistic/indentation": "tab",
|
|
50
|
+
"@stylistic/linebreaks": null,
|
|
51
|
+
"@stylistic/max-empty-lines": 1,
|
|
52
|
+
"@stylistic/max-line-length": [
|
|
53
|
+
135,
|
|
54
|
+
{ "ignore": ["comments"] }
|
|
55
|
+
],
|
|
56
|
+
"@stylistic/media-feature-colon-space-after": "always",
|
|
57
|
+
"@stylistic/media-feature-colon-space-before": "never",
|
|
58
|
+
"@stylistic/media-feature-name-case": "lower",
|
|
59
|
+
"@stylistic/media-feature-parentheses-space-inside": "never",
|
|
60
|
+
"@stylistic/media-feature-range-operator-space-after": "always",
|
|
61
|
+
"@stylistic/media-feature-range-operator-space-before": "always",
|
|
62
|
+
"@stylistic/media-query-list-comma-newline-after": "never-multi-line",
|
|
63
|
+
"@stylistic/media-query-list-comma-newline-before": "never-multi-line",
|
|
64
|
+
"@stylistic/media-query-list-comma-space-after": "always",
|
|
65
|
+
"@stylistic/media-query-list-comma-space-before": "never",
|
|
66
|
+
"@stylistic/named-grid-areas-alignment": true,
|
|
67
|
+
"@stylistic/no-empty-first-line": true,
|
|
68
|
+
"@stylistic/no-eol-whitespace": [true, {
|
|
69
|
+
ignore: ["empty-lines"]
|
|
70
|
+
}],
|
|
71
|
+
"@stylistic/no-extra-semicolons": true,
|
|
72
|
+
"@stylistic/no-missing-end-of-source-newline": null,
|
|
73
|
+
"@stylistic/number-leading-zero": "never",
|
|
74
|
+
"@stylistic/number-no-trailing-zeros": true,
|
|
75
|
+
"@stylistic/property-case": "lower",
|
|
76
|
+
"@stylistic/selector-attribute-brackets-space-inside": "never",
|
|
77
|
+
"@stylistic/selector-attribute-operator-space-after": "always",
|
|
78
|
+
"@stylistic/selector-attribute-operator-space-before": "always",
|
|
79
|
+
"@stylistic/selector-combinator-space-after": "always",
|
|
80
|
+
"@stylistic/selector-combinator-space-before": "always",
|
|
81
|
+
"@stylistic/selector-descendant-combinator-no-non-space": true,
|
|
82
|
+
"@stylistic/selector-list-comma-space-after": "always",
|
|
83
|
+
"@stylistic/selector-list-comma-space-before": "never",
|
|
84
|
+
"@stylistic/selector-list-comma-newline-after": null,
|
|
85
|
+
"@stylistic/selector-list-comma-newline-before": null,
|
|
86
|
+
"@stylistic/selector-max-empty-lines": 0,
|
|
87
|
+
"@stylistic/selector-pseudo-class-case": "lower",
|
|
88
|
+
"@stylistic/selector-pseudo-class-parentheses-space-inside": "never",
|
|
89
|
+
"@stylistic/selector-pseudo-element-case": "lower",
|
|
90
|
+
"@stylistic/string-quotes": "single",
|
|
91
|
+
"@stylistic/unit-case": "lower",
|
|
92
|
+
"@stylistic/value-list-comma-newline-after": "never-multi-line",
|
|
93
|
+
"@stylistic/value-list-comma-newline-before": "never-multi-line",
|
|
94
|
+
"@stylistic/value-list-comma-space-after": "always-single-line",
|
|
95
|
+
"@stylistic/value-list-comma-space-before": "never",
|
|
96
|
+
"@stylistic/value-list-max-empty-lines": 0,
|
|
97
|
+
"@stylistic/unicode-bom": null,
|
|
15
98
|
"alpha-value-notation": "number",
|
|
16
99
|
"annotation-no-unknown": [
|
|
17
100
|
true,
|
|
@@ -22,39 +105,20 @@ module.exports = {
|
|
|
22
105
|
}
|
|
23
106
|
],
|
|
24
107
|
"at-rule-allowed-list": ["use", "for", "if", "else", "include", "extend", "return", "error", "each", "mixin", "function", "keyframes", "font-face", "forward", "at-root", "while"],
|
|
25
|
-
"at-rule-name-case": "lower",
|
|
26
|
-
"at-rule-name-space-after": "always",
|
|
27
108
|
"at-rule-no-unknown": null,
|
|
28
|
-
"at-rule-semicolon-newline-after": "always",
|
|
29
|
-
"at-rule-semicolon-space-before": "never",
|
|
30
|
-
"block-closing-brace-empty-line-before": "never",
|
|
31
|
-
"block-closing-brace-newline-after": "always",
|
|
32
|
-
"block-closing-brace-newline-before": "always",
|
|
33
|
-
"block-closing-brace-space-before": "always-single-line",
|
|
34
|
-
"block-opening-brace-newline-after": "always",
|
|
35
|
-
"block-opening-brace-newline-before": "never-single-line",
|
|
36
|
-
"block-opening-brace-space-before": "always",
|
|
37
109
|
"block-no-empty": true,
|
|
38
110
|
"comment-no-empty": true,
|
|
39
111
|
"comment-whitespace-inside": "always",
|
|
40
112
|
"color-function-notation": "modern",
|
|
41
|
-
"color-hex-case": "upper",
|
|
42
113
|
"color-hex-length": "short",
|
|
43
114
|
"color-named": "never",
|
|
44
115
|
"color-no-invalid-hex": true,
|
|
45
116
|
"custom-property-empty-line-before": "always",
|
|
46
|
-
"declaration-bang-space-after": "never",
|
|
47
|
-
"declaration-bang-space-before": "always",
|
|
48
|
-
"declaration-block-trailing-semicolon": "always",
|
|
49
|
-
"declaration-colon-space-after": "always",
|
|
50
|
-
"declaration-colon-space-before": "never",
|
|
51
117
|
"declaration-empty-line-before": "never",
|
|
52
118
|
"declaration-block-no-duplicate-custom-properties": true,
|
|
53
119
|
"declaration-block-no-duplicate-properties": true,
|
|
54
120
|
"declaration-block-no-shorthand-property-overrides": true,
|
|
55
121
|
"declaration-block-no-redundant-longhand-properties": true,
|
|
56
|
-
"declaration-block-semicolon-newline-after": "always",
|
|
57
|
-
"declaration-block-semicolon-newline-before": "never-multi-line",
|
|
58
122
|
"declaration-block-single-line-max-declarations": 1,
|
|
59
123
|
"declaration-no-important": true,
|
|
60
124
|
"declaration-property-max-values": {},
|
|
@@ -64,55 +128,28 @@ module.exports = {
|
|
|
64
128
|
"font-family-no-missing-generic-family-keyword": true,
|
|
65
129
|
"font-weight-notation": "numeric",
|
|
66
130
|
"function-calc-no-unspaced-operator": true,
|
|
67
|
-
"function-comma-newline-after": "never-multi-line",
|
|
68
|
-
"function-comma-newline-before": "never-multi-line",
|
|
69
|
-
"function-comma-space-after": "always-single-line",
|
|
70
|
-
"function-comma-space-before": "never",
|
|
71
131
|
"function-linear-gradient-no-nonstandard-direction": true,
|
|
72
132
|
"function-name-case": "lower",
|
|
73
133
|
"function-no-unknown": null,
|
|
74
|
-
"function-parentheses-newline-inside": "never-multi-line",
|
|
75
|
-
"function-parentheses-space-inside": "never",
|
|
76
134
|
"function-url-no-scheme-relative": true,
|
|
77
135
|
"function-url-quotes": "always",
|
|
78
|
-
"function-whitespace-after": "always",
|
|
79
136
|
"hue-degree-notation": "number",
|
|
80
137
|
"import-notation": "string",
|
|
81
|
-
"indentation": "tab",
|
|
82
138
|
"keyframe-block-no-duplicate-selectors": true,
|
|
83
139
|
"keyframe-declaration-no-important": true,
|
|
84
140
|
"length-zero-no-unit": true,
|
|
85
|
-
"
|
|
86
|
-
"max-line-length": [
|
|
87
|
-
135,
|
|
88
|
-
{ "ignore": ["comments"] }
|
|
89
|
-
],
|
|
141
|
+
"lightness-notation": "number",
|
|
90
142
|
"max-nesting-depth": 3,
|
|
91
|
-
"media-feature-colon-space-after": "always",
|
|
92
|
-
"media-feature-colon-space-before": "never",
|
|
93
143
|
"media-feature-name-allowed-list": ["min-width", "width", "-ms-high-contrast"],
|
|
94
|
-
"media-feature-name-case": "lower",
|
|
95
144
|
"media-feature-name-no-unknown": true,
|
|
96
|
-
"media-feature-parentheses-space-inside": "never",
|
|
97
145
|
"media-feature-range-notation": "context",
|
|
98
|
-
"media-feature-range-operator-space-after": "always",
|
|
99
|
-
"media-feature-range-operator-space-before": "always",
|
|
100
|
-
"media-query-list-comma-newline-after": "never-multi-line",
|
|
101
|
-
"media-query-list-comma-newline-before": "never-multi-line",
|
|
102
|
-
"media-query-list-comma-space-after": "always",
|
|
103
|
-
"media-query-list-comma-space-before": "never",
|
|
104
146
|
"no-descending-specificity": true,
|
|
105
147
|
"no-duplicate-at-import-rules": true,
|
|
106
148
|
"no-duplicate-selectors": true,
|
|
107
|
-
"no-empty-first-line": true,
|
|
108
|
-
"no-extra-semicolons": true,
|
|
109
149
|
"no-invalid-double-slash-comments": true,
|
|
110
150
|
"no-unknown-animations": true,
|
|
111
151
|
"no-unknown-custom-properties": null,
|
|
112
152
|
"number-max-precision": 2,
|
|
113
|
-
"number-no-trailing-zeros": true,
|
|
114
|
-
"number-leading-zero": "never",
|
|
115
|
-
"property-case": "lower",
|
|
116
153
|
"property-no-unknown": true,
|
|
117
154
|
"property-no-vendor-prefix": true,
|
|
118
155
|
"rule-empty-line-before": [
|
|
@@ -120,29 +157,18 @@ module.exports = {
|
|
|
120
157
|
{ "except": ["after-single-line-comment", "first-nested"] }
|
|
121
158
|
],
|
|
122
159
|
"selector-anb-no-unmatchable": true,
|
|
123
|
-
"selector-attribute-brackets-space-inside": "never",
|
|
124
|
-
"selector-attribute-operator-space-after": "always",
|
|
125
|
-
"selector-attribute-operator-space-before": "always",
|
|
126
160
|
"selector-attribute-quotes": "always",
|
|
127
|
-
"selector-
|
|
128
|
-
"selector-combinator-space-before": "always",
|
|
129
|
-
"selector-descendant-combinator-no-non-space": true,
|
|
130
|
-
"selector-list-comma-space-after": "always",
|
|
131
|
-
"selector-list-comma-space-before": "never",
|
|
161
|
+
"selector-disallowed-list": null,
|
|
132
162
|
"selector-max-attribute": 0,
|
|
133
163
|
"selector-max-combinators": 2,
|
|
134
164
|
"selector-max-compound-selectors": 3,
|
|
135
|
-
"selector-max-empty-lines": 0,
|
|
136
165
|
"selector-max-id": 0,
|
|
137
166
|
"selector-max-pseudo-class": 1,
|
|
138
167
|
"selector-max-type": 2,
|
|
139
168
|
"selector-max-universal": 0,
|
|
140
169
|
"selector-no-qualifying-type": true,
|
|
141
170
|
"selector-no-vendor-prefix": true,
|
|
142
|
-
"selector-pseudo-class-case": "lower",
|
|
143
171
|
"selector-pseudo-class-no-unknown": true,
|
|
144
|
-
"selector-pseudo-class-parentheses-space-inside": "never",
|
|
145
|
-
"selector-pseudo-element-case": "lower",
|
|
146
172
|
"selector-pseudo-element-colon-notation": "double",
|
|
147
173
|
"selector-pseudo-element-no-unknown": [
|
|
148
174
|
true,
|
|
@@ -152,16 +178,10 @@ module.exports = {
|
|
|
152
178
|
"selector-type-no-unknown": true,
|
|
153
179
|
"shorthand-property-no-redundant-values": true,
|
|
154
180
|
"string-no-newline": true,
|
|
155
|
-
"string-quotes": "single",
|
|
156
181
|
"time-min-milliseconds": 100,
|
|
157
182
|
"unit-allowed-list": ["px", "%", "em", "rem", "vw", "deg", "ms", "s"],
|
|
158
|
-
"unit-case": "lower",
|
|
159
183
|
"unit-no-unknown": true,
|
|
160
184
|
"value-keyword-case": "lower",
|
|
161
|
-
"value-list-comma-newline-after": "never-multi-line",
|
|
162
|
-
"value-list-comma-newline-before": "never-multi-line",
|
|
163
|
-
"value-list-comma-space-after": "always-single-line",
|
|
164
|
-
"value-list-comma-space-before": "never",
|
|
165
185
|
"value-no-vendor-prefix": true,
|
|
166
186
|
"scss/at-else-closing-brace-newline-after": "always-last-in-chain",
|
|
167
187
|
"scss/at-else-closing-brace-space-after": "never-intermediate",
|
|
@@ -176,12 +196,16 @@ module.exports = {
|
|
|
176
196
|
"scss/at-if-closing-brace-newline-after": null,
|
|
177
197
|
"scss/at-if-closing-brace-space-after": null,
|
|
178
198
|
"scss/at-if-no-null": true,
|
|
179
|
-
"scss/at-import-no-partial-leading-underscore": true,
|
|
180
199
|
"scss/at-import-partial-extension": "never",
|
|
181
200
|
"scss/at-mixin-argumentless-call-parentheses": "always",
|
|
182
|
-
"scss/at-use-no-redundant-alias": true,
|
|
183
|
-
"scss/at-root-no-redundant": true,
|
|
184
201
|
"scss/at-mixin-parentheses-space-before": "never",
|
|
202
|
+
"scss/at-root-no-redundant": true,
|
|
203
|
+
"scss/at-rule-no-unknown": [
|
|
204
|
+
true,
|
|
205
|
+
{ "ignoreAtRules": ["use"] }
|
|
206
|
+
],
|
|
207
|
+
"scss/at-use-no-redundant-alias": true,
|
|
208
|
+
"scss/block-no-redundant-nesting": true,
|
|
185
209
|
"scss/dollar-variable-colon-space-after": "always",
|
|
186
210
|
"scss/dollar-variable-colon-space-before": "never",
|
|
187
211
|
"scss/double-slash-comment-whitespace-inside": "always",
|
|
@@ -193,6 +217,7 @@ module.exports = {
|
|
|
193
217
|
"scss/function-quote-no-quoted-strings-inside": true,
|
|
194
218
|
"scss/function-calculation-no-interpolation": null,
|
|
195
219
|
"scss/function-unquote-no-unquoted-strings-inside": true,
|
|
220
|
+
"scss/load-no-partial-leading-underscore": true,
|
|
196
221
|
"scss/operator-no-newline-after": true,
|
|
197
222
|
"scss/operator-no-newline-before": true,
|
|
198
223
|
"scss/operator-no-unspaced": true,
|
|
@@ -210,20 +235,13 @@ module.exports = {
|
|
|
210
235
|
],
|
|
211
236
|
"scss/no-duplicate-mixins": true,
|
|
212
237
|
"scss/no-global-function-names": true,
|
|
213
|
-
"scss/
|
|
214
|
-
"always",
|
|
215
|
-
{ "except": ["only-of-namespace"] }
|
|
216
|
-
],
|
|
217
|
-
"scss/at-rule-no-unknown": [
|
|
218
|
-
true,
|
|
219
|
-
{ "ignoreAtRules": ["use"] }
|
|
220
|
-
],
|
|
238
|
+
"scss/no-unused-private-members": null,
|
|
221
239
|
"plugin/declaration-block-no-ignored-properties": true,
|
|
222
240
|
"plugin/stylelint-group-selectors": true,
|
|
223
241
|
//"plugin/stylelint-selector-no-empty": true, => uncomment this line once this library is again compatible with stylelint v15+
|
|
224
|
-
"csstools/use-nesting": ["always",
|
|
225
|
-
|
|
226
|
-
],
|
|
227
|
-
"
|
|
242
|
+
// "csstools/use-nesting": ["always", => uncomment this line once this library is again compatible with stylelint v16+
|
|
243
|
+
// { "syntax": "scss" }
|
|
244
|
+
// ],
|
|
245
|
+
"plugin/file-max-lines": 135
|
|
228
246
|
}
|
|
229
247
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enigmatry/stylelint-config",
|
|
3
|
-
"version": "15.1.1-preview.
|
|
3
|
+
"version": "15.1.1-preview.9",
|
|
4
4
|
"author": "Enigmatry",
|
|
5
5
|
"description": "Stylelint shareable config for the Enigmatry style.",
|
|
6
6
|
"homepage": "https://github.com/enigmatry/entry-angular-building-blocks/tree/master/libs/stylelint-config#readme",
|
|
@@ -13,27 +13,28 @@
|
|
|
13
13
|
"index.js"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"stylelint": "
|
|
17
|
-
"postcss-scss": "4.0.
|
|
18
|
-
"stylelint-
|
|
19
|
-
"stylelint-
|
|
20
|
-
"stylelint-
|
|
21
|
-
"stylelint-
|
|
22
|
-
"stylelint-
|
|
16
|
+
"stylelint": "16.2.1",
|
|
17
|
+
"postcss-scss": "4.0.9",
|
|
18
|
+
"@stylistic/stylelint-plugin": "2.1.0",
|
|
19
|
+
"stylelint-config-property-sort-order-smacss": "10.0.0",
|
|
20
|
+
"stylelint-declaration-block-no-ignored-properties": "2.8.0",
|
|
21
|
+
"stylelint-file-max-lines": "1.0.0",
|
|
22
|
+
"stylelint-scss": "6.1.0",
|
|
23
23
|
"stylelint-group-selectors": "1.0.10"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"stylelint": "
|
|
27
|
-
"postcss-scss": "4.0.
|
|
28
|
-
"stylelint-
|
|
29
|
-
"stylelint-
|
|
30
|
-
"stylelint-
|
|
31
|
-
"stylelint-
|
|
32
|
-
"stylelint-
|
|
26
|
+
"stylelint": "16.2.1",
|
|
27
|
+
"postcss-scss": "4.0.9",
|
|
28
|
+
"@stylistic/stylelint-plugin": "2.0.0",
|
|
29
|
+
"stylelint-config-property-sort-order-smacss": "10.0.0",
|
|
30
|
+
"stylelint-declaration-block-no-ignored-properties": "2.8.0",
|
|
31
|
+
"stylelint-file-max-lines": "1.0.0",
|
|
32
|
+
"stylelint-scss": "6.1.0",
|
|
33
33
|
"stylelint-group-selectors": "1.0.10"
|
|
34
34
|
},
|
|
35
35
|
"deprecatedDependencies": {
|
|
36
|
-
"stylelint-
|
|
36
|
+
"stylelint-use-nesting": "4.1.0 is out of support. Add it back to the list if support for Stylelint v16+ is added",
|
|
37
|
+
"stylelint-selector-no-empty": "1.0.9 is out of support. Add it back to the list if support for Stylelint v16+ is added"
|
|
37
38
|
},
|
|
38
39
|
"publishConfig": {
|
|
39
40
|
"access": "public"
|