Skip to content

havenworks/prettier-standard-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎨 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"
}