stylelint-config-ccb 1.13.4 → 1.13.5

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
@@ -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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stylelint-config-ccb",
3
- "version": "1.13.4",
3
+ "version": "1.13.5",
4
4
  "description": "Stylelint config which extends stylelint-config-standard",
5
5
  "keywords": [
6
6
  "stylelint",