3.1.1 • Published 8 months ago

@redguy12/prettier-config v3.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@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 \"**\" --ignore-unknown --cache" }
  3. Create a .prettierignore file with the following content:

    ./.vscode
    ./dist/
    ./node_modules/
    *.tsbuildinfo
  4. To format your code, simply run

    npm run format

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