@davidsneighbour/stylelint-config 5.0.16 → 5.0.18
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/CHANGELOG.md +16 -0
- package/index.js +3 -25
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.0.18](https://github.com/davidsneighbour/configurations/compare/v5.0.17...v5.0.18) (2023-03-08)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @davidsneighbour/stylelint-config
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [5.0.17](https://github.com/davidsneighbour/configurations/compare/v5.0.16...v5.0.17) (2023-03-04)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @davidsneighbour/stylelint-config
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [5.0.16](https://github.com/davidsneighbour/configurations/compare/v5.0.15...v5.0.16) (2023-03-04)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @davidsneighbour/stylelint-config
|
package/index.js
CHANGED
|
@@ -43,9 +43,7 @@ const config = {
|
|
|
43
43
|
"at-rule-no-unknown": true,
|
|
44
44
|
"at-rule-no-vendor-prefix": true,
|
|
45
45
|
"block-no-empty": true,
|
|
46
|
-
"block-opening-brace-space-before": "always",
|
|
47
46
|
"color-function-notation": "modern",
|
|
48
|
-
"color-hex-case": "lower",
|
|
49
47
|
"color-hex-length": "short",
|
|
50
48
|
"color-named": "never",
|
|
51
49
|
"color-no-invalid-hex": true,
|
|
@@ -88,8 +86,6 @@ const config = {
|
|
|
88
86
|
"message": "(name) => `Expected custom property name \"${name}\" to be kebab-case`"
|
|
89
87
|
}
|
|
90
88
|
],
|
|
91
|
-
"declaration-bang-space-after": "never",
|
|
92
|
-
"declaration-bang-space-before": "always",
|
|
93
89
|
"declaration-block-no-duplicate-custom-properties": true,
|
|
94
90
|
"declaration-block-no-duplicate-properties": [
|
|
95
91
|
true,
|
|
@@ -101,12 +97,9 @@ const config = {
|
|
|
101
97
|
],
|
|
102
98
|
"declaration-block-no-redundant-longhand-properties": true,
|
|
103
99
|
"declaration-block-no-shorthand-property-overrides": true,
|
|
104
|
-
|
|
105
|
-
"declaration-block-semicolon-space-before": "never",
|
|
100
|
+
|
|
106
101
|
"declaration-block-single-line-max-declarations": 1,
|
|
107
|
-
|
|
108
|
-
"declaration-colon-space-after": "always-single-line",
|
|
109
|
-
"declaration-colon-space-before": "never",
|
|
102
|
+
|
|
110
103
|
"declaration-empty-line-before": [
|
|
111
104
|
"always",
|
|
112
105
|
{
|
|
@@ -142,15 +135,12 @@ const config = {
|
|
|
142
135
|
"font-family-no-missing-generic-family-keyword": true,
|
|
143
136
|
"font-weight-notation": "numeric",
|
|
144
137
|
"function-calc-no-unspaced-operator": true,
|
|
145
|
-
"function-comma-space-after": "always-single-line",
|
|
146
138
|
"function-linear-gradient-no-nonstandard-direction": true,
|
|
147
139
|
"function-name-case": "lower",
|
|
148
140
|
"function-no-unknown": true,
|
|
149
|
-
"function-parentheses-space-inside": "never",
|
|
150
141
|
"function-url-quotes": "always",
|
|
151
142
|
"hue-degree-notation": "angle",
|
|
152
143
|
"import-notation": "url",
|
|
153
|
-
"indentation": 2,
|
|
154
144
|
"keyframe-block-no-duplicate-selectors": true,
|
|
155
145
|
"keyframe-declaration-no-important": true,
|
|
156
146
|
"keyframe-selector-notation": "percentage-unless-within-keyword-only-block",
|
|
@@ -168,14 +158,6 @@ const config = {
|
|
|
168
158
|
]
|
|
169
159
|
}
|
|
170
160
|
],
|
|
171
|
-
"max-empty-lines": [
|
|
172
|
-
1,
|
|
173
|
-
{
|
|
174
|
-
"ignore": [
|
|
175
|
-
"comments"
|
|
176
|
-
]
|
|
177
|
-
}
|
|
178
|
-
],
|
|
179
161
|
"max-nesting-depth": [
|
|
180
162
|
3,
|
|
181
163
|
{
|
|
@@ -189,7 +171,6 @@ const config = {
|
|
|
189
171
|
],
|
|
190
172
|
"media-feature-name-no-unknown": true,
|
|
191
173
|
"media-feature-name-no-vendor-prefix": true,
|
|
192
|
-
"media-feature-parentheses-space-inside": "never",
|
|
193
174
|
"named-grid-areas-no-invalid": true,
|
|
194
175
|
"no-descending-specificity": true,
|
|
195
176
|
"no-duplicate-at-import-rules": true,
|
|
@@ -198,7 +179,6 @@ const config = {
|
|
|
198
179
|
"no-invalid-double-slash-comments": true,
|
|
199
180
|
"no-invalid-position-at-import-rule": true,
|
|
200
181
|
"no-irregular-whitespace": true,
|
|
201
|
-
"no-missing-end-of-source-newline": true,
|
|
202
182
|
"number-leading-zero": "always",
|
|
203
183
|
"number-max-precision": 4,
|
|
204
184
|
"number-no-trailing-zeros": true,
|
|
@@ -247,7 +227,6 @@ const config = {
|
|
|
247
227
|
"message": "(selector) => `Expected id selector \"${selector}\" to be kebab-case`"
|
|
248
228
|
}
|
|
249
229
|
],
|
|
250
|
-
"selector-list-comma-newline-after": "always",
|
|
251
230
|
"selector-max-compound-selectors": 3,
|
|
252
231
|
"selector-max-id": 1,
|
|
253
232
|
"selector-no-qualifying-type": [
|
|
@@ -275,7 +254,6 @@ const config = {
|
|
|
275
254
|
],
|
|
276
255
|
"shorthand-property-no-redundant-values": true,
|
|
277
256
|
"string-no-newline": true,
|
|
278
|
-
"string-quotes": "single",
|
|
279
257
|
"unit-no-unknown": true,
|
|
280
258
|
"value-keyword-case": "lower",
|
|
281
259
|
"value-no-vendor-prefix": [
|
|
@@ -590,4 +568,4 @@ const config = {
|
|
|
590
568
|
]
|
|
591
569
|
};
|
|
592
570
|
|
|
593
|
-
|
|
571
|
+
module.exports = config;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@davidsneighbour/stylelint-config",
|
|
3
3
|
"description": "Stylelint configuration for use in @davidsneighbour projects.",
|
|
4
|
-
"version": "5.0.
|
|
4
|
+
"version": "5.0.18",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "davidsneighbour/configurations",
|
|
7
7
|
"author": {
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"node": ">=18.12.1",
|
|
29
29
|
"npm": ">=8.19.2"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "c951618db8081a882be7c5a546af89b4d5157d38"
|
|
32
32
|
}
|