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