Yeri's Digital Note

Clearing confusion: Prettier vs Linters

December 05, 2018

Prettier is like a set of rules for linter (e.g. eslint or tslint), but instead of being a “shareable config”, it is a separate tool and can be used independently without linter. It have similar features with linters, it checks your source code, and automatically “fix” any formatting problems. That being said, prettier can also being used alongside linter. In fact, prettier also put a guide on how to integrate it with eslint in their docs.

Written by Yeri