limits:
  "clang-analyzer-core.NullDereference" : 0
  "clang-analyzer-unix.Malloc" : 0

ignore:
  - "llvm-header-guard"
  - "llvm-include-order"

skip:
  # submodules and third-party code
  - "components/asio/asio"
  - "components/bootloader/subproject/components/micro-ecc/micro-ecc"
  - "components/bt/controller/lib_esp32"
  - "components/bt/controller/lib_esp32c3_family"
  - "components/bt/host/nimble/nimble"
  - "components/bt/lib"
  - "components/cbor/tinycbor"
  - "components/cmock/CMock"
  - "components/coap"
  - "components/esp_phy/lib"
  - "components/esp_wifi/lib"
  - "components/esp_wifi/lib_esp32"
  - "components/esptool_py/esptool"
  - "components/expat/expat"
  - "components/ieee802154/lib"
  - "components/json/cJSON"
  - "components/libsodium/libsodium"
  - "components/lwip/lwip"
  - "components/mbedtls/mbedtls"
  - "components/mqtt/esp-mqtt"
  - "components/nghttp/nghttp2"
  - "components/openthread/lib"
  - "components/openthread/openthread"
  - "components/protobuf-c/protobuf-c"
  - "components/spiffs/spiffs"
  - "components/tinyusb/tinyusb"
  - "components/unity/unity"
  - "examples/build_system/cmake/import_lib/main/lib/tinyxml2"
  - "examples/peripherals/secure_element/atecc608_ecdsa/components/esp-cryptoauthlib"

  # disabled temporarily to pass the CI
  - "components/bt/common/btc/core/btc_task.c"
  - "components/bt/host/bluedroid/btc/profile/std/gap/btc_gap_ble.c"
  - "components/bt/host/bluedroid/stack/btm/btm_acl.c"
  - "components/bt/host/bluedroid/stack/btm/btm_ble_gap.c"
  - "components/bt/host/bluedroid/stack/btm/btm_dev.c"
  - "components/bt/host/bluedroid/stack/gatt/att_protocol.c"
  - "components/bt/host/bluedroid/stack/gatt/gatt_db.c"
  - "components/wifi_provisioning/src/scheme_ble.c"
