Make sure to read the Contributing guideline and the code of conduct first.
Development starts with cloning and building the project on your local machine:
git clone https://github.com/pinterest/ktlint && cd ktlint ./gradlew tasks # shows how to build, test, run, etc. project
To open and run
ktlint in Intellij IDEA:
- File -> Open....
- You'll also need to set the "Project language level" to 8 in "Project Settings" (File -> Project Structure... -> Project).
- To run
ktlint- right-click on