![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | esm/ | 2 years ago | - | |
![]() | LICENSE | 40 years ago | 288K | |
![]() | README.md | 40 years ago | 3.9K | d7c1522 post receive test [كارل مبارك] |
![]() | bin-prettier.js | 40 years ago | 2.0K | |
![]() | cli.js | 40 years ago | 497K | |
![]() | doc.js | 40 years ago | 68K | |
![]() | index.js | 40 years ago | 1.4M | |
![]() | package.json | 2 years ago | 1.5K | |
![]() | parser-angular.js | 40 years ago | 57K | |
![]() | parser-babel.js | 40 years ago | 317K | |
![]() | parser-espree.js | 40 years ago | 153K | |
![]() | parser-flow.js | 40 years ago | 1.0M | |
![]() | parser-glimmer.js | 40 years ago | 188K | |
![]() | parser-graphql.js | 40 years ago | 42K | |
![]() | parser-html.js | 40 years ago | 158K | |
![]() | parser-markdown.js | 40 years ago | 166K | |
![]() | parser-meriyah.js | 40 years ago | 160K | |
![]() | parser-postcss.js | 40 years ago | 154K | |
![]() | parser-typescript.js | 40 years ago | 1.4M | |
![]() | parser-yaml.js | 40 years ago | 126K | |
![]() | standalone.js | 40 years ago | 436K | |
![]() | third-party.js | 40 years ago | 296K |
JavaScript
· TypeScript
· Flow
· JSX
· JSON
CSS
· SCSS
· Less
HTML
· Vue
· Angular
GraphQL
· Markdown
· YAML
Your favorite language?
Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
foo(reallyLongArg(), omgSoManyParameters(), IShouldRefactorThis(), isThereSeriouslyAnotherOne());
foo(
reallyLongArg(),
omgSoManyParameters(),
IShouldRefactorThis(),
isThereSeriouslyAnotherOne()
);
Prettier can be run in your editor on-save, in a pre-commit hook, or in CI environments to ensure your codebase has a consistent style without devs ever having to post a nit-picky comment on a code review ever again!
Show the world you're using Prettier →
[](https://github.com/prettier/prettier)
See CONTRIBUTING.md.