diff options
author | Philip Chimento <philip.chimento@gmail.com> | 2018-08-20 21:30:17 -0400 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2018-10-09 22:45:39 -0700 |
commit | c1ded8b17c39dae8d4a39780acda67c9726c7ed3 (patch) | |
tree | 63ea352774af2058e3cac88cb6225c3fb17bb834 /.clang-format | |
parent | ef596cc5c68bd3cf1e0e532e57daaab48eaa5ff1 (diff) | |
download | gjs-c1ded8b17c39dae8d4a39780acda67c9726c7ed3.tar.gz |
linter: Adjust clang-format rules
We have several places in the code where the lack of preprocessor
directive indentation would make it harder to read.
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format index e1b30577..bc6649f9 100644 --- a/.clang-format +++ b/.clang-format @@ -10,6 +10,7 @@ AllowShortIfStatementsOnASingleLine: false AllowShortLoopsOnASingleLine: false DerivePointerAlignment: false ForEachMacros: [] +IndentPPDirectives: AfterHash IndentWidth: 4 PointerAlignment: Left # Google style allows both, but clang-format doesn't SpacesBeforeTrailingComments: 2 |