Skip to content
My personal Prettier config
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
index.json
package.json

README.md

Prettier Config

My personal Prettier config.

Usage

Install:

$ yarn add -D prettier @will-stone/prettier-config

Edit package.json:

{
  "prettier": "@will-stone/prettier-config",
  "scripts": {
    "prettier": "prettier --config --ignore-path .gitignore --write '*/**/*.{js,ts,tsx}'"
  }
}

ESLint Integration

Follow the official guidelines when setting-up Prettier with ESLint.

You can’t perform that action at this time.