sya-ri / ktlint

An anti-bikeshedding Kotlin linter with built-in formatter

Home Page:https://pinterest.github.io/ktlint/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Join the chat at https://kotlinlang.slack.com Build status Maven Central ktlint

Kotlin linter in spirit of feross/standard (JavaScript) and gofmt (Go).

Key features

  • No configuration required
  • Built-in Rule sets
  • Built-in formatter
  • .editorconfig support
  • Several built-in reporters: plain, json, html and checkstyle
  • Executable jar
  • Allows extension with custom rule sets and reporters

Documentation

User guide

Legal

This project is not affiliated with nor endorsed by JetBrains.
All code, unless specified otherwise, is licensed under the MIT license.
Copyright (c) 2019 Pinterest, Inc.
Copyright (c) 2016-2019 Stanley Shyiko.

About

An anti-bikeshedding Kotlin linter with built-in formatter

https://pinterest.github.io/ktlint/

License:MIT License


Languages

Language:Kotlin 99.8%Language:Shell 0.2%