@alexlit/config-stylelint 38.2.0 → 38.4.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.
Files changed (2) hide show
  1. package/package.json +59 -59
  2. package/plugins/scss.js +17 -2
package/package.json CHANGED
@@ -1,59 +1,59 @@
1
- {
2
- "name": "@alexlit/config-stylelint",
3
- "version": "38.2.0",
4
- "private": false,
5
- "description": "Stylelint config",
6
- "keywords": [
7
- "stylelint",
8
- "config"
9
- ],
10
- "homepage": "https://github.com/alex-lit/lint-kit#readme",
11
- "bugs": {
12
- "url": "https://github.com/alex-lit/lint-kit/issues"
13
- },
14
- "repository": {
15
- "type": "git",
16
- "url": "https://github.com/alex-lit/lint-kit.git",
17
- "directory": "packages/config-stylelint"
18
- },
19
- "license": "MIT",
20
- "author": "Alexey Litovchenko",
21
- "maintainers": [
22
- "Alexey Litovchenko <alex.lit@outlook.com> (https://alexlit.gitlab.io)"
23
- ],
24
- "main": "index.js",
25
- "files": [
26
- "README.md",
27
- "index.js",
28
- "plugins"
29
- ],
30
- "scripts": {
31
- "semver": "../../scripts/semver.sh",
32
- "up": "../../scripts/up.sh"
33
- },
34
- "dependencies": {
35
- "@double-great/stylelint-a11y": "^2.0.2",
36
- "postcss": "^8.4.31",
37
- "postcss-html": "^1.5.0",
38
- "prettier": "^3.0.3",
39
- "stylelint": "^15.11.0",
40
- "stylelint-at-rule-no-children": "^0.3.1",
41
- "stylelint-color-format": "^1.1.0",
42
- "stylelint-config-recommended-vue": "^1.5.0",
43
- "stylelint-config-standard": "^34.0.0",
44
- "stylelint-config-standard-scss": "^11.0.0",
45
- "stylelint-declaration-block-no-ignored-properties": "^2.7.0",
46
- "stylelint-gamut": "^1.3.3",
47
- "stylelint-high-performance-animation": "^1.9.0",
48
- "stylelint-no-indistinguishable-colors": "^1.3.2",
49
- "stylelint-no-nested-media": "^0.1.0",
50
- "stylelint-no-unresolved-module": "^2.2.1",
51
- "stylelint-no-unsupported-browser-features": "^7.0.0",
52
- "stylelint-order": "^6.0.3",
53
- "stylelint-plugin-logical-css": "^0.13.2",
54
- "stylelint-prettier": "^4.0.2",
55
- "stylelint-scss": "^5.3.0",
56
- "stylelint-selector-no-empty": "^1.0.9",
57
- "stylelint-use-nesting": "^4.1.0"
58
- }
59
- }
1
+ {
2
+ "name": "@alexlit/config-stylelint",
3
+ "version": "38.4.0",
4
+ "private": false,
5
+ "description": "Stylelint config",
6
+ "keywords": [
7
+ "stylelint",
8
+ "config"
9
+ ],
10
+ "homepage": "https://github.com/alex-lit/lint-kit#readme",
11
+ "bugs": {
12
+ "url": "https://github.com/alex-lit/lint-kit/issues"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/alex-lit/lint-kit.git",
17
+ "directory": "packages/config-stylelint"
18
+ },
19
+ "license": "MIT",
20
+ "author": "Alexey Litovchenko",
21
+ "maintainers": [
22
+ "Alexey Litovchenko <alex.lit@outlook.com> (https://alexlit.gitlab.io)"
23
+ ],
24
+ "main": "index.js",
25
+ "files": [
26
+ "README.md",
27
+ "index.js",
28
+ "plugins"
29
+ ],
30
+ "scripts": {
31
+ "semver": "../../scripts/semver.sh",
32
+ "up": "../../scripts/up.sh"
33
+ },
34
+ "dependencies": {
35
+ "@double-great/stylelint-a11y": "^2.0.2",
36
+ "postcss": "^8.4.31",
37
+ "postcss-html": "^1.5.0",
38
+ "prettier": "^3.0.3",
39
+ "stylelint": "^15.11.0",
40
+ "stylelint-at-rule-no-children": "^0.3.1",
41
+ "stylelint-color-format": "^1.1.0",
42
+ "stylelint-config-recommended-vue": "^1.5.0",
43
+ "stylelint-config-standard": "^34.0.0",
44
+ "stylelint-config-standard-scss": "^11.0.0",
45
+ "stylelint-declaration-block-no-ignored-properties": "^2.7.0",
46
+ "stylelint-gamut": "^1.3.3",
47
+ "stylelint-high-performance-animation": "^1.9.0",
48
+ "stylelint-no-indistinguishable-colors": "^1.3.2",
49
+ "stylelint-no-nested-media": "^0.1.0",
50
+ "stylelint-no-unresolved-module": "^2.2.1",
51
+ "stylelint-no-unsupported-browser-features": "^7.0.0",
52
+ "stylelint-order": "^6.0.3",
53
+ "stylelint-plugin-logical-css": "^0.13.2",
54
+ "stylelint-prettier": "^4.0.2",
55
+ "stylelint-scss": "^5.3.0",
56
+ "stylelint-selector-no-empty": "^1.0.9",
57
+ "stylelint-use-nesting": "^4.1.0"
58
+ }
59
+ }
package/plugins/scss.js CHANGED
@@ -25,8 +25,11 @@ module.exports = {
25
25
  true,
26
26
  {
27
27
  ignoreAtRules: [
28
- 'apply',
29
28
  'container',
29
+ // tailwind
30
+ 'apply',
31
+ 'config',
32
+ 'layer',
30
33
  'responsive',
31
34
  'screen',
32
35
  'tailwind',
@@ -63,7 +66,19 @@ module.exports = {
63
66
  'scss/dollar-variable-pattern': KEBAB_CASE_PATTERN,
64
67
  'scss/double-slash-comment-whitespace-inside': 'always',
65
68
  'scss/function-color-relative': true,
66
- 'scss/function-no-unknown': [true, { ignoreFunctions: ['v-bind'] }],
69
+
70
+ 'scss/function-no-unknown': [
71
+ true,
72
+ {
73
+ ignoreFunctions: [
74
+ // vue
75
+ 'v-bind',
76
+ // tailwind
77
+ 'theme',
78
+ ],
79
+ },
80
+ ],
81
+
67
82
  'scss/function-quote-no-quoted-strings-inside': true,
68
83
  'scss/function-unquote-no-unquoted-strings-inside': true,
69
84
  'scss/map-keys-quotes': 'always',