@addono/prettier-config

1.0.0 • Public • Published

@addono/prettier-config

Shared configuration for Prettier.

Usage

  1. Install @addono/prettier-config as a dev dependency (yarn add -D @addono/prettier-config).
  2. Now either:
    1. Add the following key-value pair to your package.json: "prettier": "@addono/prettier-config", or
    2. Set .prettierrc.json to "@addono/prettier-config", or
    3. Import the dependency in your .prettierrc.js and export its values. (This option allows overwriting the values as well.)

References

https://prettier.io/docs/en/configuration.html

Readme

Keywords

none

Package Sidebar

Install

npm i @addono/prettier-config

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

2.47 kB

Total Files

6

Last publish

Collaborators

  • addono