@html-eslint/eslint-plugin 0.28.0-alpha.3 → 0.29.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.
@@ -136,7 +136,7 @@ module.exports = {
136
136
  check(
137
137
  lines,
138
138
  // @ts-ignore
139
- node.quasi.loc.start.line,
139
+ node.loc.start.line,
140
140
  getTemplateTokens(tokens)
141
141
  );
142
142
  }
@@ -53,7 +53,7 @@ function isNodeTokensOnSameLine(node) {
53
53
  * @returns {boolean}
54
54
  */
55
55
  function isRangesOverlap(rangeA, rangeB) {
56
- return rangeA[0] < rangeB[1] && rangeB[0] < rangeB[1];
56
+ return rangeA[0] < rangeB[1] && rangeB[0] < rangeA[1];
57
57
  }
58
58
 
59
59
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@html-eslint/eslint-plugin",
3
- "version": "0.28.0-alpha.3",
3
+ "version": "0.29.0",
4
4
  "description": "ESLint plugin for html",
5
5
  "author": "yeonjuan",
6
6
  "homepage": "https://github.com/yeonjuan/html-eslint#readme",
@@ -45,16 +45,15 @@
45
45
  "accessibility"
46
46
  ],
47
47
  "dependencies": {
48
- "@html-eslint/template-parser": "^0.28.0-alpha.3"
48
+ "@html-eslint/template-parser": "^0.29.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@html-eslint/parser": "^0.28.0-alpha.3",
52
- "@html-eslint/template-parser": "^0.27.0",
51
+ "@html-eslint/parser": "^0.29.0",
53
52
  "@types/eslint": "^9.6.1",
54
53
  "@types/estree": "^0.0.47",
55
54
  "es-html-parser": "^1.0.0-alpha.4",
56
55
  "espree": "^10.3.0",
57
56
  "typescript": "^5.7.2"
58
57
  },
59
- "gitHead": "f94af0cb0051ad0fee168721e1be457dc7475535"
58
+ "gitHead": "e8908db01b8bd4a682227a2144c0dd5588fc347e"
60
59
  }