.editorconfig 965 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. [*.yml]
  13. max_line_length=150
  14. charset=utf-8
  15. # Trimming is good for consistency
  16. trim_trailing_whitespace=true
  17. # I've seen cases where a missing new_line was ignored on *nix systems.
  18. # Never again with this setting!
  19. insert_final_newline=true
  20. [*.properties]
  21. # Exception for Java properties files should be encoded latin1 (aka iso8859-1)
  22. charset=latin1
  23. [*.{cmd,bat}]
  24. # batch files on Windows should stay with CRLF
  25. end_of_line=crlf
  26. [*.md]
  27. trim_trailing_whitespace=false
  28. [.drone.yml]
  29. indent_size=2
  30. [*.{kt,kts}]
  31. # IDE does not follow this Ktlint rule strictly, but the default ordering is pretty good anyway, so let's ditch it
  32. disabled_rules=import-ordering