@html-eslint/eslint-plugin 0.52.0 → 0.52.1
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.
|
@@ -77,8 +77,12 @@ module.exports = {
|
|
|
77
77
|
let expected = node.openStart.value;
|
|
78
78
|
for (const attr of node.attributes) {
|
|
79
79
|
expected += `\n${attr.key.value}`;
|
|
80
|
-
if (attr.
|
|
81
|
-
|
|
80
|
+
if (attr.value) {
|
|
81
|
+
const startWrapper = attr.startWrapper
|
|
82
|
+
? attr.startWrapper.value
|
|
83
|
+
: "";
|
|
84
|
+
const endWrapper = attr.endWrapper ? attr.endWrapper.value : "";
|
|
85
|
+
expected += `=${startWrapper}${attr.value.value}${endWrapper}`;
|
|
82
86
|
}
|
|
83
87
|
}
|
|
84
88
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@html-eslint/eslint-plugin",
|
|
3
|
-
"version": "0.52.
|
|
3
|
+
"version": "0.52.1",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"description": "ESLint plugin for HTML",
|
|
6
6
|
"author": "yeonjuan",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"engines": {
|
|
60
60
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "58060f808873ccea4c08c4ff4ee229bb83dab112"
|
|
63
63
|
}
|