About 50 results
Open links in new tab
  1. Prettier · Opinionated Code Formatter · Prettier

    What is Prettier? An opinionated code formatter Supports many languages Integrates with most editors Has few options »

  2. Options · Prettier

    Prettier can restrict itself to only format files that contain a special comment, called a pragma, at the top of the file. This is very useful when gradually transitioning large, unformatted codebases to Prettier.

  3. Configuration File · Prettier

    By default, Prettier automatically infers which parser to use based on the input file extension. Combined with overrides you can teach Prettier how to parse files it does not recognize.

  4. What is Prettier? · Prettier

    Suddenly our previous format for calling function breaks down because this is too long. Prettier is going to do the painstaking work of reprinting it like that for you:

  5. Install · Prettier

    In addition to running Prettier from the command line (prettier --write), checking formatting in CI, and running Prettier from your editor, many people like to run Prettier as a pre-commit hook as well.

  6. CLI · Prettier

    It’s better to use a configuration file for formatting options like --single-quote and --trailing-comma instead of passing them as CLI flags. This way the Prettier CLI, editor integrations, and other tooling …

  7. Rationale - Prettier

    Prettier is an opinionated code formatter. This document explains some of its choices.

  8. Why Prettier? · Prettier

    So why choose the “Prettier style guide” over any other random style guide? Because Prettier is the only “style guide” that is fully automatic. Even if Prettier does not format all code 100% the way you’d like, …

  9. Prettier 3.8: Support for Angular v21.1 · Prettier

    Jan 14, 2026 · We're excited to announce that Prettier now fully supports the fresh features landing in Angular v21.1 (released today 🎉)!

  10. Ignoring Code · Prettier

    By default prettier ignores files in version control systems directories (".git", ".jj", ".sl", ".svn" and ".hg") and node_modules (unless the --with-node-modules CLI option is specified).