Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 480 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 480 Bytes

@ionic/prettier-config

Shared Prettier config used in Ionic, Capacitor, and Stencil projects.

Usage

Usage is based on Sharing configurations from the Prettier docs.

  1. Remove existing .prettierrc file, if present.

  2. Install the config.

    npm install -D @ionic/prettier-config
    
  3. Add the following to package.json:

    "prettier": "@ionic/prettier-config",