SonarLint with Visual Studio 2019 and codacy

Hi,

I am using sonarLint in visual studio 2019 and wants to modify default rule sets here. Then need to generate SonarLint.xml file for modified rule sets, so that i can use this xml file in codacy.com.

It would be great if any one can help on this use case.

Thanks in advance