Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 568 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 568 Bytes

🎨 Prettier StandardJS config

This is a default configuration for Prettier to format code according to the StandardJS specification. In Havenworks by default, the ts-standard package should be used so this is mainly used to format Svelte files.

Installation is very simple:

yarn add -D @havenworks/prettier-standard-config

Then just the configuration (the easiest way is to set it like this in your package.json):

// package.json

{
  "prettier": "@havenworks/prettier-standard-config"
}