Cleanup after 1.7.2 release (#3204) * Revert "Master 1.7.x release on master (#3203)" This reverts commit 33aef59c68ef8d56d29c128fa494df86be6c1585. * Revert "Restrict publish release build to 1.7.2 on master-1.7.x branch (#3202)" This reverts commit 9b296eadeb02c3a403acb37480baa700281312fb. * Revert "Temporarily change publish release build flow to release version 1.7.2 while 1.8.0 is already released. (#3201)" This reverts commit 2eea5c56eeaddc3bf8ab3bbc44430673cf05d366. * Document how to release a patch version on an older minor release
.editorconfig supportplain, json, html and checkstyleFollow steps below for a quick start with latest ktlint release.
Step 1: Install with brew
brew install ktlint
See download and verification from GitHub 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.
User guide
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.