Back to Ktlint

README

README.md

1.8.03.1 KB
Original Source
<h1 align="center"> <a href="https://pinterest.github.io/ktlint/"> </a> </h1> <p align="center"> <a href="https://kotlinlang.slack.com/messages/CKS3XG0LS"></a> <a href="https://github.com/pinterest/ktlint/actions/workflows/publish-snapshot-build.yml"></a> <a href="https://central.sonatype.com/artifact/com.pinterest.ktlint/ktlint-cli?smo=true"></a> <a href="https://jitpack.io/#pinterest/ktlint"></a> <a href="https://formulae.brew.sh/formula/ktlint"></a> <a href="LICENSE"></a> <a href="https://pinterest.github.io/ktlint/"></a> </p> <p align="center"> <a href="https://kotlinlang.org/">Kotlin</a> linter in spirit of <a href="https://github.com/standard/standard">standard/standard</a> (JavaScript) and <a href="https://golang.org/cmd/gofmt/">gofmt</a> (Go). </p>

Key features

  • No configuration required
  • Built-in Rule sets
  • Built-in formatter
  • .editorconfig support
  • Several built-in reporters: plain, json, html and checkstyle
  • Executable jar
  • Allows extension with custom rule sets and reporters

Quick start

Follow steps below for a quick start with latest ktlint release.

Documentation

<a href="https://pinterest.github.io/ktlint/">User guide</a>

This project is not affiliated with nor endorsed by JetBrains.
All code, unless specified otherwise, is licensed under the MIT license.
Copyright (c) 2019 Pinterest, Inc.
Copyright (c) 2016-2019 Stanley Shyiko.