And auto formatters will add them for you so you don't get semicolon bugs. Shit like that is the whole purpose of linters - preemptively avoid common patterns which cause bugs.
I believe an auto formatter shouldn't ever modify the code you tell it to format. Sure, add a close bracket for me when I make an open bracket, but if I tell my IDE to format a block of code it shouldn't change it.
124
u/ythl Sep 23 '19
I don't get it.
Your code should never have warnings, that's a sign you are doing something sketchy. At my company we enable all warnings as errors.