@lego/prettier-config
v6.1.2
Published
LEGO shareable prettier config
Downloads
526
Readme
@lego/prettier-config
Opinionated Prettier configuration.
Usage
To install this config use the following command
$ npm i -D @lego/prettier-config
Then add below line as prettier.config.js
or .prettierrc.js
to the project:
module.exports = require('@lego/prettier-config');
or if you want to extend it with your own rules
module.exports = {
...require('@lego/prettier-config'),
singleQuote: false,
};