We're all human and humans make mistakes.
You may not be perfect but you can make sure your code is by using linters. A tool will make sure that your code and everyone else in your team has code that reads the same.
Also have a look in google for your IDE and "lint". You should be able to find a good extension that will allow you to lint your files on save - or even live like SublimeLint. You might also like to take a look at Holmes
Post a Comment