@coldboy002/prettier-config

1.0.0 • Public • Published

@coldboy002/prettier-config

NPM version

My config for Prettier.

For consistent formatting across my repos.

Installation

npm install --save-dev @coldboy002/prettier-config

or

yarn add --dev @coldboy002/prettier-config

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

Usage

Add this line to your package.json

"prettier": "@coldboy002/prettier-config"

Alternatively, add this to .prettierrc file:

 "@coldboy002/prettier-config"

Or add this to .prettierrc.js file:

module.exports = require( '@coldboy002/prettier-config' );

Refer to Prettier documentation, if you need override some options.

Changelog

License

Package Sidebar

Install

npm i @coldboy002/prettier-config

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

3.3 kB

Total Files

6

Last publish

Collaborators

  • coldboy002