logoalt Hacker News

synctoday at 2:18 PM1 replyview on HN

I tried it on my codebase. There's a lot of overlap with tools like Oxlint / ESLint, I'm not sure that's too valuable vs. a more focused tool that actually focuses solely on 'slop' signals. These lint rules tend to get very opinionated which is why those tools expose so many configuration options.

One real bug tho:

> [ERROR] Imports "mdast" but it's not declared in package.json

A type-only import like `import type { Blockquote, RootContent } from 'mdast';` is actually acceptable if `"@types/mdast": "^4.0.4"` is included in the package.json.


Replies

Heavykennytoday at 2:25 PM

thanks for this catch, really appreciate. Can you create an issue on GitHub so you can easily track when I resolve this?