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
Cut Data Warehouse Costs by 54% Icon
Cut Data Warehouse Costs by 54%

Easily migrate from Snowflake, Redshift, or Databricks with free tools.

BigQuery delivers 54% lower TCO with exabyte scale and flexible pricing. Free migration tools handle the SQL translation automatically.
Try 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