Détail du package

@shopify/prettier-config

Shopify181.6kMIT1.1.4

Shared prettier configuration

readme

@shopify/prettier-config

License: MIT npm version npm bundle size (minified + gzip)

Shared prettier configuration

Installation

$ yarn add --dev @shopify/prettier-config

Usage

Shopify’s shared prettier config comes bundled in @shopify/prettier-config. To enable these rules, add a prettier property in your package.json and reference this shared config as follows:

"prettier": "@shopify/prettier-config"

Previously, rules had been defined directly in a .prettierrc or package.json

Any previous .prettierrc should be removed in favour of the shared config.

changelog

Changelog

1.1.4

Patch Changes

1.1.0 - 2020-05-14

Changed

  • Explicitly set default for "arrowParens": "always". Although it is a default for prettier as of v2.0, it was avoid in prior versions. Specifying it explicitly here will result in the same config, not matter which version of prettier used.

1.0.0 - 2020-05-12

Added

  • Created @shopify/prettier-config package. [#152]