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.
- package/data/disallowed-selectors.js +5 -0
- package/index.js +9 -2
- package/package.json +1 -1
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': [
|
|
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
|
|