@swiftwc/eslint-plugin 1.1.0 → 1.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swiftwc/eslint-plugin",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Rules enforcing best practices while using SwiftWC.",
5
5
  "keywords": [
6
6
  "eslint",
package/src/emberjs/en.ts CHANGED
@@ -16,8 +16,7 @@ swiftwc.rules['allowed-tags'].create = (context: Readonly<RuleContext<string, re
16
16
  const allowedParents = RULES[tag]
17
17
  if (!allowedParents) return // 👈 ignore unknown tags completely
18
18
 
19
- // @ts-expect-error
20
- validate(tag, (item) => item.tag, allowedParents, context, node)
19
+ validate(tag, (item) => item.parent, allowedParents, context, node)
21
20
  },
22
21
  }
23
22
  }