Skip to content

Run clang-format during pre-commit to enforce formatting #530

Closed

Description

@cdata

Currently we use the honor system and ask folks to run clang-format based on our checked-in config. This isn't going to scale as we get more contributors. I recently contributed to a project that used lint-staged to enforce code formatting on pre-commit, and it worked really well.

Activity

  1. added
    type: chore
    on May 5, 2019
  2. elalish commented on Mar 30, 2021

    @elalish
    Contributor

    I believe this is done.

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

    arc: communityarc: toolingtype: chore

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions