Skip to content

Commit

Permalink
Add a pre-commit config to lint and correct style issues (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtmckee committed Dec 5, 2023
1 parent d1cd21b commit 32a624b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v17.0.2
hooks:
- id: clang-format
types:
- c++

0 comments on commit 32a624b

Please sign in to comment.