4 ms·
What are some examples of linters / static analysis catching hallucinated solutions to problems? I feel like it would just yield a well-formatted, type safe in
by seattle_spring 10mo ago
What are some examples of linters / static analysis catching hallucinated solutions to problems?
I feel like it would just yield a well-formatted, type safe incorrect solution, which is no better than a tangled mess.
- steveklabnik 10mo agoA specific example: for some reason, when working on Playwright scripts, Claude really likes to inject await page.waitForLoadState('networkidle'); But this isn't good, and is not encouraged. So much so that there's an eslint that suggests removing it. This means that by running the linter, if Claude does decide to inject this, it gets taken out, because the linter runs and then tells it so.