-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
15dd08b
commit 98f1598
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
``` |