It is compatible with the Issues Report plugin to run pre-commit local analysis.
Reports from JsTestDriver can be imported into Sonar.
See Metrics documentation page.
New coding rules can be added using XPath. See the related documentation.