Prettier
- Category
- Frameworks and libraries
- Docs outline
- 12 sections
Official docs outline
prettier.io- Why Prettier
Benefits of opinionated formatting.
- Rationale
Design decisions on print width, quotes, and comments.
- Options
printWidth, tabWidth, semi, singleQuote, trailingComma and more.
- Configuration File
Config formats, overrides and EditorConfig.
- Ignoring Code
.prettierignore and prettier-ignore comments.
- CLI
--check, --write and file patterns.
- API
Programmatic format and check.
- Integrating with Linters
eslint-config-prettier and stylelint.
- Pre-commit Hook
lint-staged, husky and git hooks.
- Editors
Format on save in editors.
- Plugins
Adding languages and custom printers.
- Install and CI
Installing, pinning versions and CI usage.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.