A code formatter is tool which formats our code by given configuration like maintaining indentation, tabs vs space, number of arguments in line, trailing commas. A Linter is a tool which not only checks indentation, tailing commas but it also catch possible and common errors which we ignore or forget.