@jessety/prettier-config
v1.2.0
Published
Prettier config by @jessety
Downloads
249
Maintainers
Readme
@jessety/prettier-config
Yet another Prettier shareable config.
Installation
npm i -D prettier @jessety/prettier-config
Usage
Reference this package in the prettier
section of your package.json
:
{
"name": "your-package-name",
"version": "1.0.0",
"prettier": "@jessety/prettier-config"
}
Alternatively, export a string to that references this package from your prettier
config file.
For example, a valid .prettierrc.json
file would be:
"@jessety/prettier-config"
Extending
To extend this config file in your project, use a .prettierrc.js
file:
module.exports = {
...require('@jessety/prettier-config'),
printWidth: 100,
};
License
MIT © Jesse Youngblood