@jessety/prettier-config

1.2.0 • Public • Published

@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

Package Sidebar

Install

npm i @jessety/prettier-config

Weekly Downloads

54

Version

1.2.0

License

MIT

Unpacked Size

3.69 kB

Total Files

5

Last publish

Collaborators

  • jessety