Yet another Prettier shareable config.
npm i -D prettier @jessety/prettier-configReference 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"To extend this config file in your project, use a .prettierrc.js file:
module.exports = {
...require('@jessety/prettier-config'),
printWidth: 100,
};MIT © Jesse Youngblood