It's not an IDE that errors anything, it's linters. And VSCode comes with ESLint which gives a warning for var usage with default rules, so idk what you're talking about.
protip: edit the config to only warn (or even disable) some stuff while writing (whitespace stuff mostly), and fix all of them at once before deployment. saved me a ton of nerves
33
u/[deleted] May 28 '19
VSCode masterrace but WebStorm is right here. (Modern) JS shouldn't use var when not explicitly needed.