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
Build Securely on Azure with Proven Frameworks Icon
Build Securely on Azure with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
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