@denovo/prettier-config
v1.0.1
Published
A common Prettier configuration for projects following the Denovo code guidelines.
Downloads
284
Keywords
Readme
💅 @denovo/prettier-config
A Prettier configuration for projects following the Denovo coding guidelines.
Installation
npm install --save-dev @denovo/prettier-config
Usage
Specify prettier
property in package.json
:
{
"name": "another-project",
"prettier": "@denovo/prettier-config",
"devDependencies" : {
"@denovo/prettier-config": "^1.0.1"
}
}
Alternatively you can create a .prettierrc.json
file with the content:
"@denovo/prettier-config"
How to contribute
- Change the
.prettierrc.json
file in arrangement with the Denovo QA team. - Run
npm run publish
and follow the instructions.