@aarondewes/wp-prettier-config

WordPress Prettier shared configuration.

Usage no npm install needed!

<script type="module">
  import aarondewesWpPrettierConfig from 'https://cdn.skypack.dev/@aarondewes/wp-prettier-config';
</script>

README

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.