pinterest / ktlint

An anti-bikeshedding Kotlin linter with built-in formatter
https://pinterest.github.io/ktlint/
MIT License
6.07k stars 504 forks source link

Ignore simple reference expressions in `chain-method-continuation` #2569

Closed paul-dingemans closed 4 months ago

paul-dingemans commented 4 months ago

Description

Simple reference expressions like properties and enum values should be ignored by this rule as they are no method calls.

Closes #2455

Checklist

Before submitting the PR, please check following (checks which are not relevant may be ignored):

Documentation is updated. See difference between snapshot and release documentation