.editorconfig 672 B

1234567891011121314151617181920212223242526
  1. # editorconfig.org
  2. root = true
  3. [*]
  4. end_of_line = lf
  5. insert_final_newline = true
  6. trim_trailing_whitespace = true
  7. charset = utf-8
  8. indent_style = space
  9. indent_size = 4
  10. [{*.kt,*.kts}]
  11. ktlint_code_style = android_studio
  12. max_line_length = 150
  13. ij_kotlin_allow_trailing_comma = true
  14. ij_kotlin_allow_trailing_comma_on_call_site = true
  15. ktlint_function_naming_ignore_when_annotated_with = Composable
  16. # The following rules have been intentionally disabled, as they are too aggressive
  17. # and do not match our preferences
  18. ktlint_standard_function-signature = disabled
  19. ktlint_standard_no-wildcard-imports = disabled
  20. [*.{yml,yaml}]
  21. indent_size = 2
  22. ij_any_spaces_within_brackets = false