Clone this repo:
  1. c5feb55 Do not wrap an annotated expression before a lambda expression as it results in a compilation error (#3268) by Paul Dingemans · 5 days ago upstream/master
  2. f833937 Fix regression in backwards compatibility of Ktlint 1.x rulesets (#3267) by Paul Dingemans · 5 days ago
  3. 51e5e6f Do not remove UTF BOM character (#3264) by Paul Dingemans · 5 days ago
  4. 9d987e0 Merge pull request #3263 from pinterest/cleanup-deprecations by Paul Dingemans · 5 days ago
  5. f6d5e91 Fix api contracts by Paul Dingemans · 6 days ago

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

User guide

Legal

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.