JLLeitschuh / ktlint-gradle

A ktlint gradle plugin
MIT License
1.47k stars 162 forks source link

Unexpected indentation (4) (should be 8) #734

Closed nininea closed 11 months ago

nininea commented 11 months ago

this is my .editorConfig file

Screenshot 2023-12-22 at 16 19 01

`root = true

[*.{kt,kts}]
max_line_length = 100
ktlint_standard_no-wildcard-imports = disabled
ktlint_standard_package-name = disabled
`

> id("org.jlleitschuh.gradle.ktlint") version "12.0.2"

wakingrufus commented 11 months ago

this is probably due to the new default code style in ktlint: https://pinterest.github.io/ktlint/0.49.1/rules/code-styles/ Closing this, as the plugin is working in this case, but it is ktlint behavior in question