Skip to content

Add pre-commit hooks for format and lint #383

Description

@tylervick

Once shellcheck, SwiftFormat, and SwiftLint run in CI, the same checks should run before a commit so contributors get the feedback locally instead of from a red PR.

Task: add a pre-commit configuration (or a .githooks/ directory plus a documented git config core.hooksPath step) running the format and lint checks on staged files. Document it in CONTRIBUTING.md.

Depends on the shellcheck, SwiftFormat, and SwiftLint issues landing first.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions