DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to find doc comments that contradict their TypeScript code with Jev Lint

Flag functions whose comments promise behaviour the body does not deliver.

Short answer: export TYPESAFE_API_KEY=; then npx -y jev-lint check examples; npx jev-lint check src --dry-run. All steps.

Who it is forA TypeScript developer whose doc comments and return types have drifted from the implementation after refactors, and whom the compiler and ESLint do not warn about.

The problemComments such as 'returns null when not found' stay in place while the body throws, and nothing in the toolchain reports the mismatch.

The outcomeA list of findings with a probability score and cutoff for each suspect block, which you review and fix by hand.

What you need first

  • Node 24 or newer with npx
  • A TYPESAFE_API_KEY from https://typesafe.ai, set in the environment (the code being judged is sent to the API)
  • A repository with code to lint, such as a TypeScript src folder

Steps

  1. export TYPESAFE_API_KEY=...
  2. npx -y jev-lint check examples
  3. npx jev-lint check src --dry-run
  4. npx jev-lint check src

Prompt for your agent

In the repository <repo-path>, set TYPESAFE_API_KEY, run `npx jev-lint check src --dry-run` to see the planned requests and price, then run `npx jev-lint check src`. Report each finding with file, line, rule id and score, and do not edit code until a human confirms the finding is real.

Caveat. Findings are candidates, not verdicts: the README reports about one in five was wrong on this repository, so each one needs a human check.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for mizchi/jev-lint and "Find doc comments that contradict their TypeScript code"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer