Hacker News new | ask | show | jobs
by herpdyderp 94 days ago
I keep seeing this and wondering if the ESLint default rules against weird characters would catch this? But I can’t figure out how to check.
1 comments

Appears not to. https://claude.ai/share/ac070cf5-0034-4f3c-9a8c-1c43a58eea36

Claude’s analysis seems solid here based on reading the snippets it tested.

A purpose-built linter could be cross-language, it’s pretty reasonable to blanket ban these characters entirely, or at least allowlist them.