peach a19a732be8 commit message | 2 سال پیش | |
---|---|---|
.. | ||
esm | 2 سال پیش | |
LICENSE | 2 سال پیش | |
README.md | 2 سال پیش | |
bin-prettier.js | 2 سال پیش | |
cli.js | 2 سال پیش | |
doc.js | 2 سال پیش | |
index.js | 2 سال پیش | |
package.json | 2 سال پیش | |
parser-angular.js | 2 سال پیش | |
parser-babel.js | 2 سال پیش | |
parser-espree.js | 2 سال پیش | |
parser-flow.js | 2 سال پیش | |
parser-glimmer.js | 2 سال پیش | |
parser-graphql.js | 2 سال پیش | |
parser-html.js | 2 سال پیش | |
parser-markdown.js | 2 سال پیش | |
parser-meriyah.js | 2 سال پیش | |
parser-postcss.js | 2 سال پیش | |
parser-typescript.js | 2 سال پیش | |
parser-yaml.js | 2 سال پیش | |
standalone.js | 2 سال پیش | |
third-party.js | 2 سال پیش |
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 →
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
See CONTRIBUTING.md.