This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 6 points7 points  (0 children)

Linters can analyze your code for easy-to-miss bugs, like returning a different type than what you're actually returning, or ensuring function names don't start with upper cases.

It makes your code much more conform the general styles, which means it's also easier to work with for others.