Ignore modifier of backing property in android_studio code style by paul-dingemans · Pull Request #2552 · ktlint/ktlint (original) (raw)

Description

Ignore modifier of backing property in android_studio code style

Extract backing-property-name from property-naming rule. This allows users to disable this rule, but keep the property-naming rule in place.

For android_studio code style the restrictions regarding the modifier of the correlated property or function is ignored entirely as the Android Kotlin Styleguide does not require it to be public.

Closes #2528

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