Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
29 lines (22 loc) · 1.41 KB

File metadata and controls

29 lines (22 loc) · 1.41 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Standards & Best Practices
- Always choose to use Hookstate `useHookstate` instead of React `useState`
# Run dev environment
- Client runs on port 3000, API server on 3030, file server on 8642
- Always check if it is already running before trying to run
- Always access the browser with https and check the env for the domain to access (may use LAN IP or tailscale)
# Testing Guidelines
- Write unit tests for core functionality
- Test edge cases and error conditions
- Mock dependencies appropriately
- Ensure tests are deterministic
- Run isolated tests with `npm run test -- <filename>` in the respective package's root
# Meta
- Always double check for errors
- Always ensure that any tests that are written pass
- Never do more than is asked of by the user, but always ensure that all issues are resolved before finishing
- Always double check your thinking, ensuring that any uncertainty is resolved by the user before continuing
- Do not make assumptions
- Never pander or appeal to the user, be objective and question if the solution actually meets what the user is requesting
- Be concise and clear in your communication, but not to the degree that your become unhelpful
- Ensure that any code and files that are no longer needed are removed
- Do not leave unnecessary code comments explaining what you've changed, only leave comments that provide information about the code itself that isn't immediately obvious from the code
Morty Proxy This is a proxified and sanitized view of the page, visit original site.