stylelint-config-ccb 1.15.0 → 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.
Files changed (2) hide show
  1. package/index.js +10 -3
  2. package/package.json +1 -1
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'],
@@ -122,9 +122,16 @@ module.exports = {
122
122
  'selector-disallowed-list': require('./data/disallowed-selectors.js'),
123
123
  'selector-pseudo-class-disallowed-list': [':scope', ':has', ':matches'],
124
124
  'unit-disallowed-list': [
125
+ // physical length
125
126
  'cm', 'mm', 'Q', 'in', 'pc', 'pt',
126
- 'ex', 'ch', 'ic',
127
+ // Relative length
128
+ 'ex', 'ch', 'ic', 'cap', 'lh', 'rlh',
129
+ // Time units
127
130
  's',
131
+ // Angle units
132
+ 'grad', 'rad', 'turn',
133
+ // Resolution
134
+ 'dpcm',
128
135
  ],
129
136
 
130
137
  'font-weight-notation': [
@@ -164,7 +171,7 @@ module.exports = {
164
171
  true,
165
172
  {
166
173
  quoteProps: 'preserve',
167
- printWidth: 160,
174
+ printWidth: 80,
168
175
  },
169
176
  ],
170
177
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stylelint-config-ccb",
3
- "version": "1.15.0",
3
+ "version": "1.16.2",
4
4
  "description": "Stylelint config which extends stylelint-config-standard",
5
5
  "keywords": [
6
6
  "stylelint",