Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@web-configs/prettier

thundermiracle257MIT0.1.2

Shared prettier configuration

readme

@web-configs/prettier

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

Shared prettier configuration

Installation

$ yarn add --dev @web-configs/prettier

Usage

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

"prettier": "@web-configs/prettier"

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

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.1.2 (2022-06-11)

Note: Version bump only for package @web-configs/prettier

0.1.1 (2022-02-08)

Features

  • imitate shopify web-configs (2db4c11)