Skip to content

Commit

Permalink
style: update linting/formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
paradajz committed Dec 8, 2024
1 parent 829d0f7 commit e023160
Show file tree
Hide file tree
Showing 23 changed files with 345 additions and 348 deletions.
49 changes: 23 additions & 26 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,56 +1,53 @@
---
Checks: 'clang-analyzer-*,readability-braces-around-statements,readability-else-after-return,readability-inconsistent-declaration-parameter-name,modernize-use-equals-default,modernize-use-using,modernize-redundant-void-arg,modernize-concat-nested-namespaces,misc-redundant-expression,readability-static-accessed-through-instance,readability-static-accessed-through-instance,performance-inefficient-vector-operation,readability-identifier-naming'
WarningsAsErrors: ''
AnalyzeTemporaryDtors: false
FormatStyle: file
CheckOptions:
- key: readability-braces-around-statements.ShortStatementLines
value: '0'
- key: readability-inconsistent-declaration-parameter-name.Strict
value: 'true'
- key: readability-identifier-naming.IgnoreMainLikeFunctions
value: 'true'
- key: readability-identifier-naming.FunctionIgnoredRegexp
value: 'main'
- key: readability-identifier-naming.ClassCase
value: 'CamelCase'
- key: readability-identifier-naming.ClassMethodCase
value: 'camelBack'
- key: readability-identifier-naming.PrivateMemberCase
value: 'camelBack'
- key: readability-identifier-naming.PrivateMemberPrefix
value: '_'
- key: readability-identifier-naming.ConstexprVariableCase
- key: readability-identifier-naming.ConstantMemberCase
value: 'UPPER_CASE'
- key: readability-identifier-naming.ConstexprFunctionCase
value: 'UPPER_CASE'
- key: readability-identifier-naming.StructCase
value: 'camelBack'
- key: readability-identifier-naming.StructSuffix
value: '_t'
- key: readability-identifier-naming.EnumConstantCase
value: 'UPPER_CASE'
- key: readability-identifier-naming.ConstantMemberCase
- key: readability-identifier-naming.ConstexprVariableCase
value: 'UPPER_CASE'
- key: readability-identifier-naming.LocalConstantCase
- key: readability-identifier-naming.EnumConstantCase
value: 'UPPER_CASE'
- key: readability-identifier-naming.FunctionIgnoredRegexp
value: 'main'
- key: readability-identifier-naming.GlobalConstantCase
value: 'UPPER_CASE'
- key: readability-identifier-naming.GlobalPointerCase
value: 'camelBack'
- key: readability-identifier-naming.GlobalVariableCase
value: 'camelBack'
- key: readability-identifier-naming.IgnoreMainLikeFunctions
value: 'true'
- key: readability-identifier-naming.LocalConstantCase
value: 'UPPER_CASE'
- key: readability-identifier-naming.LocalConstantPointerCase
value: 'UPPER_CASE'
- key: readability-identifier-naming.LocalVariableCase
value: 'camelBack'
- key: readability-identifier-naming.NamespaceCase
value: 'lower_case'
- key: readability-identifier-naming.ParameterCase
value: 'camelBack'
- key: readability-identifier-naming.VirtualMethodCase
- key: readability-identifier-naming.PrivateMemberCase
value: 'camelBack'
- key: readability-identifier-naming.PrivateMemberPrefix
value: '_'
- key: readability-identifier-naming.StaticConstantCase
value: 'UPPER_CASE'
- key: readability-identifier-naming.StaticVariableCase
value: 'camelBack'
- key: readability-identifier-naming.LocalVariableCase
value: 'camelBack'
- key: readability-identifier-naming.NamespaceCase
- key: readability-identifier-naming.StructCase
value: 'CamelCase'
- key: readability-identifier-naming.VirtualMethodCase
value: 'camelBack'
- key: readability-identifier-naming.NamespaceIgnoredRegexp
value: 'i2c'
- key: readability-inconsistent-declaration-parameter-name.Strict
value: 'true'
Loading

0 comments on commit e023160

Please sign in to comment.