1.1.0 • Published 3 years ago

@gebsh/prettier-config v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

@gebsh/prettier-config

Version License

gebsh's shareable Prettier configuration.

Quick start

Installation

Install Prettier and this configuration using the following command:

$ npm install --save-dev prettier @gebsh/prettier-config

Usage

To use the configuration you can either:

  • Add a reference to it in the package.json:

    {
      "name": "my-package",
      "version": "1.0.0",
      "prettier": "@gebsh/prettier-config"
    }
  • Or create a configuration file containing the name of this configuration. For example, if you use a .prettierrc.json file, then it should look like this:

    "@gebsh/prettier-config"

For more details about using shareable configurations, see the official Prettier documentation.

License

Licensed under ISC.