Skip to content

Commit

Permalink
Update .clang-format import groups order
Browse files Browse the repository at this point in the history
Match the import order to the style guide[1]. This is based on
art/.clang-format.

[1] https://source.android.com/docs/setup/contribute/code-style#order-import-statements

Test: repo upload .
Change-Id: Ifd5c45fce2e20adf818d1cf03637f07b10786122
  • Loading branch information
tweksteen committed Nov 21, 2024
1 parent 13259a9 commit 6ba6ed8
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,15 @@ BasedOnStyle: Google
ColumnLimit: 100
IndentWidth: 4
ContinuationIndentWidth: 8
...

JavaImportGroups:
- android
- androidx
- com.android
- dalvik
- libcore
- com
- junit
- net
- org
- java
- javax

0 comments on commit 6ba6ed8

Please sign in to comment.