Skip to content

excalidraw/prettier-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

@excalidraw/prettier-config

Excalidraw's Prettier config.

Usage

Install

yarn add --dev @excalidraw/prettier-config prettier

Edit package.json

{
  // ...
  "prettier": "@excalidraw/prettier-config"
}

What you get

{
  "proseWrap": "never",
  "trailingComma": "all",
  "overrides": [
    {
      "files": ["*.json"],
      "options": {
        "printWidth": 256
      }
    }
  ]
}