No configuration, which means no decisions to make, nothing to argue about and no special files to manage. While this might sound extreme, keep in mind that ktlint tries to capture (reflect) official code style from kotlinlang.org and Android Kotlin Style Guide (+ we respect your .editorconfig and support additional ruleset|s). Built-in formatter. So that you wouldn't have to fix all style violations by hand. Customizable output. plain (+ plain?group_by_file), JSON, HTML and check style reporters are available out-of-the-box. It's also easy to create your own. A single executable jar with all dependencies included. ktlint is a single binary with both linter & formatter included. All you need is to drop it in (no need to get overwhelmed while choosing among dozens of code style options).

Features

  • Override Editorconfig properties for specific directories
  • You can try ktlint online
  • On macOS (or Linux) you can also use brew
  • Change the code style config files in a single IDEA project
  • A complete sample project (with tests and build files) is included
  • You can add your own ruleset(s) to discover potential bugs

Project Samples

Project Activity

See All Activity >

Categories

Data Formats, Linters

License

MIT License

Follow ktlint

ktlint Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ktlint!

Additional Project Details

Operating Systems

Android, Linux, Mac, Windows

Programming Language

Kotlin

Related Categories

Kotlin Data Formats Software, Kotlin Linters

Registered

2021-12-28