mirror of
https://github.com/azaion/satellite-provider.git
synced 2026-04-22 21:56:39 +00:00
a7a645c7ab
add tests
22 lines
1.1 KiB
Plaintext
22 lines
1.1 KiB
Plaintext
---
|
|
description: Coding rules
|
|
alwaysApply: true
|
|
---
|
|
# Coding preferences
|
|
- Always prefer simple solution
|
|
- Generate concise code
|
|
- Do not put comments in the code
|
|
- Do not put logs unless it is an exception, or was asked specifically
|
|
- Do not put code annotations unless it was asked specifically
|
|
- Your changes should be well correlated with what was requested. In case of any uncertainties ask questions.
|
|
- Mocking data is needed only for tests
|
|
- When you add new libraries or dependencies make sure you are using the same version of it as other parts of the code
|
|
|
|
- Focus on the areas of code relevant to the task
|
|
- Do not touch code that is unrelated to the task
|
|
- Always think about what other methods and areas of code might be affected by the code changes
|
|
- When you think you are done with changes, run tests and make sure they are not broken
|
|
- Do not rename any databases or tables or table columns without confirmation. Avoid such renaming if possible.
|
|
- Do not create diagrams unless I ask explicitly
|
|
- Do not commit binaries, create and keep .gitignore up to date and delete binaries after you are done with the task
|