Kotlin Mumbai: Building a better codebase with Lint on Android

Subhrajyoti Sen talks about using lint in Android to build a better codebase

Event Details


Lint is a powerful static analysis tool that can be used to enforce coding styles and also find common bugs across a codebase. Google provides a bunch of lint checks by default for Android. On popular demand, the Lint API was extended to support non-Android Kotlin projects too.

In this talk, Subhrajyoti discusses some examples of custom lint checks we use on the Tickertape app to enforce out design guidelines. He will go through the source code of Android lint checking and then show how to write a custom lint rule.

This talk also demonstrates how to write test cases for the rules. By the end of the talk, you will be able to understand how lint works and how you can add custom lint rules to your projects.

Missed the session? No problem! Watch the entire talk on YouTube!

About the author

Profile Picture

Siddhesh Patil is an Android engineer at Paytm Insider. He is currently working on Paytm, a leading payments platform in India. Being passionate about Android and Kotlin, he maintains this website to talk about the latest trends in mobile software. He also organizes a community of developers called Kotlin Mumbai with Jetbrains and is also a Google community lead.

Share this post on