mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-18 06:13:55 -07:00
If a commit just removes files for cleanup purpose for example the list of files to check would be empty. Therefore allow no files as arguments for use in CI. Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com> |
||
|---|---|---|
| .. | ||
| copyright | ||
| cppcheck | ||
| jenkinsfiles | ||
| lint.sh | ||
| README.md | ||
Linters
Linters for use in CI or by developers. Also providing configurations for IDEs.
cppcheck
suppression-list
The suppression list is ideally empty, restricting to file scope is preferred.
The format for an error suppression is one of: [error id]:[filename]:[line] [error id]:[filename2] [error id]
libraries
Adding library cfg's for other deps could improve cppchecks ability to find issues.
copyright
A linter for checking copyright dates in file headers are up to date.