-
I'm using ktlint [Gradle plugin](https://github.com/JLLeitschuh/ktlint-gradle/tree/main) and have configured some ktlint rules in my project's `.editorconfig` file. This is a multi-module Android proj…
-
We need to add the ktlint Compose ruleset as things are slipping through Detect. We also have to address new warnings that come up with the new ruleset.
-
**Describe the bug**
https://twitter.github.io/compose-rules/rules/#avoid-modifier-extension-factory-functions is no longer true now. Refer to the [official documentation](https://developer.android…
-
```groovy
plugins {
id 'com.diffplug.spotless' version '7.0.0.BETA1'
}
spotless {
java {
target("compatLib/**/src/**/*.java")
googleJavaFormat().aosp()
remove…
-
-
Hey folks,
I noticed that the bundled ktlint version is quite a bit behind the latest (0.49.1 vs [1.3.0](https://github.com/pinterest/ktlint/releases/tag/1.3.0)) which causes quite a bit of a linti…
-
## Behavior
When running detekt with the ktlint formatter set enabled (see attached reproducer project), the `IndentationRule` which is called in ktlint intermittently sees a failure during parsing.
…
-
## Describe the bug
Got exception on `./gradlew diktatFix`
```
ERROR: Assertion failed: anchorBefore == null || anchorBefore.getTreeParent() == parent
java.lang.Throwable: Assertion failed: an…
-
we configure the plugin like this:
```
ktlint {
disabledRules.set(
setOf(
"import-ordering",
"gradle-kotlin-dsl:gradle-kotlin-dsl-blank-lines",
…
-
## Expected Behavior of the rule
Update to ktlint to version `0.49.0` and add support for new features:
- Ktlint code styles