mirror of
https://github.com/immich-app/immich.git
synced 2024-11-28 09:33:27 +02:00
Add command to test/check code in dev-setup docs
This commit is contained in:
parent
02a6b73122
commit
131aa2b6be
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## Lint / format extensions
|
## Lint / format extensions
|
||||||
|
|
||||||
|
Setting these in the IDE give a better developer experience auto-formatting code on save and providing instant feedback on lint issues.
|
||||||
|
|
||||||
### VSCode
|
### VSCode
|
||||||
Install Prettier, ESLint and Svelte extensions.
|
Install Prettier, ESLint and Svelte extensions.
|
||||||
|
|
||||||
@ -23,3 +25,8 @@ in User `settings.json` (`cmd + shift + p` and search for Open User Settings JSO
|
|||||||
"eslint.validate": ["javascript", "svelte"]
|
"eslint.validate": ["javascript", "svelte"]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Running tests / checks
|
||||||
|
|
||||||
|
In both server and web:
|
||||||
|
`npm run check:all`
|
||||||
|
Loading…
Reference in New Issue
Block a user