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
Run Any Workload on Compute Engine VMs Icon
Run Any Workload on Compute Engine VMs

From dev environments to AI training, choose preset or custom VMs with 1–96 vCPUs and industry-leading 99.95% uptime SLA.

Compute Engine delivers high-performance virtual machines for web apps, databases, containers, and AI workloads. Choose from general-purpose, compute-optimized, or GPU/TPU-accelerated machine types—or build custom VMs to match your exact specs. With live migration and automatic failover, your workloads stay online. New customers get $300 in free credits.
Try Compute Engine
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