There are lots of options for (2) like --styleCheck:usages --styleCheck:errorand none for (1). Note that the number of bugs these options have found in my experience is 0.
For that kind of checks, you will probably need another tool, like nimalyzer: https://github.com/thindil/nimalyzerJust "small"warning, it is in pre-alpha stage that's why I don't advertise it around. At least not too often. :)