Add code style summary to agent build instructions

Added basic style guidelines for C++, Web UI, and CI/CD workflows.
This commit is contained in:
Frank Möhle
2026-04-07 19:36:33 +02:00
committed by GitHub
parent 64529bbd84
commit 08529a744e

View File

@@ -20,6 +20,11 @@ Use these timeout values when running builds:
## Development Workflow ## Development Workflow
### Code Style Summary
- **C++** files in `wled00/` and `usermods/`: 2-space indentation (no tabs), camelCase functions/variables, PascalCase classes, UPPER_CASE macros. No C++ exceptions — use return codes and debug macros.
- **Web UI** files in `wled00/data`: indent HTML and JavaScript with tabs, CSS with tabs.
- **CI/CD workflows** in `.github/workflows`: 2-space indentation, descriptive `name:` on every workflow/job/step. Third-party actions must be pinned to a specific version tag — branch pins such as @main or @master are not allowed. SHA pinning recommended.
### Web UI Changes ### Web UI Changes
1. Edit files in `wled00/data/` 1. Edit files in `wled00/data/`