---
# Clang-tidy configuration for ROS 2 Medkit Gateway
# ROS 2 uses snake_case convention for methods/functions, so we disable
# identifier-naming rules that would conflict with ROS 2 style guidelines.
Checks:          '-*,
                  performance-*,
                  -performance-enum-size,
                  llvm-namespace-comment,
                  modernize-redundant-void-arg,
                  modernize-use-nullptr,
                  modernize-use-default,
                  modernize-use-override,
                  modernize-loop-convert,
                  modernize-make-shared,
                  modernize-make-unique,
                  modernize-avoid-bind,
                  misc-unused-parameters,
                  readability-braces-around-statements,
                  readability-named-parameter,
                  readability-redundant-smartptr-get,
                  readability-redundant-string-cstr,
                  readability-simplify-boolean-expr,
                  readability-container-size-empty,
                  readability-static-definition-in-anonymous-namespace,
                  bugprone-dangling-handle,
                  bugprone-exception-escape,
                  bugprone-use-after-move,
                  cppcoreguidelines-special-member-functions,
                  '
HeaderFilterRegex: ''
CheckOptions:
  - key:             llvm-namespace-comment.ShortNamespaceLines
    value:           '10'
  - key:             llvm-namespace-comment.SpacesBeforeComments
    value:           '2'
  - key:             misc-unused-parameters.StrictMode
    value:           '1'
  - key:             readability-braces-around-statements.ShortStatementLines
    value:           '2'
  - key:             cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
    value:           '1'
