Skip to content

skarab42/prettier-config

Repository files navigation

My shared Prettier config

Installation

pnpm add -D prettier @skarab/prettier-config

Configuration

Select one of the three methods below according to your needs and/or preferences.

Setup in package.json

{
  "prettier": "@skarab/prettier-config"
}

Export from .prettierrc.json

"@skarab/prettier-config"

Or extends in .prettierrc.js

module.exports = {
  ...require('@skarab/prettier-config'),
  semi: false,
};

My other shared configurations