<!--header-->

<p align="center">
  <a href="https://rocket.chat" title="Rocket.Chat">
    <img src="https://github.com/RocketChat/Rocket.Chat.Artwork/raw/master/Logos/2020/png/logo-horizontal-red.png" alt="Rocket.Chat" />
  </a>
</p>

# `@rocket.chat/prettier-config`

> Prettier configuration for Rocket.Chat repositories

---

[![npm@latest](https://img.shields.io/npm/v/@rocket.chat/prettier-config/latest?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/prettier-config/v/latest) [![npm@next](https://img.shields.io/npm/v/@rocket.chat/prettier-config/next?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/prettier-config/v/next) ![npm downloads](https://img.shields.io/npm/dw/@rocket.chat/prettier-config?style=flat-square) ![License: MIT](https://img.shields.io/npm/l/@rocket.chat/prettier-config?style=flat-square)

![deps](https://img.shields.io/librariesio/release/npm/@rocket.chat/prettier-config?style=flat-square) ![npm bundle size](https://img.shields.io/bundlephobia/min/@rocket.chat/prettier-config?style=flat-square)

<!--/header-->

## Install

<!--install(dev)-->

Firstly, install the peer dependencies (prerequisites):

```sh
npm i -D prettier

# or, if you are using yarn:

yarn add -D prettier
```

Add `@rocket.chat/prettier-config` as a dependency:

```sh
npm i -D @rocket.chat/prettier-config

# or, if you are using yarn:

yarn add -D @rocket.chat/prettier-config
```

<!--/install(dev)-->

## Contributing

<!--contributing(msg)-->

Contributions, issues, and feature requests are welcome!<br />
Feel free to check the [issues](https://github.com/RocketChat/fuselage/issues).

<!--/contributing(msg)-->

### Linting

To ensure the source is matching our coding style, we perform [linting](<https://en.wikipedia.org/wiki/Lint_(software)>).
Before commiting, check if your code fits our style by running:

<!--yarn(lint)-->

```sh
yarn lint
```

<!--/yarn(lint)-->

Some linter warnings and errors can be automatically fixed:

<!--yarn(lint-and-fix)-->

```sh
yarn lint-and-fix
```

<!--/yarn(lint-and-fix)-->
