Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@mizdra/prettier-config-mizdra

mizdra7kMIT2.0.0

Shareable Prettier Config for @mizdra

prettier, prettier-config

readme

@mizdra/prettier-config-mizdra

Shareable Prettier Config for @mizdra

Install

pnpm add -D @mizdra/prettier-config-mizdra prettier

Usage

If you have written the prettier configuration in package.json:

{
  "name": "your-app",
  "version": "0.0.1",
  "prettier": "@mizdra/prettier-config-mizdra"
}

If you have written the prettier configuration in .prettierrc.json:

"@mizdra/prettier-config-mizdra"

If you have written the prettier configuration in .prettierrc.js:

module.exports = {
  ...require('@mizdra/prettier-config-mizdra'),
  // You can override the options of a shared prettier
  // configuration in `.prettierrc.js`
  semi: false,
};