1.0.0 • Published 1 year ago

@coldboy002/prettier-config v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@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