Mention clang-format version requirements.

This commit is contained in:
Alexander McCord 2024-07-22 12:28:04 -07:00 committed by GitHub
parent a7299c3f0f
commit b4b54989c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ As such, feature requests may not be accepted even if a comprehensive RFC is wri
## Code style
Contributions to this project are expected to follow the existing code style.
`.clang-format` file mostly defines syntactic styling rules (you can run `make format` to format the code accordingly).
`.clang-format` file mostly defines syntactic styling rules (you can run `make format` to format the code accordingly). To avoid formatting inconsistencies, get a clang-format binary version >=15.
As for naming conventions, most Luau components use `lowerCamelCase` for variables and functions, `UpperCamelCase` for types and enums, `kCamelCase` for global constants and `SCARY_CASE` for macros.