Skip to content

Commit

Permalink
Add a clang-format configuration
Browse files Browse the repository at this point in the history
.clang-format:
Add a clang-format configuration file based on the WebKit style, that
enforces a 120 char column length and tabs for indentation (of length
four).
  • Loading branch information
dvzrv committed Jan 9, 2022
1 parent 4b671e5 commit 2a8a31e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
BasedOnStyle: WebKit
AlignAfterOpenBracket: Align
ColumnLimit: 120
CompactNamespaces: true
TabWidth: 4
UseTab: ForIndentation

0 comments on commit 2a8a31e

Please sign in to comment.