@senojs/prettier-config
v0.3.0
Published
prettier config
Downloads
49
Readme
@senojs/prettier-config
prettier config
Usage
Reference it in your package.json
:
{
"name": "your-cool-library",
"version": "1.0.0",
"prettier": "@senojs/prettier-config"
}
If you don’t want to use package.json
, or if you need to extend the configuration to overwrite some properties from our configuration, import the file in a .prettierrc.js
file and export the modifications, e.g:
import senojsPrettierConfig from '@senojs/prettier-config'
export default {
...senojsPrettierConfig,
printWidth: 120,
}