0.0.7 • Published 3 years ago
@johnhodge/prettier-config v0.0.7
@johnhodge/prettier-config
The Prettier config used by John.
Install
NPM
npm install @johnhodge/prettier-config --save-devYarn
yarn add --dev @johnhodge/prettier-configConfigure
Include this at the top of the package.json file:
{
"name": "some-project",
"prettier": "@johnhodge/prettier-config"
}Alternatively, you can add this to .prettierrc.js:
module.exports = {
...require("@johnhodge/prettier-config"),
};Using the .prettierrc.js implementation is recommended since it allows you to extend the prettier config.