- Please check out my Youtube channel.
- Static code analysis tool for Kotlin which
code style
,code formatting
andcode convention
. - Widely used in `Android Projects``
- Keep your code consistent.
- Add KtLint Gradle Plugin at the
build.gradle
project level. - Apply KtLint Plugin to modules/subprojects.
- Define KtLint configuration such as version,
android
,verbose
,reporters
,filters
. - Check Kotlin issues:
./gradlew ktlintCheck
. - Create an
.editorconfig
file to tweak/adjust rules in th root folder. - Fix Kotlin issues:
./gradlew ktlintFormat
you agree with.
Other options are available
- Used in intro screens
- Slide between pages