eslint-plugin-unslop 0.7.0 → 0.7.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/dist/index.cjs CHANGED
@@ -37,7 +37,7 @@ module.exports = __toCommonJS(index_exports);
37
37
  // package.json
38
38
  var package_default = {
39
39
  name: "eslint-plugin-unslop",
40
- version: "0.7.0",
40
+ version: "0.7.1",
41
41
  description: "ESLint plugin with rules for reducing AI-generated code smells",
42
42
  repository: {
43
43
  type: "git",
@@ -1299,6 +1299,7 @@ function walkMemberIds(node, ids, skip) {
1299
1299
  function walkPropertyIds(node, ids, skip) {
1300
1300
  if (prop(node, "computed")) walkIds(prop(node, "key"), ids, skip);
1301
1301
  walkIds(prop(node, "value"), ids, skip);
1302
+ walkIds(prop(node, "typeAnnotation"), ids, skip);
1302
1303
  }
1303
1304
  function isPropertyLike(t) {
1304
1305
  return t === "Property" || t === "MethodDefinition" || t === "PropertyDefinition";