4 ms·
Yep, this is in our ESLint config: "semi": [2, "never"], // Disallow semicolons "no-unexpected-multiline": 2, // Prevent edge cases caused by excluding
by kevan 11y ago
Yep, this is in our ESLint config:
"semi": [2, "never"], // Disallow semicolons
"no-unexpected-multiline": 2, // Prevent edge cases caused by excluding semicolons.
And I haven't thought about it since. I'd expect an article like this 5 years ago, but it feels like bikeshedding at this point. If you choose to not use semicolons then add lint rules to protect against the edge cases and stop wasting brainpower on it.