stylelint-config-ccb 1.13.3 → 1.13.6

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.
@@ -2,6 +2,11 @@
2
2
 
3
3
  module.exports = [
4
4
  ':root',
5
+ // regex
6
+ '/:any\\(/',
7
+ '/:matches\\(/',
8
+ '/:-moz-any\\(/',
9
+ '/:-webkit-any\\(/',
5
10
  // should not be styled
6
11
  'head',
7
12
  'link',
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\\(aria-/', '/^attr\\(data-/', '/^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'],
@@ -94,7 +94,14 @@ module.exports = {
94
94
  'text-align': ['justify'],
95
95
  },
96
96
  'function-url-scheme-allowed-list': ['data', 'https'],
97
- 'function-disallowed-list': ['gray', 'color-mod', 'color', 'rgba', 'hsla'],
97
+ 'function-disallowed-list': [
98
+ // deprecated
99
+ 'gray', 'color-mod', 'rgba', 'hsla',
100
+ // not preferred
101
+ 'hwb', 'hsl',
102
+ 'lab', 'oklab', 'lch', 'oklch',
103
+ 'color', 'color-mix', 'color-contrast',
104
+ ],
98
105
  'declaration-no-important': true,
99
106
  'property-disallowed-list': require('./data/disallowed-properties.js'),
100
107
  'time-min-milliseconds': 75,
@@ -108,7 +115,7 @@ module.exports = {
108
115
  'selector-pseudo-class-disallowed-list': [':scope', ':has', ':matches'],
109
116
  'unit-disallowed-list': [
110
117
  'cm', 'mm', 'Q', 'in', 'pc', 'pt',
111
- 'ex', 'ch',
118
+ 'ex', 'ch', 'ic',
112
119
  's',
113
120
  ],
114
121
 
@@ -150,7 +157,7 @@ module.exports = {
150
157
  true,
151
158
  {
152
159
  quoteProps: 'preserve',
153
- printWidth: 120,
160
+ printWidth: 160,
154
161
  },
155
162
  ],
156
163
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stylelint-config-ccb",
3
- "version": "1.13.3",
3
+ "version": "1.13.6",
4
4
  "description": "Stylelint config which extends stylelint-config-standard",
5
5
  "keywords": [
6
6
  "stylelint",