版博士V2.0程序
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
CPL 9104556504 v2.0.7 报表数据修改 1 ano atrás
..
esm v2.0.7 报表数据修改 1 ano atrás
LICENSE v2.0.7 报表数据修改 1 ano atrás
README.md v2.0.7 报表数据修改 1 ano atrás
bin-prettier.js v2.0.7 报表数据修改 1 ano atrás
cli.js v2.0.7 报表数据修改 1 ano atrás
doc.js v2.0.7 报表数据修改 1 ano atrás
index.js v2.0.7 报表数据修改 1 ano atrás
package.json v2.0.7 报表数据修改 1 ano atrás
parser-angular.js v2.0.7 报表数据修改 1 ano atrás
parser-babel.js v2.0.7 报表数据修改 1 ano atrás
parser-espree.js v2.0.7 报表数据修改 1 ano atrás
parser-flow.js v2.0.7 报表数据修改 1 ano atrás
parser-glimmer.js v2.0.7 报表数据修改 1 ano atrás
parser-graphql.js v2.0.7 报表数据修改 1 ano atrás
parser-html.js v2.0.7 报表数据修改 1 ano atrás
parser-markdown.js v2.0.7 报表数据修改 1 ano atrás
parser-meriyah.js v2.0.7 报表数据修改 1 ano atrás
parser-postcss.js v2.0.7 报表数据修改 1 ano atrás
parser-typescript.js v2.0.7 报表数据修改 1 ano atrás
parser-yaml.js v2.0.7 报表数据修改 1 ano atrás
standalone.js v2.0.7 报表数据修改 1 ano atrás
third-party.js v2.0.7 报表数据修改 1 ano atrás

README.md

Prettier Banner

Opinionated Code Formatter

JavaScript · TypeScript · Flow · JSX · JSON
CSS · SCSS · Less
HTML · Vue · Angular
GraphQL · Markdown · YAML
Your favorite language?

Github Actions Build Status Github Actions Build Status Github Actions Build Status Codecov Coverage Status Blazing Fast
npm version weekly downloads from npm code style: prettier Follow Prettier on Twitter

Intro

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.

Input

foo(reallyLongArg(), omgSoManyParameters(), IShouldRefactorThis(), isThereSeriouslyAnotherOne());

Output

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!


Documentation

Install · Options · CLI · API

Playground


Badge

Show the world you’re using Prettiercode style: prettier

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)

Contributing

See CONTRIBUTING.md.