@lego/prettier-config
Version:
LEGO shareable prettier config
27 lines (18 loc) • 453 B
Markdown
# @lego/prettier-config
Opinionated Prettier configuration.
## Usage
To install this config use the following command
```bash
$ npm i -D @lego/prettier-config
```
Then add below line as `prettier.config.js` or `.prettierrc.js` to the project:
```js
module.exports = require('@lego/prettier-config');
```
or if you want to extend it with your own rules
```js
module.exports = {
...require('@lego/prettier-config'),
singleQuote: false,
};
```