~/talk

Kotlin on Code Quality Tools

Talkat Mobilization 8 · on Friday, 2018-10-26· [kotlin, developer-experience]
links:none on file
slides:none on file

Compares Android Lint, Detekt and ktlint for Kotlin: Android Lint and ktlint run on formatting and can auto-fix issues (ktlint -F), Detekt provides static analysis and produces XML/HTML reports for CI; all expose standalone binaries and Gradle tasks. Demonstrates adding Detekt/ktlint as Gradle configurations, writing a custom rule that flags internal imports, and unit testing it — rule implementation in about 12 lines and test in about 10. Notes SonarQube integrates Detekt.

AI-written summary · about

  1. 0:00Motivation for code tools
  2. 2:37Tool overview and comparison
  3. 4:37Using Android Lint
  4. 7:29Using Detekt
  5. 10:13Extending Detekt
  6. 14:09Using Ktlint
  7. 16:07Extending Ktlint
  8. 18:38Resources and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.