stylelint-config-ccb 1.13.2 → 1.13.3

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.
Files changed (2) hide show
  1. package/index.js +14 -8
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -78,7 +78,7 @@ module.exports = {
78
78
  all: ['initial', 'revert'],
79
79
  position: ['fixed', 'absolute', 'relative', 'sticky'],
80
80
  appearance: ['none', 'auto'],
81
- content: ['""', '/^attr\\(/', '/^var\\(/', 'none'],
81
+ content: ['""', '/^attr\\(aria-/', '/^attr\\(data-/', '/^var\\(/', 'none', '*'],
82
82
  font: ['inherit'],
83
83
  fill: ['currentColor', 'inherit', 'none'],
84
84
  overflow: ['initial', 'hidden', 'clip', 'auto'],
@@ -159,15 +159,21 @@ module.exports = {
159
159
  },
160
160
 
161
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
+
162
172
  // reduced-motion autofix is too unreliable, see https://github.com/YozhikM/stylelint-a11y/issues/57
163
173
  // 'a11y/media-prefers-reduced-motion': true,
164
- 'a11y/no-obsolete-attribute': true,
165
- 'a11y/no-obsolete-element': true,
166
- 'a11y/no-spread-text': true,
167
- 'a11y/no-outline-none': true,
168
- 'a11y/no-text-align-justify': true,
169
- // also covered with declaration-property-value-allowed-list
170
- '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,
171
177
 
172
178
  'plugin/stylelint-selector-no-empty': true,
173
179
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stylelint-config-ccb",
3
- "version": "1.13.2",
3
+ "version": "1.13.3",
4
4
  "description": "Stylelint config which extends stylelint-config-standard",
5
5
  "keywords": [
6
6
  "stylelint",