.editorconfig 567 B

123456789101112131415161718192021222324252627
  1. # EditorConfig is awesome: https://EditorConfig.org
  2. # top-most EditorConfig file
  3. root = true
  4. # Unix-style newlines with a newline ending every file
  5. [*]
  6. charset = utf-8
  7. end_of_line = lf
  8. trim_trailing_whitespace = true
  9. insert_final_newline = true
  10. # Matches multiple files with brace expansion notation
  11. # Set default charset
  12. [*.{erl, src, hrl}]
  13. indent_style = space
  14. indent_size = 4
  15. # Tab indentation (no size specified)
  16. [Makefile]
  17. indent_style = tab
  18. # Matches the exact files either package.json or .travis.yml
  19. [{.travis.yml}]
  20. indent_style = space
  21. indent_size = 2