Code
Awesome Android Lint – Android lint custom rules and resources

A curated list of great Android lint custom rules and resources.
Rules
- Google Sample Custom Lint Rules – Demo basic setup and packaging of lint rules.
- Uber Lint Checks – A set of opinionated and useful lint checks, includes Android and Rx checks.
- Vanniktech Lint Rules – A very extensive set of opinionated and useful lint checks, includes Android and Rx checks.
- Slack Lint Rules – Extensive set of rules including Dagger, Moshi, and Mocking. Also uses annotations with certain rules.
- Android Serialization and Immutability Lints – Rules for data immutability and serialization annotation for network requests.
- Android Builtin Checks – Source for Android built in lint detectors.
Articles
- Improve your code with lint checks – Official lint configuration guide
- Android Lint API Guide – Comprehensive official lint API documenation.
- Implementing your first Android lint rule – Introductory guide to writing lint rules
- Writing custom lint rules to maintain naming conventions – Introductory guide demonstrating Rx lint rule
- How to write a custom rule in Lint – Introductory guide demonstrating a forbidden import lint rule
