Skip to content

Commit

Permalink
update editorConfig for KtLint 1.0.0+
Browse files Browse the repository at this point in the history
  • Loading branch information
RBusarow committed Feb 2, 2024
1 parent 8049858 commit 4db2667
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
15 changes: 8 additions & 7 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -487,23 +487,24 @@ kotlin_imports_layout = *,java.**,javax.**,kotlin.**,^
# test methods with descriptive names.
ktlint_ignore_back_ticked_identifier = true

# ktlint_code_style = official
ktlint_function_signature_body_expression_wrapping = default
ktlint_function_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = 3
ktlint_code_style = intellij_idea

ktlint_experimental_class-naming = disabled
ktlint_experimental_function-naming = disabled
ktlint_experimental_function-signature = disabled
ktlint_experimental_property-naming = disabled
ktlint_standard_class-naming = disabled
ktlint_standard_class-signature = disabled
ktlint_standard_filename = disabled
ktlint_standard_function-expression-body = disabled
ktlint_standard_function-naming = disabled
ktlint_standard_function-signature = disabled
ktlint_standard_max-line-length = disabled
ktlint_standard_no-empty-first-line-in-method-block = disabled
ktlint_standard_property-naming = disabled
ktlint_standard_trailing-comma-on-call-site = disabled
ktlint_standard_trailing-comma-on-declaration-site = disabled
ktlint_standard_type-parameter-list-spacing = disabled
ktlint_standard_value-parameter-comment = disabled

ktlint_function_signature_body_expression_wrapping = default
ktlint_function_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = 3

[{*.kt,*.kts}]
ij_continuation_indent_size = 2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
// Type variance issue: https://github.com/square/workflow-kotlin/issues/891
@file:Suppress("EXPERIMENTAL_API_USAGE")
@file:Suppress(
"EXPERIMENTAL_API_USAGE",
"ktlint:standard:parameter-list-spacing",
"ktlint:standard:parameter-wrapping"
)
@file:JvmMultifileClass
@file:JvmName("Workflows")

Expand Down

0 comments on commit 4db2667

Please sign in to comment.