Skip to content

Set up automated style enforcement (linting/formatting) #17

Description

@hurui200320

The style rules documented in STYLE_GUIDE.md are currently enforced only by code review.

Tasks:

  • Kotlin (android/): consider ktlint and/or spotless.
  • C++ (esp32/): consider clang-format with the existing style (PascalCase files/namespaces, camelCase methods, UPPER_SNAKE_CASE macros) in mind.
  • Decide where to run the checks: pre-commit hook, CI job, or editor integration.
  • If CI is used, decide how it interacts with the release CI tracked in Set up release CI or F-Droid build & distribution #12 (e.g., shared workflow files).
  • Update STYLE_GUIDE.md's Enforcement section once a decision is made.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions