2.0.0 • Published 3 years ago

@aarondewes/wp-prettier-config v2.0.0

Weekly downloads
-
License
GPL-2.0-or-later
Repository
github
Last release
3 years ago

Prettier Config

WordPress Prettier shareable config for Prettier.

Installation

Install the module

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

Note: This package requires Node.js 12.0.0 or later. It is not compatible with older versions.

Usage

Add this to your package.json file:

"prettier": "@wordpress/prettier-config"

Alternatively, add this to .prettierrc file:

extends @wordpress/prettier-config