-
## Expected Behavior of the rule
Update to ktlint to version `0.49.0` and add support for new features:
- Ktlint code styles
-
we configure the plugin like this:
```
ktlint {
disabledRules.set(
setOf(
"import-ordering",
"gradle-kotlin-dsl:gradle-kotlin-dsl-blank-lines",
…
-
Readme states two ways how to add custom rules
```gradle
buildscript {
dependencies {
classpath files('libs/my-custom-ktlint-rules.jar')
classpath 'org.other.ktlint:custom-rul…
-
Hi, I'm using this plugin and following the instructions, I've added the following to my Groovy build.gradle file:
```
ktlint {
reporters {
reporter(org.jlleitschuh.gradle.ktlint.rep…
-
I ran into an issue using ktlint to format a file containing a value class. I opened an issue on the ktlint repo. I'm also crossposting here in case the fix involves rules_kotlin
https://github.com…
-
The `ktlint` tool supports loading and executing custom rulesets through the use of the `-R` flag. See [documentation](https://github.com/pinterest/ktlint#creating-a-ruleset).
It would be helpful i…
-
ktlint ruleset shows up as high severity issue when running a dependency check.
https://github.com/pinterest/ktlint/issues/512
The reason is that the ktlint module packages as ktlint.jar and ktlin…
-
@MyDogTom Is it still relevant?
I have a lot of issues with indentation and wanna use this project, but I can't download it anywhere
error:
> Could not find com.github.MyDogTom:ktlint-custom-ru…
-
The filter is not working in version 12.1.0 under Windows using the following configuration:
```
configure {
filter {
exclude("**/generated/**")
}
}
```
Below is how to wo…
-
For writing [detekt](https://github.com/detekt/detekt) / [ktlint](https://github.com/pinterest/ktlint) rules I have test code like
val findings = rule.lint(
// language=Kotlin
…