When I run lint in Android Studio via Analyze -> Inspect Code I am able to select from a large variety of things to look for.
When I go to the command-line version of lint and list all available things to check (lint --list), I get a list that does not include all the inspections I see in Android Studio.
For example, I am able to run an inspection with ID ConstantConditions in Android Studio, but am unable to run it on the command-line.
~/app [master] lint --check ConstantConditions --xml results.xml app
Invalid id or category "ConstantConditions".
Is Android Studio using some other version of lint? Here is some info on the command-line version of lint:
~/app [master] which lint
lint is /Users/Mark/android-sdk-macosx/tools/lint
~/app [master] lint --version
lint: version 24.3.3