stylelint-config-ccb 1.13.4 → 1.13.7

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,20 @@ 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 colors
99
+ 'gray', 'color-mod', 'rgba', 'hsla',
100
+ // not preferred colors
101
+ 'hwb', 'hsl',
102
+ 'lab', 'oklab', 'lch', 'oklch',
103
+ 'color', 'color-mix', 'color-contrast',
104
+ // stepped value functions
105
+ 'round', 'mod', 'rem',
106
+ // trigonometric functions
107
+ 'tan', 'sin', 'cos',
108
+ 'atan', 'asin', 'acos',
109
+ 'atan2',
110
+ ],
98
111
  'declaration-no-important': true,
99
112
  'property-disallowed-list': require('./data/disallowed-properties.js'),
100
113
  'time-min-milliseconds': 75,
@@ -108,7 +121,7 @@ module.exports = {
108
121
  'selector-pseudo-class-disallowed-list': [':scope', ':has', ':matches'],
109
122
  'unit-disallowed-list': [
110
123
  'cm', 'mm', 'Q', 'in', 'pc', 'pt',
111
- 'ex', 'ch',
124
+ 'ex', 'ch', 'ic',
112
125
  's',
113
126
  ],
114
127
 
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.7",
4
4
  "description": "Stylelint config which extends stylelint-config-standard",
5
5
  "keywords": [
6
6
  "stylelint",