@orkans/prettier-config
v2.0.0
Published
My personal Prettier config
Downloads
2
Readme
@orkans/prettier-config v2.0.0
My personal Prettier config.
Usage
Install:
$ npm i @orkans/prettier-config --save-dev
Edit package.json
:
{
// ...
"prettier": "@orkans/prettier-config"
}
If you don’t want to use package.json
, you can use prettier config file to export a string, e.g.:
.prettierrc.json
:
"@orkans/prettier-config"
To merge with project specific options:
.prettierrc.js
:
module.exports = {
...require('@orkans/prettier-config'),
tabWidth: 4,
semi: false,
};
Links
Prettier:
Author
License
MIT