https://github.com/iamvishnusankar/corex/edit/master/packages/prettier/README.md'
title: '@corex/prettier' custom_edit_url: 'Installation
yarn add @corex/prettier -D
Usage
Create .prettierrc.js
and add the following content
module.exports = require('@corex/prettier')
Override
Override the preset configuration.
module.exports = {
...require('@corex/prettier'),
...{
/** custom overrides **/
},
}
Preset Config
Following is the included preset configuration.
module.exports = {
printWidth: 100,
singleQuote: true,
semi: false,
trailingComma: 'none',
useTabs: false,
}