@repeale/prettier-config

1.0.8 • Public • Published

Prettier Config

npm

Getting started

Install the package and related peerDependencies as devDependencies:

npm install --save-dev @repeale/prettier-config prettier

or

yarn add --dev @repeale/prettier-config prettier

Reference @repeale/prettier-config in your package.json:

{
  "name": "my-project",
  "version": "1.0.0",
  "prettier": "@repeale/prettier-config"
}

or export the config from a .prettierrc.js file:

module.exports = {
  ...require('@repeale/prettier-config'),
}

this will allow you to easilly overwrite options.

Or, you can use it in other ways as described in the official documentation.

Config

Check the .prettierrc.json file if you want to inspect the configuration.

License

MIT License

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i @repeale/prettier-config

    Weekly Downloads

    2

    Version

    1.0.8

    License

    MIT

    Unpacked Size

    3.81 kB

    Total Files

    5

    Last publish

    Collaborators

    • repeale