stylelint-config-ccb 1.13.1 → 1.13.4
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/data/.DS_Store +0 -0
- package/index.js +18 -9
- package/package.json +2 -1
package/data/.DS_Store
ADDED
|
Binary file
|
package/index.js
CHANGED
|
@@ -9,6 +9,7 @@ module.exports = {
|
|
|
9
9
|
'stylelint-order',
|
|
10
10
|
'stylelint-prettier',
|
|
11
11
|
'stylelint-selector-no-empty',
|
|
12
|
+
'stylelint-declaration-block-no-ignored-properties',
|
|
12
13
|
],
|
|
13
14
|
rules: {
|
|
14
15
|
/* stylelint-config-standard overwrites */
|
|
@@ -77,7 +78,7 @@ module.exports = {
|
|
|
77
78
|
all: ['initial', 'revert'],
|
|
78
79
|
position: ['fixed', 'absolute', 'relative', 'sticky'],
|
|
79
80
|
appearance: ['none', 'auto'],
|
|
80
|
-
content: ['""', '/^attr\\(
|
|
81
|
+
content: ['""', '/^attr\\(aria-/', '/^attr\\(data-/', '/^var\\(/', 'none', '"*"'],
|
|
81
82
|
font: ['inherit'],
|
|
82
83
|
fill: ['currentColor', 'inherit', 'none'],
|
|
83
84
|
overflow: ['initial', 'hidden', 'clip', 'auto'],
|
|
@@ -149,7 +150,7 @@ module.exports = {
|
|
|
149
150
|
true,
|
|
150
151
|
{
|
|
151
152
|
quoteProps: 'preserve',
|
|
152
|
-
printWidth:
|
|
153
|
+
printWidth: 160,
|
|
153
154
|
},
|
|
154
155
|
],
|
|
155
156
|
|
|
@@ -158,20 +159,28 @@ module.exports = {
|
|
|
158
159
|
},
|
|
159
160
|
|
|
160
161
|
'a11y/font-size-is-readable': true,
|
|
162
|
+
'a11y/no-spread-text': true,
|
|
163
|
+
|
|
164
|
+
// both already handled by selector-disallowed-list
|
|
165
|
+
// 'a11y/no-obsolete-attribute': true,
|
|
166
|
+
// 'a11y/no-obsolete-element': true,
|
|
167
|
+
|
|
168
|
+
// both already handled by declaration-property-value-disallowed-list
|
|
169
|
+
// 'a11y/no-text-align-justify': true,
|
|
170
|
+
// 'a11y/no-outline-none': true,
|
|
171
|
+
|
|
161
172
|
// reduced-motion autofix is too unreliable, see https://github.com/YozhikM/stylelint-a11y/issues/57
|
|
162
173
|
// 'a11y/media-prefers-reduced-motion': true,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
'a11y/no-
|
|
166
|
-
'a11y/no-outline-none': true,
|
|
167
|
-
'a11y/no-text-align-justify': true,
|
|
168
|
-
// also covered with declaration-property-value-allowed-list
|
|
169
|
-
'a11y/content-property-no-static-value': true,
|
|
174
|
+
|
|
175
|
+
// already handled by declaration-property-value-allowed-list
|
|
176
|
+
// 'a11y/content-property-no-static-value': true,
|
|
170
177
|
|
|
171
178
|
'plugin/stylelint-selector-no-empty': true,
|
|
172
179
|
|
|
173
180
|
'plugin/stylelint-no-indistinguishable-colors': true,
|
|
174
181
|
|
|
182
|
+
'plugin/declaration-block-no-ignored-properties': true,
|
|
183
|
+
|
|
175
184
|
'order/order': [
|
|
176
185
|
[
|
|
177
186
|
'dollar-variables',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stylelint-config-ccb",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.4",
|
|
4
4
|
"description": "Stylelint config which extends stylelint-config-standard",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"stylelint",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"prettier": "^2.7.1",
|
|
29
29
|
"stylelint-color-format": "^1.1.0",
|
|
30
30
|
"stylelint-config-standard": "^26.0.0",
|
|
31
|
+
"stylelint-declaration-block-no-ignored-properties": "^2.5.0",
|
|
31
32
|
"stylelint-no-indistinguishable-colors": "^1.3.0",
|
|
32
33
|
"stylelint-order": "^5.0.0",
|
|
33
34
|
"stylelint-prettier": "^2.0.0",
|