samuelmarks/C Linter
Enforce strict C coding standards via libclang AST parsing
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| files | Files or directories to lint (space-separated) | no | . |
| no-windows | Disable Windows format literal #ifdef checks | no | false |
| no-safe-crt | Disable Safe CRT function replacement checks | no | false |
| include | Comma-separated list of include directories (e.g. "include,src/include") | no | "" |
| ignore-returns | Comma-separated list of functions or macros to ignore discarded returns for | no | "" |
| std | C standard version (e.g., c89, c99) | no | "" |
| build-dir | Path to build directory containing compile_commands.json | no | "" |
| exclude | Comma-separated list of glob patterns to exclude | no | "" |
| no-tolerate-c99 | Do not tolerate C99 type extensions (like _Bool) in C89 mode | no | false |
| no-header-strategy | Disable auto-injection of standard headers when linting standalone .h files | no | false |
Outputs
no outputs