@aarondewes/wp-prettier-config
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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



Code is Poetry.

Package Sidebar

Install

npm i @aarondewes/wp-prettier-config

Weekly Downloads

3

Version

2.0.0

License

GPL-2.0-or-later

Unpacked Size

2.23 kB

Total Files

6

Last publish

Collaborators

  • aarondewes