Skip to content

Commit e3ed6d4

Browse files
committed
docs: update Copilot instructions with additional Svelte 5 syntax guidelines
1 parent 34bc711 commit e3ed6d4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/copilot-instructions.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,13 @@ When improving unit test coverage, run only the unit tests since running e2e tes
1010

1111
## Svelte 5
1212

13+
Make sure to use the latest Svelte 5 features and syntax. Use the Context7 API to get the current project documentation for Svelte 5.
14+
1315
This project uses Svelte 5. Use the Svelte 5 runes syntax instead of the older `$:` syntax.
1416

17+
Use the new Svelte 5 syntax for $props()
18+
19+
Use `onclick` instead of `on:click` for event handlers.
1520

1621
## Semantic Classes
1722

0 commit comments

Comments
 (0)