logo

utils-extra

Collection of extra tools for Unixes

.clang-format (660B)


  1. # SPDX-FileCopyrightText: 2017-2022 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
  2. # SPDX-License-Identifier: MPL-2.0
  3. AlignAfterOpenBracket: true
  4. AlignConsecutiveAssignments: true
  5. AlignOperands: true
  6. AlignTrailingComments: true
  7. AllowShortCaseLabelsOnASingleLine: false
  8. AllowShortFunctionsOnASingleLine: true
  9. AllowShortIfStatementsOnASingleLine: true
  10. AlwaysBreakAfterReturnType: AllDefinitions
  11. BinPackArguments: false
  12. BinPackParameters: false
  13. BreakBeforeBraces: Allman
  14. SpaceBeforeParens: Never
  15. IncludeBlocks: Regroup
  16. ReflowComments: false
  17. SortIncludes: true
  18. UseTab: ForIndentation
  19. IndentWidth: 2
  20. TabWidth: 2
  21. ColumnLimit: 100
  22. NamespaceIndentation: All