.editorconfig 936 B

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