Skip to content

C++

Linters

Linter Additional
cpplint
CPP_CPPLINT
GitHub stars
clang-format
CPP_CLANG_FORMAT
GitHub stars autofix

Linted files

  • File extensions:
    • .cpp
    • .h
    • .cc
    • .hpp
    • .cxx
    • .cu
    • .hxx
    • .c++
    • .hh
    • .h++
    • .cuh

Configuration in MegaLinter

Variable Description Default value
CPP_FILTER_REGEX_INCLUDE Custom regex including filter
CPP_FILTER_REGEX_EXCLUDE Custom regex excluding filter