.cppcheck-config 1.2 KB

1234567891011121314151617181920212223242526272829
  1. # cppcheck configuration for OpENer
  2. #
  3. # This file documents the cppcheck settings used in the project.
  4. # cppcheck does not have a native config file format, but these settings
  5. # are applied via command-line arguments in:
  6. # - .pre-commit-config.yaml (for pre-commit hook)
  7. # - .mega-linter.yml (for CI/CD)
  8. #
  9. # Settings:
  10. # --------
  11. # Standard Analysis:
  12. # --enable=all Enable all checks
  13. # --inconclusive Include inconclusive warnings
  14. # --force Force checking of all configurations
  15. # --inline-suppr Enable inline suppressions (// cppcheck-suppress)
  16. # --suppress=missingIncludeSystem Suppress system header warnings
  17. # --suppress=normalCheckLevelMaxBranches Suppress informational messages
  18. #
  19. # Exhaustive Analysis (CI only):
  20. # --check-level=exhaustive Enable all checks
  21. # --enable=warning,style,performance,portability
  22. # --std=c99 Use C99 standard
  23. # --platform=unix64 Target 64-bit POSIX platform
  24. #
  25. # References:
  26. # - Pre-commit hook: .pre-commit-config.yaml (lines 28-36)
  27. # - CI standard checks: .github/workflows/ci.yml (line 41)
  28. # - CI exhaustive checks: .github/workflows/exhaustive-analysis.yml (lines 50-54)
  29. # - MegaLinter config: .mega-linter.yml (line 13)