Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: apply zig style guide #49

Merged
merged 3 commits into from
Jul 23, 2024
Merged

chore: apply zig style guide #49

merged 3 commits into from
Jul 23, 2024

Conversation

hendriknielaender
Copy link
Owner

Summary

The naming conventions and formatting have been updated to maintain consistency and readability.

Changes

  1. Naming Conventions

    • Applied snake_case for function, variable, and file names.
    • Ensured that names are concise and avoid redundancy.
  2. Formatting and Whitespace

    • Applied 4-space indentation.
    • Opened braces on the same line unless wrapping.
    • Ensured list items each have their own line if longer than 2.
    • Aimed for a line length of 100 characters for readability.
  3. Consistency

    • Applied consistent formatting and structure across all functions.
    • Ensured functions and variables adhere to the same naming and formatting rules.

@hendriknielaender hendriknielaender added the enhancement New feature or request label Jul 23, 2024
@hendriknielaender hendriknielaender merged commit 1ddb7fc into main Jul 23, 2024
4 checks passed
@hendriknielaender hendriknielaender deleted the zig-style branch July 28, 2024 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant