@davidxhk/prettier-config
v1.0.0
Published
My personal Prettier shareable config
Downloads
25
Maintainers
Readme
@davidxhk/prettier-config
My personal Prettier shareable config.
Installation
$ npm install --save-dev @davidxhk/prettier-config
Usage
package.json
{
// ...other properties
"prettier": "@davidxhk/prettier-config"
}
or
.prettierrc.json
"@davidxhk/prettier-config"
or
prettier.config.js
import config from "@davidxhk/prettier-config"
export default {
...config,
// ...other configs
}