Skip to content

Latest commit

 

History

History
 
 

prettier-config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Rocket.Chat

@rocket.chat/prettier-config

Prettier configuration for Rocket.Chat repositories


npm@latest npm@next npm downloads License: MIT

deps npm bundle size

Install

Firstly, install the peer dependencies (prerequisites):

npm i -D prettier

# or, if you are using yarn:

yarn add -D prettier

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

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

# or, if you are using yarn:

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

Contributing

Contributions, issues, and feature requests are welcome!
Feel free to check the issues.

Linting

To ensure the source is matching our coding style, we perform linting. Before commiting, check if your code fits our style by running:

yarn lint

Some linter warnings and errors can be automatically fixed:

yarn lint-and-fix