Skip to content

Commit

Permalink
build: Format code only on specific files (getsentry#1956)
Browse files Browse the repository at this point in the history
Run pre commit hook format only when specific files are modified.
  • Loading branch information
philipphofmann authored Jul 11, 2022
1 parent 2099869 commit f5bd522
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ repos:
name: Clang Format
entry: make
language: system
types_or: ["objective-c", "objective-c++", "c", "c++", "swift" ]
args:
- "format"

0 comments on commit f5bd522

Please sign in to comment.