block / block/radiography

Ktlint 0.38.0 breaks indentation checking

Open
#67 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
899
Forks
55
PR merge metrics
No merged PRs in 30d

Description

Ktlint 0.38.0 [removed support](https://github.com/pinterest/ktlint/releases/tag/0.38.0) for configuring continuation indentation separate from non-continuation indentation via `.editorconfig` files. Since our code style uses an indent of 2 spaces with a continuation indent of 4 spaces, ktlint no longer accepts our code. Tracked in https://github.com/pinterest/ktlint/issues/816.

Until this is fixed, I've just disabled ktlint's indentation checking entirely so we can start using kotlin 1.4.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.