@wonderlandengine/prettier-config

1.0.0 • Public • Published

Prettier Config for Wonderfully Consistent

Ensure consistent code formatting in your project with the Wonderfully Consistent Prettier Config package.

Installation

To get started, install the package and its peer dependency using npm:

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

Next, integrate the config into your package.json by adding the following line:

"prettier": "@wonderlandengine/prettier-config"

To make formatting your code even easier, add a script to your package.json to handle the formatting for you:

"scripts": {
    "format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,css,md}\""
}

Usage

With the script added, you can now format all your files with a simple command:

npm run format

Readme

Keywords

Package Sidebar

Install

npm i @wonderlandengine/prettier-config

Weekly Downloads

468

Version

1.0.0

License

MIT

Unpacked Size

1.32 kB

Total Files

3

Last publish

Collaborators

  • davidpeicho
  • squareys