It is compatible with the Issues Report plugin to run pre-commit local analysis.
SonarQube can read and import:
See Metrics documentation page.
New coding rules can be added using XPath. See the related documentation.