.editorconfig 948 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # see http://EditorConfig.org
  2. # This is the file in the root of the project.
  3. # For sub folders you can have other files that override only some settings.
  4. # For these, this settings should be false.
  5. root=true
  6. [*]
  7. max_line_length=120
  8. # use spaces, not tabs.
  9. indent_style=space
  10. indent_size=4
  11. [*.yml]
  12. max_line_length=150
  13. charset=utf-8
  14. # Trimming is good for consistency
  15. trim_trailing_whitespace=true
  16. # I've seen cases where a missing new_line was ignored on *nix systems.
  17. # Never again with this setting!
  18. insert_final_newline=true
  19. [*.properties]
  20. # Exception for Java properties files should be encoded latin1 (aka iso8859-1)
  21. charset=latin1
  22. [*.{cmd,bat}]
  23. # batch files on Windows should stay with CRLF
  24. end_of_line=crlf
  25. [*.md]
  26. trim_trailing_whitespace=false
  27. [.drone.yml]
  28. indent_size=2
  29. [*.{kt,kts}]
  30. # IDE does not follow this Ktlint rule strictly, but the default ordering is pretty good anyway, so let's ditch it
  31. disabled_rules=import-ordering