This document outlines the naming conventions and commit message rules for the repository.
- Modules and files: use
snake_case. - Functions and variables: use
snake_case. - Structs, enums and traits: use
CamelCase. - Constants: use
UPPER_SNAKE_CASE. - Avoid unclear abbreviations.
- Prefer short and descriptive names.
- End every text file with a single blank line.
- Write messages in English.
- Use the imperative present tense in the title (e.g. "Add renderer tests").
- Keep the title under 50 characters.
- If needed, add a body separated by a blank line explaining the motivation.
- Reference issues or files when relevant.
- Group multiple changes with bullet points.
- Wrap body lines at 72 characters.