---
# FastLED clang-tidy configuration
# This configuration is used by `bash lint --tidy` to run static analysis on C++ files

Checks: >
  -*,
  bugprone-*,
  -bugprone-easily-swappable-parameters,
  -bugprone-narrowing-conversions,
  clang-analyzer-*,
  -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
  modernize-use-nullptr,
  modernize-use-override,
  performance-*,
  -performance-no-int-to-ptr,
  readability-braces-around-statements,
  readability-redundant-control-flow,
  readability-simplify-boolean-expr

CheckOptions:
  - key: readability-braces-around-statements.ShortStatementLines
    value: '2'

WarningsAsErrors: ''
HeaderFilterRegex: 'src/fl/.*'
FormatStyle: none
