91d7135562
* chore: add swift linter * chore: add clang linters * chore: add kotlin linter * chore(ci): update workflows * chore(ci): clean workflows
25 lines
477 B
YAML
25 lines
477 B
YAML
# Config for clang-format version 16
|
|
|
|
# standard
|
|
BasedOnStyle: llvm
|
|
Standard: c++14
|
|
|
|
# Indentation
|
|
IndentWidth: 2
|
|
ColumnLimit: 140
|
|
|
|
# Includes
|
|
SortIncludes: true
|
|
SortUsingDeclarations: true
|
|
|
|
# Pointer and reference alignment
|
|
PointerAlignment: Left
|
|
ReferenceAlignment: Left
|
|
ReflowComments: true
|
|
|
|
# Line breaking options
|
|
BreakBeforeBraces: Attach
|
|
BreakConstructorInitializers: BeforeColon
|
|
AllowShortFunctionsOnASingleLine: Empty
|
|
IndentCaseLabels: true
|
|
NamespaceIndentation: Inner |