Files
yaze/cmake-format.yaml
scawful ef07dc0012 chore: update configuration files and enhance dependency management
- Added new entries to `.pre-commit-config.yaml`, `cmake-format.yaml`, and `.github/dependabot.yml` to improve code quality checks and dependency updates.
- Enhanced GitHub Actions workflows by adding new steps for testing and build retention.
- Introduced support for the nlohmann_json library in CMake, allowing for conditional inclusion based on the `YAZE_ENABLE_JSON` option.
- Updated CMake configurations to streamline SDL2 and gRPC integration, ensuring proper linking and target management.

Benefits:
- Improves code quality and consistency through automated checks and formatting.
- Enhances dependency management and build reliability across platforms.
- Provides flexibility for users to enable optional features, improving overall functionality.
2025-10-31 20:20:31 -04:00

13 lines
244 B
YAML

# CMake format configuration
line_width: 80
tab_size: 2
max_subargs_per_line: 3
separate_ctrl_name_with_space: true
separate_fn_name_with_space: true
dangle_parens: true
command_case: lower
keyword_case: upper
enable_sort: true
autosort: true