-
If you are submitting a **bug**, please include the following:
# Summary of problem
Spotless fails with an `java.lang.ClassCastException` when running apply or check (stack trace below).
This onl…
-
ktfmt emits the following:
```
f(43
/*bla */ )
```
(when the max line width is short enough)
Note the space between the closing `*/` and the closing `)`.
This is coming from https://g…
-
The plugin comes with a bundled version of the ktlint rule engine and ruleset. Users should however be in control to use the ruleset from another ktlint version which is compatible with currently bund…
-
Error:
Version 1.2.1
./ktlint -F /path/**/*.kt
```
Internal Error (rule 'standard:binary-expression-wrapping') in MyViewModel.kt at position '0:0. Please create a ticket at https://github.com/pi…
-
## Expected Behavior
MultilineRawStringIndentation and StringTemplateIndent should work together.
## Observed Behavior
MultilineRawStringIndentation and StringTemplateIndent seems to conflict.
…
-
The sample rules don't override `withAutoCorrect` and I can't tell from the documentation how it's intended to be used. I don't know what the `block` parameter is, whether or not I'm supposed to expli…
-
- Source: https://detekt.dev/docs/rules/formatting#maximumlinelength
Important:
Version: 1.23.5
Formatting Rule Set
This rule set provides wrappers for rules implemented by ktlint - https://kt…
Mj-br updated
8 months ago
-
## Expected Behavior
Show _Blank lines between when-conditions_, _KDoc_ and _Square brackets spacing_ on https://pinterest.github.io/ktlint/1.2.0/rules/standard/
## Observed Behavior
_Blank lines…
-
**Version 1.2.1**
**gradle.properties:**
`android.nonTransitiveRClass=true`
Rules:
```
[{*.gradle.kts,*.kt,*.kts,*.main.kts}]
ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL
ij_kotlin_align…
-
## Expected Behavior
Currently, the `function-naming` rule [allows function names](https://pinterest.github.io/ktlint/latest/rules/standard/#function-naming) enclosed in backticks to deviate from `…