prettier
Installation
SKILL.md
Prettier
Prettier ended the "Style Wars". It accepts your code and reprints it with its own rules. v3.x runs as ESM and supports plugins.
When to Use
- Always: Every project should have a formatter.
- Collaborating: Eliminates "nitpick" comments in PRs about whitespace.
Core Concepts
Opinionated
Few options. Print width, tab width, semi, quotes. That's it.
Editor Integration
"Format on Save".