0ad/source/tools/lint
2025-05-08 19:50:21 +02:00
..
copyright Add linter to check for copyright year 2025-04-28 16:14:34 +02:00
cppcheck
jenkinsfiles Add a Jenkinsfile linter 2025-05-08 19:50:21 +02:00
lint.sh Add a Jenkinsfile linter 2025-05-08 19:50:21 +02:00
README.md Add linter to check for copyright year 2025-04-28 16:14:34 +02:00

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.

A linter for checking copyright dates in file headers are up to date.