Skip to content

C

Linters

Linter Additional
cpplint
C_CPPLINT
GitHub stars
clang-format
C_CLANG_FORMAT
GitHub stars autofix

Linted files

  • File extensions:
    • .c
    • .h

Configuration in MegaLinter

Variable Description Default value
C_PRE_COMMANDS List of bash commands to run before the linters None
C_POST_COMMANDS List of bash commands to run after the linters None
C_FILTER_REGEX_INCLUDE Custom regex including filter
C_FILTER_REGEX_EXCLUDE Custom regex excluding filter