stylelint-config-silverwind 35.0.4 → 36.0.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.d.ts +3 -3
- package/dist/index.js +256 -301
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -27,14 +27,14 @@ declare const _default: {
|
|
|
27
27
|
"@stylistic/block-opening-brace-space-before": string;
|
|
28
28
|
"@stylistic/color-hex-case": null;
|
|
29
29
|
"@stylistic/declaration-bang-space-after": string;
|
|
30
|
-
"@stylistic/declaration-bang-space-before":
|
|
30
|
+
"@stylistic/declaration-bang-space-before": string;
|
|
31
31
|
"@stylistic/declaration-block-semicolon-newline-after": null;
|
|
32
32
|
"@stylistic/declaration-block-semicolon-newline-before": null;
|
|
33
33
|
"@stylistic/declaration-block-semicolon-space-after": null;
|
|
34
34
|
"@stylistic/declaration-block-semicolon-space-before": string;
|
|
35
35
|
"@stylistic/declaration-block-trailing-semicolon": null;
|
|
36
36
|
"@stylistic/declaration-colon-newline-after": null;
|
|
37
|
-
"@stylistic/declaration-colon-space-after":
|
|
37
|
+
"@stylistic/declaration-colon-space-after": string;
|
|
38
38
|
"@stylistic/declaration-colon-space-before": string;
|
|
39
39
|
"@stylistic/function-comma-newline-after": null;
|
|
40
40
|
"@stylistic/function-comma-newline-before": null;
|
|
@@ -71,7 +71,7 @@ declare const _default: {
|
|
|
71
71
|
"@stylistic/selector-attribute-operator-space-before": null;
|
|
72
72
|
"@stylistic/selector-combinator-space-after": null;
|
|
73
73
|
"@stylistic/selector-combinator-space-before": null;
|
|
74
|
-
"@stylistic/selector-descendant-combinator-no-non-space":
|
|
74
|
+
"@stylistic/selector-descendant-combinator-no-non-space": boolean;
|
|
75
75
|
"@stylistic/selector-list-comma-newline-after": null;
|
|
76
76
|
"@stylistic/selector-list-comma-newline-before": null;
|
|
77
77
|
"@stylistic/selector-list-comma-space-after": string;
|
package/dist/index.js
CHANGED
|
@@ -997,315 +997,270 @@ const { utils: io } = stylelint, ao = { url: "https://github.com/AndyOGo/styleli
|
|
|
997
997
|
};
|
|
998
998
|
ho.primaryOptionArray = true, ho.ruleName = Dr, ho.messages = lo, ho.meta = ao;
|
|
999
999
|
const vo = stylelint.createPlugin(Dr, ho);
|
|
1000
|
-
function
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
hasRequiredMatchesStringOrRegExp = 1;
|
|
1009
|
-
matchesStringOrRegExp$1 = function matchesStringOrRegExp2(input2, comparison) {
|
|
1010
|
-
if (!Array.isArray(input2)) {
|
|
1011
|
-
return testAgainstStringOrArray(input2, comparison);
|
|
1012
|
-
}
|
|
1013
|
-
for (const inputItem of input2) {
|
|
1014
|
-
const testResult = testAgainstStringOrArray(inputItem, comparison);
|
|
1015
|
-
if (testResult) {
|
|
1016
|
-
return testResult;
|
|
1017
|
-
}
|
|
1018
|
-
}
|
|
1019
|
-
return false;
|
|
1020
|
-
};
|
|
1021
|
-
function testAgainstStringOrArray(value, comparison) {
|
|
1022
|
-
if (!Array.isArray(comparison)) {
|
|
1023
|
-
return testAgainstString(value, comparison);
|
|
1000
|
+
function matchesStringOrRegExp$1(input2, comparison) {
|
|
1001
|
+
if (!Array.isArray(input2)) {
|
|
1002
|
+
return testAgainstStringOrArray(input2, comparison);
|
|
1003
|
+
}
|
|
1004
|
+
for (const inputItem of input2) {
|
|
1005
|
+
const testResult = testAgainstStringOrArray(inputItem, comparison);
|
|
1006
|
+
if (testResult) {
|
|
1007
|
+
return testResult;
|
|
1024
1008
|
}
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1009
|
+
}
|
|
1010
|
+
return false;
|
|
1011
|
+
}
|
|
1012
|
+
function testAgainstStringOrArray(value, comparison) {
|
|
1013
|
+
if (!Array.isArray(comparison)) {
|
|
1014
|
+
return testAgainstString(value, comparison);
|
|
1015
|
+
}
|
|
1016
|
+
for (const comparisonItem of comparison) {
|
|
1017
|
+
const testResult = testAgainstString(value, comparisonItem);
|
|
1018
|
+
if (testResult) {
|
|
1019
|
+
return testResult;
|
|
1030
1020
|
}
|
|
1031
|
-
return false;
|
|
1032
1021
|
}
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
return
|
|
1044
|
-
}
|
|
1045
|
-
return
|
|
1046
|
-
}
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
*/
|
|
1064
|
-
prefix(prop) {
|
|
1065
|
-
const match = prop.match(/^(-\w+-)/);
|
|
1066
|
-
if (match) {
|
|
1067
|
-
return match[0];
|
|
1068
|
-
}
|
|
1069
|
-
return "";
|
|
1070
|
-
},
|
|
1071
|
-
/**
|
|
1072
|
-
* Returns the input string stripped of its vendor prefix.
|
|
1073
|
-
*
|
|
1074
|
-
* @param {string} prop String with or without vendor prefix.
|
|
1075
|
-
*
|
|
1076
|
-
* @return {string} String name without vendor prefixes.
|
|
1077
|
-
*
|
|
1078
|
-
* @example
|
|
1079
|
-
* vendorPrefixes.unprefixed('-moz-tab-size') //=> 'tab-size'
|
|
1080
|
-
*/
|
|
1081
|
-
unprefixed(prop) {
|
|
1082
|
-
return prop.replace(/^-\w+-/, "");
|
|
1022
|
+
return false;
|
|
1023
|
+
}
|
|
1024
|
+
function testAgainstString(value, comparison) {
|
|
1025
|
+
const firstComparisonChar = comparison[0];
|
|
1026
|
+
const lastComparisonChar = comparison[comparison.length - 1];
|
|
1027
|
+
const secondToLastComparisonChar = comparison[comparison.length - 2];
|
|
1028
|
+
const comparisonIsRegex = firstComparisonChar === "/" && (lastComparisonChar === "/" || secondToLastComparisonChar === "/" && lastComparisonChar === "i");
|
|
1029
|
+
const hasCaseInsensitiveFlag = comparisonIsRegex && lastComparisonChar === "i";
|
|
1030
|
+
if (comparisonIsRegex) {
|
|
1031
|
+
const valueMatches = hasCaseInsensitiveFlag ? new RegExp(comparison.slice(1, -2), "i").test(value) : new RegExp(comparison.slice(1, -1)).test(value);
|
|
1032
|
+
return valueMatches ? { match: value, pattern: comparison } : false;
|
|
1033
|
+
}
|
|
1034
|
+
return value === comparison ? { match: value, pattern: comparison } : false;
|
|
1035
|
+
}
|
|
1036
|
+
const vendorPrefixes = {
|
|
1037
|
+
/**
|
|
1038
|
+
* Returns the vendor prefix extracted from an input string.
|
|
1039
|
+
*
|
|
1040
|
+
* @param {string} prop String with or without vendor prefix.
|
|
1041
|
+
*
|
|
1042
|
+
* @return {string} vendor prefix or empty string
|
|
1043
|
+
*
|
|
1044
|
+
* @example
|
|
1045
|
+
* vendorPrefixes.prefix('-moz-tab-size') //=> '-moz-'
|
|
1046
|
+
* vendorPrefixes.prefix('tab-size') //=> ''
|
|
1047
|
+
*/
|
|
1048
|
+
prefix(prop) {
|
|
1049
|
+
const match = prop.match(/^(-\w+-)/);
|
|
1050
|
+
if (match) {
|
|
1051
|
+
return match[0];
|
|
1083
1052
|
}
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
{
|
|
1251
|
-
property: "overflow",
|
|
1252
|
-
value: "visible",
|
|
1253
|
-
ignoredProperties: ["resize"]
|
|
1053
|
+
return "";
|
|
1054
|
+
},
|
|
1055
|
+
/**
|
|
1056
|
+
* Returns the input string stripped of its vendor prefix.
|
|
1057
|
+
*
|
|
1058
|
+
* @param {string} prop String with or without vendor prefix.
|
|
1059
|
+
*
|
|
1060
|
+
* @return {string} String name without vendor prefixes.
|
|
1061
|
+
*
|
|
1062
|
+
* @example
|
|
1063
|
+
* vendorPrefixes.unprefixed('-moz-tab-size') //=> 'tab-size'
|
|
1064
|
+
*/
|
|
1065
|
+
unprefixed(prop) {
|
|
1066
|
+
return prop.replace(/^-\w+-/, "");
|
|
1067
|
+
}
|
|
1068
|
+
};
|
|
1069
|
+
const report$Y = stylelint.utils.report;
|
|
1070
|
+
const ruleMessages$1d = stylelint.utils.ruleMessages;
|
|
1071
|
+
const validateOptions$1d = stylelint.utils.validateOptions;
|
|
1072
|
+
const ruleName$1e = "plugin/declaration-block-no-ignored-properties";
|
|
1073
|
+
const messages$1e = ruleMessages$1d(ruleName$1e, {
|
|
1074
|
+
rejected: (ignore, cause) => `Unexpected "${ignore}" with "${cause}"`
|
|
1075
|
+
});
|
|
1076
|
+
const ignored = [
|
|
1077
|
+
{
|
|
1078
|
+
property: "display",
|
|
1079
|
+
value: "inline",
|
|
1080
|
+
ignoredProperties: [
|
|
1081
|
+
"width",
|
|
1082
|
+
"min-width",
|
|
1083
|
+
"max-width",
|
|
1084
|
+
"height",
|
|
1085
|
+
"min-height",
|
|
1086
|
+
"max-height",
|
|
1087
|
+
"margin",
|
|
1088
|
+
"margin-top",
|
|
1089
|
+
"margin-bottom",
|
|
1090
|
+
"overflow",
|
|
1091
|
+
"overflow-x",
|
|
1092
|
+
"overflow-y",
|
|
1093
|
+
"inline-size",
|
|
1094
|
+
"min-inline-size",
|
|
1095
|
+
"max-inline-size",
|
|
1096
|
+
"block-size",
|
|
1097
|
+
"min-block-size",
|
|
1098
|
+
"max-block-size",
|
|
1099
|
+
"margin-block-start",
|
|
1100
|
+
"margin-block-end",
|
|
1101
|
+
"overflow-block",
|
|
1102
|
+
"overflow-inline"
|
|
1103
|
+
]
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
property: "display",
|
|
1107
|
+
value: "list-item",
|
|
1108
|
+
ignoredProperties: ["vertical-align"]
|
|
1109
|
+
},
|
|
1110
|
+
{
|
|
1111
|
+
property: "display",
|
|
1112
|
+
value: "block",
|
|
1113
|
+
ignoredProperties: ["vertical-align"]
|
|
1114
|
+
},
|
|
1115
|
+
{ property: "display", value: "flex", ignoredProperties: ["vertical-align"] },
|
|
1116
|
+
{
|
|
1117
|
+
property: "display",
|
|
1118
|
+
value: "table",
|
|
1119
|
+
ignoredProperties: ["vertical-align"]
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
property: "display",
|
|
1123
|
+
value: "/^table-(row|row-group|column|column-group|header-group|footer-group|cell)$/",
|
|
1124
|
+
ignoredProperties: [
|
|
1125
|
+
"margin",
|
|
1126
|
+
"margin-top",
|
|
1127
|
+
"margin-right",
|
|
1128
|
+
"margin-bottom",
|
|
1129
|
+
"margin-left",
|
|
1130
|
+
"margin-block-start",
|
|
1131
|
+
"margin-inline-end",
|
|
1132
|
+
"margin-block-end",
|
|
1133
|
+
"margin-inline-start"
|
|
1134
|
+
]
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
property: "display",
|
|
1138
|
+
value: "/^table-(row|row-group|column|column-group|header-group|footer-group)$/",
|
|
1139
|
+
ignoredProperties: [
|
|
1140
|
+
"padding",
|
|
1141
|
+
"padding-top",
|
|
1142
|
+
"padding-right",
|
|
1143
|
+
"padding-bottom",
|
|
1144
|
+
"padding-left",
|
|
1145
|
+
"padding-block-start",
|
|
1146
|
+
"padding-inline-end",
|
|
1147
|
+
"padding-block-end",
|
|
1148
|
+
"padding-inline-start"
|
|
1149
|
+
]
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
property: "display",
|
|
1153
|
+
value: "/^table-(row|row-group|column|column-group|header-group|footer-group|caption)$/",
|
|
1154
|
+
ignoredProperties: ["vertical-align"]
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
property: "display",
|
|
1158
|
+
value: "/^table-(row|row-group)$/",
|
|
1159
|
+
ignoredProperties: [
|
|
1160
|
+
"width",
|
|
1161
|
+
"min-width",
|
|
1162
|
+
"max-width",
|
|
1163
|
+
"inline-size",
|
|
1164
|
+
"min-inline-size",
|
|
1165
|
+
"max-inline-size"
|
|
1166
|
+
]
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
property: "display",
|
|
1170
|
+
value: "/^table-(column|column-group)$/",
|
|
1171
|
+
ignoredProperties: [
|
|
1172
|
+
"height",
|
|
1173
|
+
"min-height",
|
|
1174
|
+
"max-height",
|
|
1175
|
+
"block-size",
|
|
1176
|
+
"min-block-size",
|
|
1177
|
+
"max-block-size"
|
|
1178
|
+
]
|
|
1179
|
+
},
|
|
1180
|
+
{ property: "float", value: "left", ignoredProperties: ["vertical-align"] },
|
|
1181
|
+
{ property: "float", value: "right", ignoredProperties: ["vertical-align"] },
|
|
1182
|
+
{
|
|
1183
|
+
property: "position",
|
|
1184
|
+
value: "static",
|
|
1185
|
+
ignoredProperties: [
|
|
1186
|
+
"top",
|
|
1187
|
+
"right",
|
|
1188
|
+
"bottom",
|
|
1189
|
+
"left",
|
|
1190
|
+
"z-index",
|
|
1191
|
+
"inset-block-start",
|
|
1192
|
+
"inset-inline-end",
|
|
1193
|
+
"inset-block-end",
|
|
1194
|
+
"inset-inline-start"
|
|
1195
|
+
]
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
property: "position",
|
|
1199
|
+
value: "absolute",
|
|
1200
|
+
ignoredProperties: ["float", "clear", "vertical-align"]
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
property: "position",
|
|
1204
|
+
value: "fixed",
|
|
1205
|
+
ignoredProperties: ["float", "clear", "vertical-align"]
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
property: "list-style-type",
|
|
1209
|
+
value: "none",
|
|
1210
|
+
ignoredProperties: ["list-style-image"]
|
|
1211
|
+
},
|
|
1212
|
+
{ property: "overflow", value: "visible", ignoredProperties: ["resize"] }
|
|
1213
|
+
];
|
|
1214
|
+
const rule$1f = (actual) => {
|
|
1215
|
+
return (root2, result2) => {
|
|
1216
|
+
const validOptions = validateOptions$1d(result2, ruleName$1e, { actual });
|
|
1217
|
+
if (!validOptions) {
|
|
1218
|
+
return;
|
|
1254
1219
|
}
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
const
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
const
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
);
|
|
1281
|
-
if (!matchProperty || !matchValue) {
|
|
1220
|
+
root2.walkRules((rule$) => {
|
|
1221
|
+
const uniqueDecls = {};
|
|
1222
|
+
rule$.walkDecls((decl) => {
|
|
1223
|
+
uniqueDecls[decl.prop] = decl;
|
|
1224
|
+
});
|
|
1225
|
+
function check(prop, index2) {
|
|
1226
|
+
const decl = uniqueDecls[prop];
|
|
1227
|
+
const value = decl.value;
|
|
1228
|
+
const unprefixedProp = vendorPrefixes.unprefixed(prop);
|
|
1229
|
+
const unprefixedValue = vendorPrefixes.unprefixed(value);
|
|
1230
|
+
ignored.forEach((ignore) => {
|
|
1231
|
+
const matchProperty = matchesStringOrRegExp$1(
|
|
1232
|
+
unprefixedProp.toLowerCase(),
|
|
1233
|
+
ignore.property
|
|
1234
|
+
);
|
|
1235
|
+
const matchValue = matchesStringOrRegExp$1(
|
|
1236
|
+
unprefixedValue.toLowerCase(),
|
|
1237
|
+
ignore.value
|
|
1238
|
+
);
|
|
1239
|
+
if (!matchProperty || !matchValue) {
|
|
1240
|
+
return;
|
|
1241
|
+
}
|
|
1242
|
+
const ignoredProperties = ignore.ignoredProperties;
|
|
1243
|
+
decl.parent.nodes.forEach((node2, nodeIndex) => {
|
|
1244
|
+
if (!node2.prop || ignoredProperties.indexOf(node2.prop.toLowerCase()) === -1 || index2 === nodeIndex) {
|
|
1282
1245
|
return;
|
|
1283
1246
|
}
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
report2({
|
|
1290
|
-
message: messages2.rejected(node2.prop, decl.toString()),
|
|
1291
|
-
node: node2,
|
|
1292
|
-
result: result2,
|
|
1293
|
-
ruleName: ruleName2
|
|
1294
|
-
});
|
|
1247
|
+
report$Y({
|
|
1248
|
+
message: messages$1e.rejected(node2.prop, decl.toString()),
|
|
1249
|
+
node: node2,
|
|
1250
|
+
result: result2,
|
|
1251
|
+
ruleName: ruleName$1e
|
|
1295
1252
|
});
|
|
1296
1253
|
});
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
};
|
|
1254
|
+
});
|
|
1255
|
+
}
|
|
1256
|
+
Object.keys(uniqueDecls).forEach(check);
|
|
1257
|
+
});
|
|
1301
1258
|
};
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
return
|
|
1259
|
+
};
|
|
1260
|
+
const declarationBlockNoIgnoredProperties = stylelint.createPlugin(ruleName$1e, rule$1f);
|
|
1261
|
+
function getDefaultExportFromCjs(x2) {
|
|
1262
|
+
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
1306
1263
|
}
|
|
1307
|
-
var stylelintDeclarationBlockNoIgnoredPropertiesExports = requireStylelintDeclarationBlockNoIgnoredProperties();
|
|
1308
|
-
const declarationBlockNoIgnoredProperties = /* @__PURE__ */ getDefaultExportFromCjs(stylelintDeclarationBlockNoIgnoredPropertiesExports);
|
|
1309
1264
|
var picocolors = { exports: {} };
|
|
1310
1265
|
var hasRequiredPicocolors;
|
|
1311
1266
|
function requirePicocolors() {
|
|
@@ -14420,14 +14375,14 @@ const index$1d = {
|
|
|
14420
14375
|
"@stylistic/block-opening-brace-space-before": "always-multi-line",
|
|
14421
14376
|
"@stylistic/color-hex-case": null,
|
|
14422
14377
|
"@stylistic/declaration-bang-space-after": "never",
|
|
14423
|
-
"@stylistic/declaration-bang-space-before":
|
|
14378
|
+
"@stylistic/declaration-bang-space-before": "always",
|
|
14424
14379
|
"@stylistic/declaration-block-semicolon-newline-after": null,
|
|
14425
14380
|
"@stylistic/declaration-block-semicolon-newline-before": null,
|
|
14426
14381
|
"@stylistic/declaration-block-semicolon-space-after": null,
|
|
14427
14382
|
"@stylistic/declaration-block-semicolon-space-before": "never",
|
|
14428
14383
|
"@stylistic/declaration-block-trailing-semicolon": null,
|
|
14429
14384
|
"@stylistic/declaration-colon-newline-after": null,
|
|
14430
|
-
"@stylistic/declaration-colon-space-after":
|
|
14385
|
+
"@stylistic/declaration-colon-space-after": "always",
|
|
14431
14386
|
"@stylistic/declaration-colon-space-before": "never",
|
|
14432
14387
|
"@stylistic/function-comma-newline-after": null,
|
|
14433
14388
|
"@stylistic/function-comma-newline-before": null,
|
|
@@ -14464,7 +14419,7 @@ const index$1d = {
|
|
|
14464
14419
|
"@stylistic/selector-attribute-operator-space-before": null,
|
|
14465
14420
|
"@stylistic/selector-combinator-space-after": null,
|
|
14466
14421
|
"@stylistic/selector-combinator-space-before": null,
|
|
14467
|
-
"@stylistic/selector-descendant-combinator-no-non-space":
|
|
14422
|
+
"@stylistic/selector-descendant-combinator-no-non-space": true,
|
|
14468
14423
|
"@stylistic/selector-list-comma-newline-after": null,
|
|
14469
14424
|
"@stylistic/selector-list-comma-newline-before": null,
|
|
14470
14425
|
"@stylistic/selector-list-comma-space-after": "always-single-line",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stylelint-config-silverwind",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "36.0.0",
|
|
4
4
|
"description": "Extensive stylelint configuration",
|
|
5
5
|
"author": "silverwind <me@silverwind.io>",
|
|
6
6
|
"repository": "silverwind/stylelint-config-silverwind",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"eslint": "9.39.2",
|
|
27
27
|
"eslint-config-silverwind": "118.0.0",
|
|
28
28
|
"stylelint": "17.0.0",
|
|
29
|
-
"stylelint-declaration-block-no-ignored-properties": "
|
|
29
|
+
"stylelint-declaration-block-no-ignored-properties": "3.0.0",
|
|
30
30
|
"stylelint-declaration-strict-value": "1.10.11",
|
|
31
31
|
"stylelint-value-no-unknown-custom-properties": "6.1.1",
|
|
32
32
|
"typescript": "5.9.3",
|