.editorconfig 539 B

1234567891011121314151617181920212223242526
  1. # top-most EditorConfig file
  2. root = true
  3. # Unix-style newlines with a newline ending every file
  4. [*]
  5. end_of_line = lf
  6. insert_final_newline = true
  7. indent_style = space
  8. indent_size = 2
  9. trim_trailing_whitespace = true
  10. # Set default charset
  11. [*.{js,py,go,scala,rb,java,html,css,less,sass,md}]
  12. charset = utf-8
  13. # Tab indentation (no size specified)
  14. [*.go]
  15. indent_style = tab
  16. [*.md]
  17. trim_trailing_whitespace = false
  18. # Matches the exact files either package.json or .travis.yml
  19. [{package.json,.travis.yml}]
  20. indent_style = space
  21. indent_size = 2