# Clang-tidy configuration for the Fluorine Manager Linux port. # # Scope: only files under src/src/ and any libs/ subdirectory we authored # (skse_log_redirector). Vendored upstream code (libs/uibase, libs/game_*, # libs/installer_fomod*, libs/preview_*, libs/check_fnis, libs/tool_*, # libs/bsa*, libs/esptk, libs/archive, libs/libbsarch, libs/usvfs, # libs/plugin_python, libs/basic_games, libs/script_extender_plugin_checker, # libs/form43_checker, libs/diagnose_basic, libs/dds-header, libs/cmake_common, # libs/vcpkg-registry, libs/lzokay.py, libs/winreg.py, libs/7zip, libs/lootcli, # libs/bsapacker, libs/bsa_extractor, libs/bsa_ffi, libs/steam_appinfo_ffi) # follows upstream MO2 / external projects and is excluded by lint.sh. # # Keep the default lint profile focused on issues that can block the Linux # port: compiler diagnostics and clang's static analyzer. Broad readability, # modernize, and style checks are too noisy for the inherited Qt/MO2 code and # generated UI headers; enable those only in a dedicated cleanup pass. Checks: > clang-diagnostic-*, clang-analyzer-*, -clang-diagnostic-ignored-gch, -clang-analyzer-cplusplus.NewDelete, -clang-analyzer-cplusplus.NewDeleteLeaks, -clang-analyzer-optin.cplusplus.VirtualCall WarningsAsErrors: '*' # Apply checks only to our own headers — the regex matches src/src and our # authored libs subdirs. Vendored code lives under different paths. HeaderFilterRegex: '(^|/)(src/src/|libs/skse_log_redirector/)' FormatStyle: file CheckOptions: - key: readability-identifier-naming.ClassCase value: CamelCase - key: readability-identifier-naming.PrivateMemberPrefix value: m_ - key: misc-unused-parameters.IgnoreVirtual value: 'true'