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.
@@ -227,6 +227,10 @@ module.exports = [
227
227
  'scroll-padding-inline-end',
228
228
  'scroll-padding-inline-start',
229
229
 
230
+ 'scroll-start',
231
+ 'scroll-start-x',
232
+ 'scroll-start-y',
233
+
230
234
  // background
231
235
  'background',
232
236
  'background-color',
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
- 'ex', 'ch', 'ic',
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: 160,
174
+ printWidth: 80,
167
175
  },
168
176
  ],
169
177
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stylelint-config-ccb",
3
- "version": "1.13.7",
3
+ "version": "1.16.2",
4
4
  "description": "Stylelint config which extends stylelint-config-standard",
5
5
  "keywords": [
6
6
  "stylelint",