Ktlint: Make more clear in front page README about support of official coding conventions

Created on 24 Sep 2018  路  2Comments  路  Source: pinterest/ktlint

https://kotlinlang.org/docs/reference/coding-conventions.html

I'd be nice if the front page README was more clear about supporting the official coding conventions out of the box, and if ktlint defaults to those without further configuration.

Most helpful comment

Hi @binkley.

While ktlint is based on the official Kotlin style guide it's a little bit more strict (max number of blank lines is 1 instead of 2, wildcard imports/redundant semicolons/empty lines before } are prohibited) (https://github.com/shyiko/ktlint#-with-intellij-idea).

I'll update the README to make it clear. :bowing_man:

All 2 comments

Hi @binkley.

While ktlint is based on the official Kotlin style guide it's a little bit more strict (max number of blank lines is 1 instead of 2, wildcard imports/redundant semicolons/empty lines before } are prohibited) (https://github.com/shyiko/ktlint#-with-intellij-idea).

I'll update the README to make it clear. :bowing_man:

This is the first thing I wanted to know about ktlint.

Was this page helpful?
0 / 5 - 0 ratings