1.5.3 • Published 5 months ago

@stijlbreuk/prettier-config v1.5.3

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@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
}
1.5.3

5 months ago

1.5.2

5 months ago

1.5.1

5 months ago

1.4.2

5 months ago

1.5.0

5 months ago

1.4.1

7 months ago

1.4.0

10 months ago

1.3.1

1 year ago

1.3.0

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

3 years ago

1.0.1

3 years ago