Ark icon indicating copy to clipboard operation
Ark copied to clipboard

static analysis should run on each commit through precommit

Open SuperFola opened this issue 1 year ago • 0 comments

It is already in the project, but I'm marking this as "todo" because its configuration leaves to be desired. It appears to run only on modified files and thus will report "unused var x" even though it's imported in another file (that isn't modified by the commit).

Maybe there is a way to configure precommit and cppcheck to run only on modified files but take the whole src/ and include/ folders to register definitions and usage?

SuperFola avatar May 16 '24 12:05 SuperFola