# Velox clang-tidy config. Owned by lane PKG/QA. Runs on every PR (non-fatal advisory in
# M0–M1, a required check from M2). Keep the enabled set small and high-signal; add checks
# when they catch a real bug, not for completeness.
---
Checks: >
  -*,
  bugprone-*,
  cert-err34-c,
  cert-err58-cpp,
  concurrency-*,
  cppcoreguidelines-pro-type-member-init,
  cppcoreguidelines-slicing,
  cppcoreguidelines-virtual-class-destructor,
  misc-definitions-in-headers,
  misc-misplaced-const,
  misc-unused-using-decls,
  modernize-use-nullptr,
  modernize-use-override,
  modernize-use-using,
  modernize-use-emplace,
  modernize-loop-convert,
  modernize-make-unique,
  modernize-make-shared,
  performance-*,
  portability-*,
  readability-container-size-empty,
  readability-duplicate-include,
  readability-misleading-indentation,
  readability-redundant-*,
  readability-simplify-boolean-expr,
  readability-static-definition-in-anonymous-namespace,
  -bugprone-easily-swappable-parameters,
  -bugprone-narrowing-conversions,
  -performance-avoid-endl,
  -readability-redundant-access-specifiers

WarningsAsErrors: ''
HeaderFilterRegex: '(core|daemon|cli|nmhost|tools)/.*\.(hpp|h)$'
FormatStyle: file

CheckOptions:
  - key: performance-move-const-arg.CheckTriviallyCopyableMove
    value: 'false'
  - key: bugprone-argument-comment.StrictMode
    value: 'true'
