@redguy12/prettier-config

3.2.1 • Public • Published

@redguy12/prettier-config

My Prettier style guide

Adding To A Project

  1. Install the config by running:

    npm install @redguy12/prettier-config prettier --save-dev --save-exact
  2. Add the following to your package.json:

    "prettier": "@redguy12/prettier-config",
    "scripts": { "format": "prettier --write \"**\" \"!./dist\" --ignore-unknown --cache" }
  3. To format your code, simply run

    node --run format

Congrats! You've successfully integrated ESLint into your project with @redguy12/prettier-config!

Readme

Keywords

none

Package Sidebar

Install

npm i @redguy12/prettier-config

Weekly Downloads

54

Version

3.2.1

License

MIT

Unpacked Size

70.3 kB

Total Files

5

Last publish

Collaborators

  • redguy12