-
https://github.com/pinterest/ktlint/blob/bc08930a1f0848e7ee774b24512ba6ae4e25e9be/ktlint-ruleset-standard/src/main/kotlin/com/pinterest/ktlint/ruleset/standard/ImportOrderingRule.kt#L36
Using Intel…
-
It seems that ktlint [supports autoCorrect for indentation rule](https://github.com/pinterest/ktlint/blob/88c9e80d973dd7932454ef086c532305a492fe07/ktlint-ruleset-standard/src/main/kotlin/com/pinterest…
-
If I have some code like this:
```kotlin
val prettyString = computeSomeString()
@Suppress("RemoveCurlyBracesFromTemplate")
val expectedPrint = """
|${TAB}=======================================…
-
Is there a rule to enforce a new line(or no new line) between the class body and the first member declaration?
Example if the rule is set up to enforces no newline then:
### Noncompliant Code:
…
-
OK
```
fun bar() {
val a = 2
}
```
Fail
```
fun bar() {
val a = 2
}
```
-
I have a following Retrofit interface:
```Kotlin
interface UserService {
fun updateMarketingConsent(
@Path("userId") userId: String,
@Path("context") context: String,
…
-
Please support `--disabled_rules`.
I need it to disable `no-wildcard-imports`, because IntelliJ keeps adding in the dreaded `java.util.*` due to its misguided `Packages to Use Import with '*'` feat…
-
I'm currently struggling with the auto correct feature.
I got it working to the point that it auto corrects some issues.
But it never adds final new lines or corrects the wildcard issues.
Regarding…
-
Hi,
The plugin was working great with version 0.27.0. However, it's started not to find some dependency versions with version 0.28.0.
For example; I am currently using **Lottie 3.3.1** but they …
-
Hi, is it possible to add a rule to .editorconfig to ignore functions?
I see that it is a standard rule to separate by line each function parameter, but I would like to have function parameters in …