@stijlbreuk/prettier-config

1.5.3 • Public • Published

@stijlbreuk/prettier-config

Table of Contents

Installation

To install the package, simply choose your package manager of choice and install @stijlbreuk/prettier-config.

For example with npm:

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

Usage

When installed, to use the config you will need to configure prettier to do so.

The following options are available:

package.json

In your package.json add the prettier key followed by the package name:

{
  "name": "package-name",
  "version": "1.0.0",
  "prettier": "@stijlbreuk/prettier-config"
}

Prettier config

In your prettier config, albeit .prettierrc or prettier.config.js etc., simply have it be

"@stijlbreuk/prettier-config"

or to extend the config

module.exports = {
	...require('@stijlbreuk/prettier-config'),
	useTabs: true
}

/@stijlbreuk/prettier-config/

    Package Sidebar

    Install

    npm i @stijlbreuk/prettier-config

    Weekly Downloads

    34

    Version

    1.5.3

    License

    MIT

    Unpacked Size

    4.04 kB

    Total Files

    5

    Last publish

    Collaborators

    • maxaltena
    • nino-vrijman
    • peerbolte
    • stijlbreukdev