commit | 26aae41141f8b81474d2a42c28ae5543d8aaa30f | [log] [tgz] |
---|---|---|
author | Martin Stjernholm <mast@google.com> | Tue Nov 08 21:05:31 2022 +0000 |
committer | Martin Stjernholm <mast@google.com> | Tue Nov 15 16:18:11 2022 +0000 |
tree | 36b333ac26b390c61843bbeb6d1ea896b6374ecc | |
parent | 14fed442be10fa2a1d26397edac060b935e52b79 [diff] [blame] |
Teach clang-format the right import statement order. Taken from https://source.android.com/docs/setup/contribute/code-style#order-import-statements. #codehealth Test: clang-format on http://ag/20333208 Change-Id: I1378293bbc0a6b7a3482f9bd0beb71f95e11809d
diff --git a/.clang-format b/.clang-format index 03af56d..d60d33c 100644 --- a/.clang-format +++ b/.clang-format
@@ -9,5 +9,17 @@ ConstructorInitializerIndentWidth: 6 ContinuationIndentWidth: 8 IndentWidth: 4 +JavaImportGroups: +- android +- androidx +- com.android +- dalvik +- libcore +- com +- junit +- net +- org +- java +- javax PenaltyBreakBeforeFirstCallParameter: 100000 SpacesBeforeTrailingComments: 1