I want to include some additional lint rules in my Android project. And by additional rules, i mean that i just want to include some extra rules from the list given in Android Studio( Pic attached)
From the picture, i want to include the non-checked items also. Now i can do this very easily by checking the checkbox in Android Studio, but i want to do it for my Jenkins setup.
So is there any such XML file in which i can write the rules and just include it and it will run or do i have to go this hard way. I feel that there is an easy way to do it because it just a pre-defined rule and not any custom rule that i will be writing.
EDIT: For Android lint rules, i can create a lint file like this
<?xml version="1.0" encoding="UTF-8"?>
<lint>
<issue id="HardcodedText" severity="error" />
</lint>
But there is no such id/keyword for Java/C++/Other lint rules