sonarlintPackage Sonarlint for Command Line as an npm module.
Sonarlint provides pre-commit feedback to developers on new bugs and quality issues injected into code, with several languages supported and simple usage.
npm install --save-dev sonarlint
sonarlintto your test suite like this, or see my package.json for an example of how I do it:
Sonarlint for Command Line is licensed under the GNU Lesser Public License v3.0
"test": "sonarlint --src 'src/**' --tests 'test/**'"