.editorconfig 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # http://editorconfig.org
  2. root = true
  3. [*]
  4. charset = utf-8
  5. # for alignment reasons the last tab may be replaced with < indent_size spaces,
  6. # which we currently can't configure here
  7. indent_style = tab
  8. indent_size = 4
  9. end_of_line = lf
  10. insert_final_newline = true
  11. trim_trailing_whitespace = true
  12. block_comment_start = /*
  13. block_comment = *
  14. block_comment_end = */
  15. # don't change these files
  16. [{doc/**,src/include/{linux,sys}/**,testing/{hosts,tests}/**,AUTHORS,COPYING}]
  17. charset = unset
  18. indent_style = unset
  19. indent_size = unset
  20. end_of_line = unset
  21. insert_final_newline = unset
  22. trim_trailing_whitespace = unset
  23. # never trim whitespace in patches, everything else should not be changed
  24. [*.patch]
  25. trim_trailing_whitespace = false
  26. charset = unset
  27. indent_style = unset
  28. indent_size = unset
  29. end_of_line = unset
  30. insert_final_newline = unset
  31. [{.*,NEWS,README,INSTALL,*.{gemspec.in,pod,rb,ui}}]
  32. indent_style = space
  33. indent_size = 2
  34. [*.{gpr,adb,ads}]
  35. indent_style = space
  36. indent_size = 3
  37. line_comment = --
  38. [{*.{md,gradle,xml},HACKING}]
  39. indent_style = space
  40. indent_size = 4
  41. [src/libcharon/plugins/vici/README.md]
  42. indent_style = tab
  43. [src/libcharon/plugins/vici/**/*.{rst,PL,pm,py}]
  44. indent_style = space
  45. indent_size = 4