In Android Studio there is the lint.xml configuration and ./idea/inspectionProfiles/.xml manageable via Settings => Editor => Inspections. I understand lint.xml is used by lint command line tool and the inspection profile is used by Android Studio IDE.
The official documentation is here. I also found this post How is lint integrated with IntelliJ inspections in Android Studio? and this post Android lint on command-line missing issue groups (versus options available in Android Studio).
This answer has a good example of lintOptions{ } block in build.gradle.
Yet there is some information missing.
- Are numbers and names of the rules the same?
- Is there a (simple) way to convert inspection profile to the lint.xml and vice versa?
- Are they completely separated or are there cases when one is included in the other?
- Which one is executed apart from cases metioned above (e.g. analysis on commit)?