eslint-plugin-unslop 0.7.1 → 0.7.2

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.1",
40
+ version: "0.7.2",
41
41
  description: "ESLint plugin with rules for reducing AI-generated code smells",
42
42
  repository: {
43
43
  type: "git",
@@ -1268,6 +1268,7 @@ function walkIds(node, ids, skip) {
1268
1268
  if (!t) return;
1269
1269
  if (t === "Identifier") {
1270
1270
  addIdentifier(node, ids, skip);
1271
+ walkIds(prop(node, "typeAnnotation"), ids, skip);
1271
1272
  return;
1272
1273
  }
1273
1274
  if (t === "Literal" || t === "TemplateLiteral") return;