stylelint-config-ccb 1.13.7 → 1.16.2
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/selector-order.js +4 -0
- package/index.js +14 -6
- package/package.json +1 -1
package/data/selector-order.js
CHANGED
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'],
|
|
@@ -107,6 +107,8 @@ module.exports = {
|
|
|
107
107
|
'tan', 'sin', 'cos',
|
|
108
108
|
'atan', 'asin', 'acos',
|
|
109
109
|
'atan2',
|
|
110
|
+
// future
|
|
111
|
+
'anchor', 'toggle',
|
|
110
112
|
],
|
|
111
113
|
'declaration-no-important': true,
|
|
112
114
|
'property-disallowed-list': require('./data/disallowed-properties.js'),
|
|
@@ -120,9 +122,16 @@ module.exports = {
|
|
|
120
122
|
'selector-disallowed-list': require('./data/disallowed-selectors.js'),
|
|
121
123
|
'selector-pseudo-class-disallowed-list': [':scope', ':has', ':matches'],
|
|
122
124
|
'unit-disallowed-list': [
|
|
125
|
+
// physical length
|
|
123
126
|
'cm', 'mm', 'Q', 'in', 'pc', 'pt',
|
|
124
|
-
|
|
127
|
+
// Relative length
|
|
128
|
+
'ex', 'ch', 'ic', 'cap', 'lh', 'rlh',
|
|
129
|
+
// Time units
|
|
125
130
|
's',
|
|
131
|
+
// Angle units
|
|
132
|
+
'grad', 'rad', 'turn',
|
|
133
|
+
// Resolution
|
|
134
|
+
'dpcm',
|
|
126
135
|
],
|
|
127
136
|
|
|
128
137
|
'font-weight-notation': [
|
|
@@ -149,21 +158,20 @@ module.exports = {
|
|
|
149
158
|
'selector-list-comma-newline-before': 'never-multi-line',
|
|
150
159
|
'selector-list-comma-space-after': 'always-single-line',
|
|
151
160
|
'value-list-comma-newline-before': 'never-multi-line',
|
|
161
|
+
'max-line-length': 160,
|
|
152
162
|
|
|
153
163
|
/* prettier-conflicts, prefer stylelint-config-standard
|
|
154
164
|
'block-opening-brace-space-before': null,
|
|
155
165
|
'declaration-colon-newline-after': null,
|
|
156
166
|
'value-list-comma-newline-after': null,
|
|
157
167
|
'selector-descendant-combinator-no-non-space': null,
|
|
158
|
-
'selector-combinator-space-before': null,
|
|
159
|
-
'max-line-length': 80,
|
|
160
|
-
*/
|
|
168
|
+
'selector-combinator-space-before': null, */
|
|
161
169
|
|
|
162
170
|
'prettier/prettier': [
|
|
163
171
|
true,
|
|
164
172
|
{
|
|
165
173
|
quoteProps: 'preserve',
|
|
166
|
-
printWidth:
|
|
174
|
+
printWidth: 80,
|
|
167
175
|
},
|
|
168
176
|
],
|
|
169
177
|
|