1.2.0 • Published 2 years ago

@jessety/prettier-config v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@jessety/prettier-config

Yet another Prettier shareable config.

ci npm license

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