Comment

Comment by WesolyKubeczek

Then the author should have made their case with a more suitable example. I bet they could have found cases with something that's absolutely not a guard clause in a disguise getting converted into a guard clause proper.

Unless they couldn't, and the linter does a good job. ;-)

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton