3

What plugin or tool should I use to enforce complete kdoc documentation on new Kotlin code? Java code is checked by checkstyle with Sun's rule set, I need a Kotlin's analogue for it.

andreoss
  • 1,570
  • 1
  • 10
  • 25

1 Answers1

3

Look at detekt and its comments rule set. Especially UndocumentedPublicClass, UndocumentedPublicFunction and UndocumentedPublicProperty.

It integrates with Maven via Ant task.

madhead
  • 31,729
  • 16
  • 153
  • 201