Linters: Tools that can help you ship code faster

What is a linter?


In computer programming, Lint or a Linter is any tool that flags suspicious usage in software written in any computer language.  – Wiki


Where I can find linters?


Nowadays, we have linters for almost every programming language, as well as for markup languages like HTML or even stylesheets. Basically, you can assume that any code that can be interpreted by a computer can be linted.


Here are some of the linters that I use every day (ATOM IDE) :


OK, but how will linters make me a better developer?


  • Linters simple syntax checking, so you don’t have to waste time searching for that one missing semicolon.
  • You forgot the code (for example: conditional statement) for a specific language, don’t worry. linter got your back.
  • Automates building of syntax for you.


That sounds great, but how can I use them?


There are a few ways to use linters – in an editor, as a standalone service or inside tests. The decision is yours. Personally, I use Atom as my editor and linters usually work out-of-the-box with it. But there are no obstacles to using them with your favourite editor (there are packages for Vim, Sublime Text, Notepad++ and many, many more).




If you’re not using linters yet, perhaps now is the time to start? Or maybe you’re still not convinced? You can try them live with JavaScript, without installing anything:


Happy coding!