mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-22 18:57:23 +02:00
🔧 Update windsurfrules
This commit is contained in:
parent
59bc38557b
commit
057025f3f8
1 changed files with 4 additions and 5 deletions
|
@ -35,8 +35,7 @@ t("menu", { defaultValue: "Menu" });
|
|||
23. Never manually add translations to .json files. This will be handled by our tooling.
|
||||
24. Add the "use client" directive to the top of any .tsx file that requires client-side javascript
|
||||
25. i18nKeys should describe the message in camelCase. Ex. "lastUpdated": "Last Updated"
|
||||
26. Keep i18nKeys up to 25 characters
|
||||
27. If the i18nKey is not intended to be reused, prefix it with the component name in camelCase
|
||||
28. Always use kebab-case for file names
|
||||
29. Prefer double quotes for strings over single quotes
|
||||
30. Only add comments when it is necessary to explain code that isn't self-explanatory
|
||||
26. If the i18nKey is not intended to be reused, prefix it with the component name in camelCase
|
||||
27. Always use kebab-case for file names
|
||||
28. Prefer double quotes for strings over single quotes
|
||||
29. Only add comments when it is necessary to explain code that isn't self-explanatory
|
Loading…
Add table
Add a link
Reference in a new issue