@tomjs/stylelint 2.5.0 → 2.6.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.
- package/package.json +4 -4
- package/es/index.js +0 -103
- package/lib/index.js +0 -102
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tomjs/stylelint",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "stylelint config for tomjs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"stylelint",
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"postcss": "^8.4.
|
|
39
|
+
"postcss": "^8.4.39",
|
|
40
40
|
"postcss-html": "^1.7.0",
|
|
41
41
|
"postcss-less": "^6.0.0",
|
|
42
42
|
"postcss-scss": "^4.0.9",
|
|
43
43
|
"stylelint-config-property-sort-order-smacss": "^10.0.0",
|
|
44
|
-
"stylelint-config-recommended": "^14.0.
|
|
44
|
+
"stylelint-config-recommended": "^14.0.1",
|
|
45
45
|
"stylelint-config-recommended-vue": "^1.5.0",
|
|
46
|
-
"stylelint-config-standard": "^36.0.
|
|
46
|
+
"stylelint-config-standard": "^36.0.1",
|
|
47
47
|
"stylelint-config-standard-scss": "^13.1.0",
|
|
48
48
|
"stylelint-order": "^6.0.4",
|
|
49
49
|
"stylelint-prettier": "^5.0.0"
|
package/es/index.js
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
const index = {
|
|
2
|
-
plugins: ["stylelint-order", "stylelint-prettier"],
|
|
3
|
-
extends: ["stylelint-config-standard", "stylelint-config-property-sort-order-smacss"],
|
|
4
|
-
overrides: [
|
|
5
|
-
{
|
|
6
|
-
files: ["**/*.(css|html|vue)"],
|
|
7
|
-
customSyntax: "postcss-html"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
files: ["*.less", "**/*.less"],
|
|
11
|
-
customSyntax: "postcss-less",
|
|
12
|
-
extends: ["stylelint-config-standard", "stylelint-config-recommended-vue"]
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
files: ["*.scss", "**/*.scss"],
|
|
16
|
-
customSyntax: "postcss-scss",
|
|
17
|
-
extends: ["stylelint-config-standard-scss", "stylelint-config-recommended-vue/scss"],
|
|
18
|
-
rule: {
|
|
19
|
-
"scss/percent-placeholder-pattern": null
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
rules: {
|
|
24
|
-
"alpha-value-notation": "number",
|
|
25
|
-
"at-rule-no-unknown": [
|
|
26
|
-
true,
|
|
27
|
-
{
|
|
28
|
-
ignoreAtRules: [
|
|
29
|
-
"tailwind",
|
|
30
|
-
"apply",
|
|
31
|
-
"variants",
|
|
32
|
-
"responsive",
|
|
33
|
-
"screen",
|
|
34
|
-
"function",
|
|
35
|
-
"if",
|
|
36
|
-
"each",
|
|
37
|
-
"include",
|
|
38
|
-
"mixin",
|
|
39
|
-
"extend"
|
|
40
|
-
]
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
"color-function-notation": null,
|
|
44
|
-
"font-family-no-missing-generic-family-keyword": null,
|
|
45
|
-
"function-no-unknown": null,
|
|
46
|
-
"import-notation": null,
|
|
47
|
-
"media-feature-range-notation": "prefix",
|
|
48
|
-
"named-grid-areas-no-invalid": null,
|
|
49
|
-
"no-descending-specificity": null,
|
|
50
|
-
"no-duplicate-selectors": null,
|
|
51
|
-
"no-empty-source": null,
|
|
52
|
-
"order/order": [
|
|
53
|
-
[
|
|
54
|
-
"dollar-variables",
|
|
55
|
-
"custom-properties",
|
|
56
|
-
"at-rules",
|
|
57
|
-
"declarations",
|
|
58
|
-
{
|
|
59
|
-
name: "supports",
|
|
60
|
-
type: "at-rule"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
name: "media",
|
|
64
|
-
type: "at-rule"
|
|
65
|
-
},
|
|
66
|
-
"rules"
|
|
67
|
-
],
|
|
68
|
-
{
|
|
69
|
-
severity: "error"
|
|
70
|
-
}
|
|
71
|
-
],
|
|
72
|
-
"rule-empty-line-before": [
|
|
73
|
-
"always",
|
|
74
|
-
{
|
|
75
|
-
ignore: ["after-comment", "first-nested"]
|
|
76
|
-
}
|
|
77
|
-
],
|
|
78
|
-
"selector-class-pattern": null,
|
|
79
|
-
"selector-not-notation": null,
|
|
80
|
-
"selector-pseudo-class-no-unknown": [
|
|
81
|
-
true,
|
|
82
|
-
{
|
|
83
|
-
ignorePseudoClasses: ["global", "deep"]
|
|
84
|
-
}
|
|
85
|
-
],
|
|
86
|
-
"selector-pseudo-element-no-unknown": [
|
|
87
|
-
true,
|
|
88
|
-
{
|
|
89
|
-
ignorePseudoElements: ["v-deep"]
|
|
90
|
-
}
|
|
91
|
-
],
|
|
92
|
-
"unit-no-unknown": [
|
|
93
|
-
true,
|
|
94
|
-
{
|
|
95
|
-
ignoreUnits: ["rpx"]
|
|
96
|
-
}
|
|
97
|
-
]
|
|
98
|
-
},
|
|
99
|
-
ignoreFiles: ["**/*.js", "**/*.jsx", "**/*.tsx", "**/*.ts"]
|
|
100
|
-
};
|
|
101
|
-
export {
|
|
102
|
-
index as default
|
|
103
|
-
};
|
package/lib/index.js
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const index = {
|
|
3
|
-
plugins: ["stylelint-order", "stylelint-prettier"],
|
|
4
|
-
extends: ["stylelint-config-standard", "stylelint-config-property-sort-order-smacss"],
|
|
5
|
-
overrides: [
|
|
6
|
-
{
|
|
7
|
-
files: ["**/*.(css|html|vue)"],
|
|
8
|
-
customSyntax: "postcss-html"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
files: ["*.less", "**/*.less"],
|
|
12
|
-
customSyntax: "postcss-less",
|
|
13
|
-
extends: ["stylelint-config-standard", "stylelint-config-recommended-vue"]
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
files: ["*.scss", "**/*.scss"],
|
|
17
|
-
customSyntax: "postcss-scss",
|
|
18
|
-
extends: ["stylelint-config-standard-scss", "stylelint-config-recommended-vue/scss"],
|
|
19
|
-
rule: {
|
|
20
|
-
"scss/percent-placeholder-pattern": null
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
rules: {
|
|
25
|
-
"alpha-value-notation": "number",
|
|
26
|
-
"at-rule-no-unknown": [
|
|
27
|
-
true,
|
|
28
|
-
{
|
|
29
|
-
ignoreAtRules: [
|
|
30
|
-
"tailwind",
|
|
31
|
-
"apply",
|
|
32
|
-
"variants",
|
|
33
|
-
"responsive",
|
|
34
|
-
"screen",
|
|
35
|
-
"function",
|
|
36
|
-
"if",
|
|
37
|
-
"each",
|
|
38
|
-
"include",
|
|
39
|
-
"mixin",
|
|
40
|
-
"extend"
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
],
|
|
44
|
-
"color-function-notation": null,
|
|
45
|
-
"font-family-no-missing-generic-family-keyword": null,
|
|
46
|
-
"function-no-unknown": null,
|
|
47
|
-
"import-notation": null,
|
|
48
|
-
"media-feature-range-notation": "prefix",
|
|
49
|
-
"named-grid-areas-no-invalid": null,
|
|
50
|
-
"no-descending-specificity": null,
|
|
51
|
-
"no-duplicate-selectors": null,
|
|
52
|
-
"no-empty-source": null,
|
|
53
|
-
"order/order": [
|
|
54
|
-
[
|
|
55
|
-
"dollar-variables",
|
|
56
|
-
"custom-properties",
|
|
57
|
-
"at-rules",
|
|
58
|
-
"declarations",
|
|
59
|
-
{
|
|
60
|
-
name: "supports",
|
|
61
|
-
type: "at-rule"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
name: "media",
|
|
65
|
-
type: "at-rule"
|
|
66
|
-
},
|
|
67
|
-
"rules"
|
|
68
|
-
],
|
|
69
|
-
{
|
|
70
|
-
severity: "error"
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
"rule-empty-line-before": [
|
|
74
|
-
"always",
|
|
75
|
-
{
|
|
76
|
-
ignore: ["after-comment", "first-nested"]
|
|
77
|
-
}
|
|
78
|
-
],
|
|
79
|
-
"selector-class-pattern": null,
|
|
80
|
-
"selector-not-notation": null,
|
|
81
|
-
"selector-pseudo-class-no-unknown": [
|
|
82
|
-
true,
|
|
83
|
-
{
|
|
84
|
-
ignorePseudoClasses: ["global", "deep"]
|
|
85
|
-
}
|
|
86
|
-
],
|
|
87
|
-
"selector-pseudo-element-no-unknown": [
|
|
88
|
-
true,
|
|
89
|
-
{
|
|
90
|
-
ignorePseudoElements: ["v-deep"]
|
|
91
|
-
}
|
|
92
|
-
],
|
|
93
|
-
"unit-no-unknown": [
|
|
94
|
-
true,
|
|
95
|
-
{
|
|
96
|
-
ignoreUnits: ["rpx"]
|
|
97
|
-
}
|
|
98
|
-
]
|
|
99
|
-
},
|
|
100
|
-
ignoreFiles: ["**/*.js", "**/*.jsx", "**/*.tsx", "**/*.ts"]
|
|
101
|
-
};
|
|
102
|
-
module.exports = index;
|