Prettier

Prettier

  • Playground
  • About
  • Usage
  • Blog
  • GitHub

›Misc

About

  • What is Prettier?
  • Why Prettier?
  • Prettier vs. Linters
  • Option Philosophy
  • Rationale

Usage

  • Install
  • CLI
  • API
  • Browser
  • Plugins (Beta)
  • Pre-commit Hook
  • Watching For Changes
  • Integrating with ESLint
  • Ignoring Code

Configuring Prettier

  • Options
  • Configuration File

Editors

  • Editor Integration
  • WebStorm Setup
  • Vim Setup

Misc

  • Technical Details
  • Related Projects
Edit

Related Projects

ESLint Integrations

  • eslint-plugin-prettier plugs Prettier into your ESLint workflow
  • eslint-config-prettier turns off all ESLint rules that are unnecessary or might conflict with Prettier
  • prettier-eslint passes prettier output to eslint --fix
  • prettier-standard uses prettier and prettier-eslint to format code with standard rules
  • prettier-standard-formatter passes prettier output to standard --fix

TSLint Integrations

  • tslint-plugin-prettier runs Prettier as a TSLint rule and reports differences as individual TSLint issues
  • tslint-config-prettier use TSLint with Prettier without any conflict
  • prettier-tslint passes prettier output to tslint --fix

stylelint Integrations

  • stylelint-prettier runs Prettier as a stylelint rule and reports differences as individual stylelint issues
  • stylelint-config-prettier turns off all rules that are unnecessary or might conflict with Prettier.
  • prettier-stylelint passes prettier output to stylelint --fix

Forks

  • prettier-miscellaneous prettier with a few minor extra options

Misc

  • neutrino-preset-prettier allows you to use Prettier as a Neutrino preset
  • prettier_d runs Prettier as a server to avoid Node.js startup delay. It also supports configuration via .prettierrc, package.json, and .editorconfig.
  • Prettier Bookmarklet provides a bookmarklet and exposes a REST API for Prettier that allows to format CodeMirror editor in your browser
  • prettier-github formats code in GitHub comments
  • rollup-plugin-prettier allows you to use Prettier with Rollup
  • markdown-magic-prettier allows you to use Prettier to format JS codeblocks in Markdown files via Markdown Magic
  • pretty-quick formats your changed files with Prettier
  • prettier-chrome an extension that can be formatted using Prettier in Chrome
  • prettylint run Prettier as a linter
← Technical Details
  • ESLint Integrations
  • TSLint Integrations
  • stylelint Integrations
  • Forks
  • Misc
Prettier
Docs
AboutUsage
Community
User ShowcaseStack OverflowChat on Gitter@PrettierCode on TwitterFollow Prettier on Twitter
More
BlogGitHubIssuesStar