Hi,
many companies started to use CI pipelines, and as part of their
pipelines they introduced mandatory linting for source code.
There are tools for many languages, esp. for C/C++. These tools
usually return '0' on success, and something else on linting
errors. That is pretty much the standard POSIX way to return a
resultcode back to the calling programm/shell. The CI pipeline
aborts, when something else then '0' is returned.
However, for the D language I found only 'dscanner'. It has a
report option, but seems to return always a '0'. I have to check
the JSON style output to find out, if any issues are reported or
not. This makes things more complicated than needed.
So, my simple question are:
* What is the recommended way to do automated linting for D
sources in CI pipelines or similiar?
* Is there any other tool than dscanner to do serious linting
for D language?
Carsten