Skip to content

Commit ed4b77b

Browse files
committed
ktlint: Set codestyle and ignore function naming for Composable
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
1 parent 675dbd3 commit ed4b77b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
root = true
77

88
[*.{kt,kts}]
9+
ktlint_code_style = android_studio
10+
# https://pinterest.github.io/ktlint/latest/rules/standard/#function-naming
11+
ktlint_function_naming_ignore_when_annotated_with = Composable
12+
913
ktlint_standard_annotation = disabled
1014
ktlint_standard_argument-list-wrapping = disabled
1115
ktlint_standard_backing-property-naming = disabled

0 commit comments

Comments
 (0)