stylelint-config-ccb 1.16.2 → 1.17.0

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.
@@ -1,12 +1,6 @@
1
1
  'use strict';
2
2
 
3
3
  module.exports = [
4
- ':root',
5
- // regex
6
- '/:any\\(/',
7
- '/:matches\\(/',
8
- '/:-moz-any\\(/',
9
- '/:-webkit-any\\(/',
10
4
  // should not be styled
11
5
  'head',
12
6
  'link',
package/index.js CHANGED
@@ -120,7 +120,13 @@ module.exports = {
120
120
  'selector-max-pseudo-class': 2,
121
121
  'selector-max-type': 2,
122
122
  'selector-disallowed-list': require('./data/disallowed-selectors.js'),
123
- 'selector-pseudo-class-disallowed-list': [':scope', ':has', ':matches'],
123
+ 'selector-pseudo-class-disallowed-list': [
124
+ 'any',
125
+ 'has',
126
+ 'matches',
127
+ 'root',
128
+ 'scope',
129
+ ],
124
130
  'unit-disallowed-list': [
125
131
  // physical length
126
132
  'cm', 'mm', 'Q', 'in', 'pc', 'pt',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stylelint-config-ccb",
3
- "version": "1.16.2",
3
+ "version": "1.17.0",
4
4
  "description": "Stylelint config which extends stylelint-config-standard",
5
5
  "keywords": [
6
6
  "stylelint",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "devDependencies": {
38
38
  "eslint": "^8.18.0",
39
- "eslint-config-ccb": "^0.0.15",
39
+ "eslint-config-ccb": "^0.0.17",
40
40
  "jest": "^28.1.1",
41
41
  "stylelint": "^14.9.1"
42
42
  },