-
```sh
chmod +x ktfmt-0.50-jar-with-dependencies.jar
./ktfmt-0.50-jar-with-dependencies.jar
zsh: exec format error: ./ktfmt-0.50-jar-with-dependencies.jar
```
We can't execute this jar directly …
-
Every time the code is formatted with ktlint, the code block below alternates between the two states given at the `Observed Behavior`.
## Expected Behavior
I expect this to be accepted with…
-
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.
## Open
These updates have all …
-
**Describe the bug**
Currently, ktlint is not catching the comment block bad format.
```kt
/**
*
*
* */
```
**Expected behavior**
Ktlint should catch this bad format.
Correct for…
-
We should update ktlint to the latest version since it actually has some issues with Kotlin 1.4 (i.e. ``fun interface`` results in a ktlint failure that can't be worked around), but there are a lot of…
-
```groovy
plugins {
id 'com.diffplug.spotless' version '7.0.0.BETA1'
}
spotless {
java {
target("compatLib/**/src/**/*.java")
googleJavaFormat().aosp()
remove…
-
Hi, guys!
**Summary of problem**
Somehow running spotlessApply causes Exceeded max line length (120) codestyle errors all over the project.
But, I see in Android Studio that line dosn't really ex…
-
## Expected Behavior of the rule
Update to ktlint to version `0.49.0` and add support for new features:
- Ktlint code styles
-
ktlint gradle version: 11.0.0
agp version: 7.2.2
gradle version: gradle-7.5.1-bin
After removing ktlint, the project can run sync and build normally.
```
java.lang.NoClassDefFoundError: com/and…
-
## Expected Behavior
Our Android project contains many class declarations that look like this:
```kotlin
class Foo @Inject constructor(
private val someDependency: SomeDependency,
…