Skip to content

Commit

Permalink
📝 Add README
Browse files Browse the repository at this point in the history
  • Loading branch information
michaljanocko committed Jan 20, 2023
1 parent 15dd08b commit 98f1598
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 🎨 Prettier StandardJS config

This is a default configuration for Prettier to format code according to the StandardJS specification. In Havenworks by default, the [https://github.com/standard/ts-standard](`ts-standard`) package should be used so this is mainly used to format Svelte files.

Installation is very simple:

```bash
yarn add -D @havenworks/prettier-standard-config
```
Then just the configuration (the easiest way is to set it like this in your `package.json`):

```json
// package.json

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

0 comments on commit 98f1598

Please sign in to comment.