Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make more clear in front page README about support of official coding conventions #284

Closed
binkley opened this issue Sep 24, 2018 · 2 comments

Comments

@binkley
Copy link

binkley commented Sep 24, 2018

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.

@shyiko
Copy link
Collaborator

shyiko commented Sep 27, 2018

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. 🙇‍♂️

@camsteffen
Copy link

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

shyiko pushed a commit that referenced this issue Feb 12, 2019
@shyiko shyiko closed this as completed Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants