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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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