mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-03 08:41:35 -07:00
feat(docs): Update coding standards to clarify database storage guidelines
Some checks are pending
🐳 ⚠ docker-unsafe from next_release branch / docker_dev_unsafe (push) Waiting to run
Some checks are pending
🐳 ⚠ docker-unsafe from next_release branch / docker_dev_unsafe (push) Waiting to run
This commit is contained in:
1
.github/skills/code-standards/SKILL.md
vendored
1
.github/skills/code-standards/SKILL.md
vendored
@@ -13,6 +13,7 @@ description: NetAlertX coding standards and conventions. Use this when writing c
|
||||
- follow DRY principle - maintainability of code is more important than speed of implementation
|
||||
- code files should be less than 500 LOC for better maintainability
|
||||
- DB columns must not contain underscores, use camelCase instead (e.g., deviceInstanceId, not device_instance_id)
|
||||
- treat DB as temporary storage for stats, long term configuration should be stored in the /config folder, the /config folder should allow you to restore most of your functionality (excluding historical data)
|
||||
|
||||
## File Length
|
||||
|
||||
|
||||
Reference in New Issue
Block a user