# The Mojibake library
#
# This file is distributed under the MIT License. See LICENSE for details.
#
# Static analysis configuration. Run with `make tidy`.

Checks: >
  -*,
  bugprone-*,
  cert-*,
  clang-analyzer-*,
  misc-*,
  performance-*,
  portability-*,
  readability-inconsistent-declaration-parameter-name,
  readability-misleading-indentation,
  readability-redundant-casting,
  readability-redundant-parentheses,
  -bugprone-easily-swappable-parameters,
  -cert-err33-c,
  -clang-analyzer-optin.core.EnumCastOutOfRange,
  -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
  -clang-analyzer-security.VAList,
  -misc-include-cleaner,
  -misc-no-recursion,
  -portability-avoid-pragma-once

WarningsAsErrors: '*'
HeaderFilterRegex: '.*'
ExcludeHeaderFilterRegex: '.*/(unicode-data\.h|attractor\.h|getopt/.*)$'
FormatStyle: file
