@html-eslint/eslint-plugin 0.38.0 → 0.38.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.
@@ -227,7 +227,7 @@ module.exports = {
227
227
  )
228
228
  ) {
229
229
  context.report({
230
- node: attribute.key,
230
+ node: attribute.value,
231
231
  messageId: MESSAGE_IDS.NOT_BASELINE_ELEMENT_ATTRIBUTE,
232
232
  data: {
233
233
  element: `<${elementName}>`,
@@ -242,7 +242,7 @@ module.exports = {
242
242
  )
243
243
  ) {
244
244
  context.report({
245
- node: attribute,
245
+ node: attribute.value,
246
246
  messageId: MESSAGE_IDS.NOT_BASELINE_GLOBAL_ATTRIBUTE,
247
247
  data: {
248
248
  attr: `${attribute.key.value}="${attribute.value.value}"`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@html-eslint/eslint-plugin",
3
- "version": "0.38.0",
3
+ "version": "0.38.1",
4
4
  "description": "ESLint plugin for html",
5
5
  "author": "yeonjuan",
6
6
  "homepage": "https://github.com/yeonjuan/html-eslint#readme",
@@ -50,5 +50,5 @@
50
50
  "espree": "^10.3.0",
51
51
  "typescript": "^5.7.2"
52
52
  },
53
- "gitHead": "a5d65ce4f4a59ac2d631486258584b59ffe27e26"
53
+ "gitHead": "501ee2415f685bada6b4a967e0e7e72f605b403c"
54
54
  }