@cmkk/prettier-config
v0.1.0
Published
simple prettier config
Downloads
1
Maintainers
Readme
@cmkk/prettier-config
cmkk's prittier config.
install
npm install --save-dev @cmkk/prettier-config
usage
use in package.json
:
{
"prettier": "@cmkk/prettier-config"
}
or in config file:
// .prettierrc
"@cmkk/prettier-config"
// .prettierrc.cjs
module.exports = '@cmkk/prettier-config'
if you want to extend config, you need a configuration written by javascript:
// .prettierrc.cjs
module.exports = {
...require('@cmkk/prettier-config'),
// your config ...
semi: true,
// ...
}