.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / prettier-stylelint / node_modules / prettier / README.md
1 ![Prettier Banner](https://raw.githubusercontent.com/prettier/prettier-logo/master/images/prettier-banner-light.png)
2
3 <h2 align="center">Opinionated Code Formatter</h2>
4
5 <p align="center">
6   <em>
7     JavaScript
8     · TypeScript
9     · Flow
10     · JSX
11     · JSON
12   </em>
13   <br />
14   <em>
15     CSS
16     · SCSS
17     · Less
18   </em>
19   <br />
20   <em>
21     HTML
22     · Vue
23     · Angular
24   </em>
25   <br />
26   <em>
27     GraphQL
28     · Markdown
29     · YAML
30   </em>
31   <br />
32   <em>
33     <a href="https://prettier.io/docs/en/plugins.html">
34       Your favorite language?
35     </a>
36   </em>
37 </p>
38
39 <p align="center">
40   <a href="https://dev.azure.com/prettier/prettier/_build/latest?definitionId=5">
41     <img alt="Azure Pipelines Build Status" src="https://img.shields.io/azure-devops/build/prettier/79013671-677c-4846-a6d8-3050d40e21c0/5.svg?style=flat-square&label=build&branchName=master"></a>
42   <a href="https://codecov.io/gh/prettier/prettier">
43     <img alt="Codecov Coverage Status" src="https://img.shields.io/codecov/c/github/prettier/prettier.svg?style=flat-square"></a>
44   <a href="https://twitter.com/acdlite/status/974390255393505280">
45     <img alt="Blazing Fast" src="https://img.shields.io/badge/speed-blazing%20%F0%9F%94%A5-brightgreen.svg?style=flat-square"></a>
46   <br/>
47   <a href="https://www.npmjs.com/package/prettier">
48     <img alt="npm version" src="https://img.shields.io/npm/v/prettier.svg?style=flat-square"></a>
49   <a href="https://www.npmjs.com/package/prettier">
50     <img alt="weekly downloads from npm" src="https://img.shields.io/npm/dw/prettier.svg?style=flat-square"></a>
51   <a href="#badge">
52     <img alt="code style: prettier" src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square"></a>
53   <a href="https://gitter.im/jlongster/prettier">
54     <img alt="Chat on Gitter" src="https://img.shields.io/gitter/room/jlongster/prettier.svg?style=flat-square"></a>
55   <a href="https://twitter.com/PrettierCode">
56     <img alt="Follow Prettier on Twitter" src="https://img.shields.io/twitter/follow/prettiercode.svg?label=follow+prettier&style=flat-square"></a>
57 </p>
58
59 ## Intro
60
61 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.
62
63 ### Input
64
65 <!-- prettier-ignore -->
66 ```js
67 foo(reallyLongArg(), omgSoManyParameters(), IShouldRefactorThis(), isThereSeriouslyAnotherOne());
68 ```
69
70 ### Output
71
72 ```js
73 foo(
74   reallyLongArg(),
75   omgSoManyParameters(),
76   IShouldRefactorThis(),
77   isThereSeriouslyAnotherOne()
78 );
79 ```
80
81 Prettier can be run [in your editor](http://prettier.io/docs/en/editors.html) on-save, in a [pre-commit hook](https://prettier.io/docs/en/precommit.html), or in [CI environments](https://prettier.io/docs/en/cli.html#list-different) to ensure your codebase has a consistent style without devs ever having to post a nit-picky comment on a code review ever again!
82
83 ---
84
85 **[Documentation](https://prettier.io/docs/en/)**
86
87 <!-- prettier-ignore -->
88 [Install](https://prettier.io/docs/en/install.html) ·
89 [Options](https://prettier.io/docs/en/options.html) ·
90 [CLI](https://prettier.io/docs/en/cli.html) ·
91 [API](https://prettier.io/docs/en/api.html)
92
93 **[Playground](https://prettier.io/playground/)**
94
95 ---
96
97 ## Badge
98
99 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)
100
101 ```md
102 [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
103 ```
104
105 ## Contributing
106
107 See [CONTRIBUTING.md](CONTRIBUTING.md).