@html-eslint/eslint-plugin 0.33.0 → 0.33.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.
|
@@ -246,14 +246,14 @@ module.exports = {
|
|
|
246
246
|
* @param {NewlineNode} node
|
|
247
247
|
*/
|
|
248
248
|
function isNotNewlineEnd(node) {
|
|
249
|
-
return node.type !== `Text` ||
|
|
249
|
+
return node.type !== `Text` || /(\n|\r\n)\s*$/.test(node.value) === false;
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
/**
|
|
253
253
|
* @param {NewlineNode} node
|
|
254
254
|
*/
|
|
255
255
|
function isNotNewlineStart(node) {
|
|
256
|
-
return node.type !== `Text` ||
|
|
256
|
+
return node.type !== `Text` || /^(\n|\r\n)/.test(node.value) === false;
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@html-eslint/eslint-plugin",
|
|
3
|
-
"version": "0.33.
|
|
3
|
+
"version": "0.33.1",
|
|
4
4
|
"description": "ESLint plugin for html",
|
|
5
5
|
"author": "yeonjuan",
|
|
6
6
|
"homepage": "https://github.com/yeonjuan/html-eslint#readme",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"espree": "^10.3.0",
|
|
56
56
|
"typescript": "^5.7.2"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "808869fd592b2e773afef1cad2f2fc998221f0c4"
|
|
59
59
|
}
|