GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ktlint/ktlint: An anti-bikeshedding Kotlin linter with built-in formatter

BranchesTags
Open more actions menu

Latest commit

 

History

3,087 Commits
3,087 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
build-logic
build-logic
 
 
config
config
 
 
documentation
documentation
 
 
gradle
gradle
 
 
ktlint-api-consumer
ktlint-api-consumer
 
 
ktlint-bom
ktlint-bom
 
 
ktlint-cli-reporter-baseline
ktlint-cli-reporter-baseline
 
 
ktlint-cli-reporter-checkstyle
ktlint-cli-reporter-checkstyle
 
 
ktlint-cli-reporter-core
ktlint-cli-reporter-core
 
 
ktlint-cli-reporter-format
ktlint-cli-reporter-format
 
 
ktlint-cli-reporter-html
ktlint-cli-reporter-html
 
 
ktlint-cli-reporter-json
ktlint-cli-reporter-json
 
 
ktlint-cli-reporter-plain-summary
ktlint-cli-reporter-plain-summary
 
 
ktlint-cli-reporter-plain
ktlint-cli-reporter-plain
 
 
ktlint-cli-reporter-sarif
ktlint-cli-reporter-sarif
 
 
ktlint-cli-ruleset-core
ktlint-cli-ruleset-core
 
 
ktlint-cli
ktlint-cli
 
 
ktlint-com-pinterest-backward-compatibility
ktlint-com-pinterest-backward-compatibility
 
 
ktlint-logger
ktlint-logger
 
 
ktlint-rule-engine-core
ktlint-rule-engine-core
 
 
ktlint-rule-engine
ktlint-rule-engine
 
 
ktlint-ruleset-standard
ktlint-ruleset-standard
 
 
ktlint-ruleset-template
ktlint-ruleset-template
 
 
ktlint-test-ruleset-provider-v3-deprecated
ktlint-test-ruleset-provider-v3-deprecated
 
 
ktlint-test
ktlint-test
 
 
.announce
.announce
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.homebrew
.homebrew
 
 
ADOPTERS.md
ADOPTERS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CLAUDE.md
CLAUDE.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
RELEASE_TESTING.MD
RELEASE_TESTING.MD
 
 
RELEASING.md
RELEASING.md
 
 
SECURITY.md
SECURITY.md
 
 
SIGNING.md
SIGNING.md
 
 
build.gradle.kts
build.gradle.kts
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
jitpack.yml
jitpack.yml
 
 
public-key-pinterest-ktlint.asc
public-key-pinterest-ktlint.asc
 
 
public-key.asc
public-key.asc
 
 
renovate.json
renovate.json
 
 
settings.gradle.kts
settings.gradle.kts
 
 

Repository files navigation

Ktlint logo with tag line 'An anti-bikeshedding Kotlin linter with built-in formatter.

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

Kotlin linter in spirit of standard/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 and native binaries
  • Allows extension with custom rule sets and reporters

Quick start

Follow steps below for a quick start with latest ktlint release.

  • Step 1: Install with brew

    brew install ktlint

    See download and verification from GitHub for native executables and the executable JAR, or other package managers for alternative ways of installing ktlint. Or, use one of the integrations like Maven and Gradle plugins.

  • Step 2: Lint and format your code
    All files with extension .kt and .kts in the current directory and below will be scanned. Problems will be fixed automatically when possible.

    ktlint --format
    # or
    ktlint -F

    See cli usage for a more extensive description on using ktlint.

Documentation

User guide

Legal

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

About

An anti-bikeshedding Kotlin linter with built-in formatter

ktlint.github.io/ktlint/

Topics

kotlinlintlinter

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

6.8k stars

Watchers

49 watching

Forks

535 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.