1.0.0 • Published 2 years ago

@addono/prettier-config v1.0.0

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

@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