@alexlit/config-stylelint 29.0.0 → 30.0.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/.stylelintrc.js CHANGED
@@ -66,6 +66,7 @@ module.exports = {
66
66
 
67
67
  'custom-property-pattern': '^_?[a-z]+([a-z0-9-]+[a-z0-9]+)?$',
68
68
  'declaration-block-no-redundant-longhand-properties': null,
69
+ 'declaration-property-value-no-unknown': true,
69
70
  'font-family-name-quotes': 'always-unless-keyword',
70
71
  'function-no-unknown': null, // delegate to scss/function-no-unknown
71
72
  'function-url-quotes': 'always',
@@ -88,7 +89,7 @@ module.exports = {
88
89
  'no-missing-end-of-source-newline': null,
89
90
  'no-unknown-animations': true,
90
91
  'number-max-precision': 3,
91
- 'property-no-unknown': [true, { ignoreProperties: [] }],
92
+ 'property-no-unknown': [true, { ignoreProperties: ['align-tracks'] }],
92
93
  'property-no-vendor-prefix': true,
93
94
 
94
95
  'rule-empty-line-before': [
@@ -125,7 +126,10 @@ module.exports = {
125
126
  'string-no-newline': null,
126
127
  'time-min-milliseconds': 16,
127
128
 
128
- 'value-keyword-case': ['lower', { camelCaseSvgKeywords: true }],
129
+ 'value-keyword-case': [
130
+ 'lower',
131
+ { camelCaseSvgKeywords: true, ignoreFunctions: ['v-bind'] },
132
+ ],
129
133
 
130
134
  'value-no-vendor-prefix': true,
131
135
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-stylelint",
3
- "version": "29.0.0",
3
+ "version": "30.0.2",
4
4
  "private": false,
5
5
  "description": "Stylelint config",
6
6
  "keywords": [
@@ -38,28 +38,26 @@
38
38
  "version": "./node_modules/@alexlit/lint-kit/scripts/version.sh"
39
39
  },
40
40
  "dependencies": {
41
+ "@double-great/stylelint-a11y": "^2.0.2",
41
42
  "postcss": "^8.4.21",
42
43
  "postcss-html": "^1.5.0",
43
44
  "prettier": "^2.8.4",
44
- "stylelint": "^14.16.1",
45
- "stylelint-a11y": "^1.2.3",
45
+ "stylelint": "^15.2.0",
46
46
  "stylelint-at-rule-no-children": "^0.3.1",
47
47
  "stylelint-color-format": "^1.1.0",
48
- "stylelint-config-prettier": "^9.0.4",
49
48
  "stylelint-config-recommended-vue": "^1.4.0",
50
- "stylelint-config-standard": "^29.0.0",
51
- "stylelint-config-standard-scss": "^6.1.0",
52
- "stylelint-csstree-validator": "^2.1.0",
53
- "stylelint-declaration-block-no-ignored-properties": "^2.6.0",
54
- "stylelint-gamut": "^1.3.0",
55
- "stylelint-high-performance-animation": "^1.7.0",
49
+ "stylelint-config-standard": "^30.0.1",
50
+ "stylelint-config-standard-scss": "^7.0.1",
51
+ "stylelint-declaration-block-no-ignored-properties": "^2.7.0",
52
+ "stylelint-gamut": "^1.3.1",
53
+ "stylelint-high-performance-animation": "^1.8.0",
56
54
  "stylelint-no-indistinguishable-colors": "^1.3.2",
57
55
  "stylelint-no-nested-media": "^0.1.0",
58
- "stylelint-no-unresolved-module": "^2.0.0",
59
- "stylelint-no-unsupported-browser-features": "^6.0.1",
60
- "stylelint-order": "^6.0.1",
61
- "stylelint-prettier": "^2.0.0",
62
- "stylelint-scss": "^4.3.0",
56
+ "stylelint-no-unresolved-module": "^2.1.0",
57
+ "stylelint-no-unsupported-browser-features": "^6.1.0",
58
+ "stylelint-order": "^6.0.2",
59
+ "stylelint-prettier": "^3.0.0",
60
+ "stylelint-scss": "^4.4.0",
63
61
  "stylelint-selector-no-empty": "^1.0.9",
64
62
  "stylelint-use-logical-spec": "^5.0.0",
65
63
  "stylelint-use-nesting": "^4.0.0"
package/plugins/a11y.js CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @see [stylelint-a11y](https://github.com/YozhikM/stylelint-a11y)
2
+ * @see [stylelint-a11y](https://github.com/double-great/stylelint-a11y)
3
3
  */
4
4
  module.exports = {
5
- plugins: ['stylelint-a11y'],
5
+ plugins: ['@double-great/stylelint-a11y'],
6
6
 
7
7
  rules: {
8
8
  'a11y/media-prefers-reduced-motion': true,
@@ -2,8 +2,6 @@
2
2
  * @see [stylelint-prettier](https://github.com/prettier/stylelint-prettier)
3
3
  */
4
4
  module.exports = {
5
- extends: ['stylelint-config-prettier'],
6
-
7
5
  plugins: ['stylelint-prettier'],
8
6
 
9
7
  rules: {
@@ -1,35 +0,0 @@
1
- /**
2
- * @see [stylelint-csstree-validator](https://github.com/csstree/stylelint-validator)
3
- */
4
-
5
- module.exports = {
6
- plugins: ['stylelint-csstree-validator'],
7
-
8
- rules: {
9
- 'csstree/validator': {
10
- // eslint-disable-next-line spellcheck/spell-checker
11
- ignoreAtrules: [
12
- 'apply',
13
- 'custom-media',
14
- 'else',
15
- 'media',
16
- 'responsive',
17
- 'screen',
18
- 'tailwind',
19
- 'variants',
20
- ],
21
-
22
- ignoreProperties: ['v-deep', 'v-global', 'v-slotted'],
23
-
24
- ignoreValue:
25
- /^(clamp|color|map|math|max|min|quote|unquote|v-bind|lch|oklch|lab|oklab)/,
26
-
27
- properties: {
28
- 'content-visibility': 'visible | auto | hidden', // webkit
29
- 'font-display': 'auto | block | swap | fallback | optional', // experimental
30
- },
31
-
32
- syntaxExtensions: ['sass', 'less'],
33
- },
34
- },
35
- };