Skip to content

Commit

Permalink
Add dev-setup documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaez committed Sep 8, 2022
1 parent 4f7a3af commit d87366c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions dev-setup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Development Setup

## Lint / format extensions

### VSCode
Install Prettier, ESLint and Svelte extensions.

in User `settings.json` (`cmd + shift + p` and search for Open User Settings JSON) add the following:

```json
{
"editor.formatOnSave": true,
"[javascript][typescript][css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.tabSize": 2,
"editor.formatOnSave": true
},
"[svelte]": {
"editor.defaultFormatter": "svelte.svelte-vscode",
"editor.tabSize": 2
},
"svelte.enable-ts-plugin": true,
"eslint.validate": ["javascript", "svelte"]
}
```

0 comments on commit d87366c

Please sign in to comment.