mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-03 08:41:35 -07:00
Merge pull request #1583 from netalertx/next_release
Some checks are pending
Some checks are pending
feat(docs): Update coding standards to clarify database storage guide…
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
|
- follow DRY principle - maintainability of code is more important than speed of implementation
|
||||||
- code files should be less than 500 LOC for better maintainability
|
- 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)
|
- 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
|
## File Length
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user