forked from mirrors/0ad
19d568d506
This replaces the previous arclint linter for checking the copyright year in license headers with a gitea workflow job. As the date of last edit might differ from commit date due to reverts the copyright linter is run against a base commit. The python script doing the heavy lifting is written by @Dunedan. Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com> Co-Authored-by: Dunedan <dunedan@phoenitydawn.de>
502 B
502 B
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.