DEV Community

Discussion on: What you need to know about Javascript's Automatic Semi-colon Insertion

Collapse
 
nsatragno profile image
Nina Satragno

Or you can save yourself the trouble and hidden bugs in the future and use semicolons everywhere :) Remember, you may know all the rules by heart but the next junior programmer may not.

eslint has a handy "semi": "error" rule you can enable to nag you about missing semicolons.