@azat-io/stylelint-config 1.6.0 → 1.8.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/dist/index.js +122 -175
- package/package.json +4 -4
- package/readme.md +2 -2
package/dist/index.js
CHANGED
|
@@ -1,176 +1,123 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
"selector-class-pattern": [
|
|
123
|
-
"^([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
|
|
124
|
-
{
|
|
125
|
-
message: (selector) => `Expected class selector "${selector}" to be kebab-case`
|
|
126
|
-
}
|
|
127
|
-
],
|
|
128
|
-
"selector-id-pattern": [
|
|
129
|
-
"^([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
|
|
130
|
-
{
|
|
131
|
-
message: (selector) => `Expected id selector "${selector}" to be kebab-case`
|
|
132
|
-
}
|
|
133
|
-
],
|
|
134
|
-
"selector-no-vendor-prefix": true,
|
|
135
|
-
"selector-not-notation": "complex",
|
|
136
|
-
"selector-pseudo-class-no-unknown": [
|
|
137
|
-
true,
|
|
138
|
-
{
|
|
139
|
-
ignorePseudoClasses: ["global"]
|
|
140
|
-
}
|
|
141
|
-
],
|
|
142
|
-
"selector-pseudo-element-colon-notation": "double",
|
|
143
|
-
"selector-pseudo-element-no-unknown": true,
|
|
144
|
-
"selector-type-case": "lower",
|
|
145
|
-
"selector-type-no-unknown": [
|
|
146
|
-
true,
|
|
147
|
-
{
|
|
148
|
-
ignore: ["custom-elements"]
|
|
149
|
-
}
|
|
150
|
-
],
|
|
151
|
-
"shorthand-property-no-redundant-values": true,
|
|
152
|
-
"string-no-newline": true,
|
|
153
|
-
"syntax-string-no-invalid": true,
|
|
154
|
-
"unit-no-unknown": true,
|
|
155
|
-
"value-keyword-case": "lower",
|
|
156
|
-
"value-no-vendor-prefix": true,
|
|
157
|
-
"defensive-css/no-accidental-hover": true,
|
|
158
|
-
"defensive-css/no-list-style-none": true,
|
|
159
|
-
"defensive-css/no-mixed-vendor-prefixes": true,
|
|
160
|
-
"defensive-css/no-unsafe-will-change": true,
|
|
161
|
-
"defensive-css/require-background-repeat": true,
|
|
162
|
-
"defensive-css/require-dynamic-viewport-height": true,
|
|
163
|
-
"defensive-css/require-flex-wrap": true,
|
|
164
|
-
"defensive-css/require-focus-visible": true,
|
|
165
|
-
"defensive-css/require-named-grid-lines": true,
|
|
166
|
-
"defensive-css/require-prefers-reduced-motion": true,
|
|
167
|
-
"gamut/color-no-out-gamut-range": true,
|
|
168
|
-
"logical-css/require-logical-keywords": true,
|
|
169
|
-
"logical-css/require-logical-properties": true,
|
|
170
|
-
"logical-css/require-logical-units": true,
|
|
171
|
-
"csstools/use-nesting": "always"
|
|
172
|
-
}
|
|
173
|
-
};
|
|
174
|
-
export {
|
|
175
|
-
index as default
|
|
1
|
+
var stylelint_config_default = {
|
|
2
|
+
extends: ["stylelint-config-recess-order"],
|
|
3
|
+
plugins: [
|
|
4
|
+
"stylelint-gamut",
|
|
5
|
+
"stylelint-plugin-defensive-css",
|
|
6
|
+
"stylelint-plugin-logical-css",
|
|
7
|
+
"stylelint-use-nesting"
|
|
8
|
+
],
|
|
9
|
+
rules: {
|
|
10
|
+
"alpha-value-notation": "percentage",
|
|
11
|
+
"annotation-no-unknown": true,
|
|
12
|
+
"at-rule-descriptor-no-unknown": true,
|
|
13
|
+
"at-rule-descriptor-value-no-unknown": true,
|
|
14
|
+
"at-rule-empty-line-before": ["always", { except: ["blockless-after-same-name-blockless", "first-nested"] }],
|
|
15
|
+
"at-rule-no-deprecated": true,
|
|
16
|
+
"at-rule-no-unknown": true,
|
|
17
|
+
"at-rule-no-vendor-prefix": true,
|
|
18
|
+
"at-rule-prelude-no-invalid": true,
|
|
19
|
+
"block-no-empty": true,
|
|
20
|
+
"block-no-redundant-nested-style-rules": true,
|
|
21
|
+
"color-function-notation": "modern",
|
|
22
|
+
"color-named": "never",
|
|
23
|
+
"color-no-hex": true,
|
|
24
|
+
"comment-empty-line-before": ["always", {
|
|
25
|
+
except: ["first-nested"],
|
|
26
|
+
ignore: ["stylelint-commands"]
|
|
27
|
+
}],
|
|
28
|
+
"comment-no-empty": true,
|
|
29
|
+
"comment-whitespace-inside": "always",
|
|
30
|
+
"custom-media-pattern": ["^([a-z][a-z0-9]*)(-[a-z0-9]+)*$", { message: (name) => `Expected custom media query name "${name}" to be kebab-case` }],
|
|
31
|
+
"custom-property-empty-line-before": "never",
|
|
32
|
+
"custom-property-no-missing-var-function": true,
|
|
33
|
+
"custom-property-pattern": ["^([a-z][a-z0-9]*)(-[a-z0-9]+)*$", { message: (name) => `Expected custom property name "${name}" to be kebab-case` }],
|
|
34
|
+
"declaration-block-no-duplicate-custom-properties": true,
|
|
35
|
+
"declaration-block-no-duplicate-properties": [true, { ignore: ["consecutive-duplicates-with-different-syntaxes"] }],
|
|
36
|
+
"declaration-block-no-redundant-longhand-properties": true,
|
|
37
|
+
"declaration-block-no-shorthand-property-overrides": true,
|
|
38
|
+
"declaration-block-single-line-max-declarations": 1,
|
|
39
|
+
"declaration-empty-line-before": "never",
|
|
40
|
+
"declaration-property-value-keyword-no-deprecated": true,
|
|
41
|
+
"declaration-property-value-no-unknown": true,
|
|
42
|
+
"font-family-name-quotes": "always-where-recommended",
|
|
43
|
+
"font-family-no-duplicate-names": true,
|
|
44
|
+
"font-family-no-missing-generic-family-keyword": true,
|
|
45
|
+
"font-weight-notation": "named-where-possible",
|
|
46
|
+
"function-calc-no-unspaced-operator": true,
|
|
47
|
+
"function-disallowed-list": [
|
|
48
|
+
"rgb",
|
|
49
|
+
"rgba",
|
|
50
|
+
"hsl",
|
|
51
|
+
"hsla"
|
|
52
|
+
],
|
|
53
|
+
"function-linear-gradient-no-nonstandard-direction": true,
|
|
54
|
+
"function-name-case": "lower",
|
|
55
|
+
"function-no-unknown": true,
|
|
56
|
+
"function-url-quotes": "always",
|
|
57
|
+
"hue-degree-notation": "angle",
|
|
58
|
+
"import-notation": "url",
|
|
59
|
+
"keyframe-block-no-duplicate-selectors": true,
|
|
60
|
+
"keyframe-declaration-no-important": true,
|
|
61
|
+
"keyframe-selector-notation": "percentage",
|
|
62
|
+
"keyframes-name-pattern": ["^([a-z][a-z0-9]*)(-[a-z0-9]+)*$", { message: (name) => `Expected keyframe name "${name}" to be kebab-case` }],
|
|
63
|
+
"length-zero-no-unit": [true, { ignore: ["custom-properties"] }],
|
|
64
|
+
"lightness-notation": "percentage",
|
|
65
|
+
"media-feature-name-no-unknown": true,
|
|
66
|
+
"media-feature-name-no-vendor-prefix": true,
|
|
67
|
+
"media-feature-name-value-no-unknown": true,
|
|
68
|
+
"media-feature-range-notation": "context",
|
|
69
|
+
"media-query-no-invalid": true,
|
|
70
|
+
"media-type-no-deprecated": true,
|
|
71
|
+
"named-grid-areas-no-invalid": true,
|
|
72
|
+
"nesting-selector-no-missing-scoping-root": true,
|
|
73
|
+
"no-descending-specificity": true,
|
|
74
|
+
"no-duplicate-at-import-rules": true,
|
|
75
|
+
"no-duplicate-selectors": true,
|
|
76
|
+
"no-invalid-double-slash-comments": true,
|
|
77
|
+
"no-invalid-position-at-import-rule": true,
|
|
78
|
+
"no-invalid-position-declaration": true,
|
|
79
|
+
"no-unknown-animations": true,
|
|
80
|
+
"no-unknown-custom-media": true,
|
|
81
|
+
"number-max-precision": 4,
|
|
82
|
+
"property-no-deprecated": true,
|
|
83
|
+
"property-no-unknown": true,
|
|
84
|
+
"property-no-vendor-prefix": true,
|
|
85
|
+
"rule-empty-line-before": ["always-multi-line", {
|
|
86
|
+
except: ["first-nested"],
|
|
87
|
+
ignore: ["after-comment"]
|
|
88
|
+
}],
|
|
89
|
+
"selector-anb-no-unmatchable": true,
|
|
90
|
+
"selector-attribute-quotes": "always",
|
|
91
|
+
"selector-class-pattern": ["^([a-z][a-z0-9]*)(-[a-z0-9]+)*$", { message: (selector) => `Expected class selector "${selector}" to be kebab-case` }],
|
|
92
|
+
"selector-id-pattern": ["^([a-z][a-z0-9]*)(-[a-z0-9]+)*$", { message: (selector) => `Expected id selector "${selector}" to be kebab-case` }],
|
|
93
|
+
"selector-no-vendor-prefix": true,
|
|
94
|
+
"selector-not-notation": "complex",
|
|
95
|
+
"selector-pseudo-class-no-unknown": [true, { ignorePseudoClasses: ["global"] }],
|
|
96
|
+
"selector-pseudo-element-colon-notation": "double",
|
|
97
|
+
"selector-pseudo-element-no-unknown": true,
|
|
98
|
+
"selector-type-case": "lower",
|
|
99
|
+
"selector-type-no-unknown": [true, { ignore: ["custom-elements"] }],
|
|
100
|
+
"shorthand-property-no-redundant-values": true,
|
|
101
|
+
"string-no-newline": true,
|
|
102
|
+
"syntax-string-no-invalid": true,
|
|
103
|
+
"unit-no-unknown": true,
|
|
104
|
+
"value-keyword-case": "lower",
|
|
105
|
+
"value-no-vendor-prefix": true,
|
|
106
|
+
"defensive-css/no-accidental-hover": true,
|
|
107
|
+
"defensive-css/no-list-style-none": true,
|
|
108
|
+
"defensive-css/no-mixed-vendor-prefixes": true,
|
|
109
|
+
"defensive-css/no-unsafe-will-change": true,
|
|
110
|
+
"defensive-css/require-background-repeat": true,
|
|
111
|
+
"defensive-css/require-dynamic-viewport-height": true,
|
|
112
|
+
"defensive-css/require-flex-wrap": true,
|
|
113
|
+
"defensive-css/require-focus-visible": true,
|
|
114
|
+
"defensive-css/require-named-grid-lines": true,
|
|
115
|
+
"defensive-css/require-prefers-reduced-motion": true,
|
|
116
|
+
"gamut/color-no-out-gamut-range": true,
|
|
117
|
+
"logical-css/require-logical-keywords": true,
|
|
118
|
+
"logical-css/require-logical-properties": true,
|
|
119
|
+
"logical-css/require-logical-units": true,
|
|
120
|
+
"csstools/use-nesting": "always"
|
|
121
|
+
}
|
|
176
122
|
};
|
|
123
|
+
export { stylelint_config_default as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azat-io/stylelint-config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "Stylelint shareable config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"stylelint",
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"./dist"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"stylelint-config-recess-order": "^7.
|
|
22
|
+
"stylelint-config-recess-order": "^7.7.0",
|
|
23
23
|
"stylelint-gamut": "^2.0.0",
|
|
24
|
-
"stylelint-order": "^
|
|
25
|
-
"stylelint-plugin-defensive-css": "^2.
|
|
24
|
+
"stylelint-order": "^8.1.1",
|
|
25
|
+
"stylelint-plugin-defensive-css": "^2.7.0",
|
|
26
26
|
"stylelint-plugin-logical-css": "^2.0.2",
|
|
27
27
|
"stylelint-use-nesting": "^6.0.2"
|
|
28
28
|
},
|
package/readme.md
CHANGED