-
Although we are supposed to consider the editorconfig file contents a build input and re-run lint tasks when it changes, somehow this isn't happening sometimes. It often leads users to perceive that o…
-
Forcing braces in multiline if-else improves readability, so why not extend it to all control flow statements: `for`, `while`, and `if`?
```kotlin
fun hasDigit(string: String): Boolean {
for …
-
## Expected Behavior
Input
```kotlin
fun zero():
Float
// comment1
// comment2
{
return 0.0f
}
```
Expected result
```kotlin
fun zero(): Float {
// comment1
// comment2
…
-
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Current Behavior
Previously the version info of all the linters was not shown by default and required a …
-
Hi,
I like the plugin a lot, what I am missing is an option, to have a few rules disabled not on a project-level, but for all projects together. I would see it as kind of a hierarchy, that you have…
-
Ktlint 1.0.0 warns that composable functions should be named lower case.
Composable functions should be named CamelCase and not lowerCase.
## Steps to reproduce
```kotlin
package yazio.debug…
-
```
Execution failed for task ':app:detekt'.
> Could not resolve all files for configuration ':app:detektPlugins'.
> Could not resolve org.jetbrains.kotlin:kotlin-compiler-embeddable:{strictly 1…
-
Please do correct me if I am wrong here and there is an alternative. But trying out 0.20.0-beta-2 of the plugin, when I do a change in .editorconfig, I still get warnings in the IDE from the ktlint er…
-
### Current Behavior
```gradle
configurations.create("spotlessDeps") {
canBeConsumed = false
transitive = true
visible = false
attributes { attr ->
attr.attribute(Bund…
-
Is there a way to remove the `KtlintCheck`, when running the `cradle build` command.
I don't want to `ktlint` commands to run automatically. And only should run, when wrote manually on terminal.