@sir_pepe I went to check how my IDE handles it, and it catches it as an error (empty `if` branch), which is what I expected. But I got fooled with the screenshot at first.
@sir_pepe Yes, I know it's valid JS. But it got me thinking about how realistic it is to smuggle such a thing to a codebase. In my case, Prettier additionally moved it to separate lines.
@Krazov I've seen enough monstrous JS codebases with zero modern tooling, especially in enterprise contexts. If this looks like it's hard to smuggle in, that's just a skill issue in the target selection department 🙃