editorconfig 880 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # EditorConfig is awesome: http://EditorConfig.org
  2. # top-most EditorConfig file
  3. root = true
  4. # Unix-style newlines with a newline ending every file
  5. [*]
  6. indent_style = space
  7. indent_size = 2
  8. max_line_length=80
  9. end_of_line = lf
  10. charset = utf-8
  11. trim_trailing_whitespace = true
  12. insert_final_newline = true
  13. # Matches multiple files with brace expansion notation
  14. # Set default charset
  15. [*.{js,py}]
  16. charset = utf-8
  17. # 4 space indentation
  18. [*.py]
  19. indent_style = space
  20. indent_size = 4
  21. # Tab indentation (no size specified)
  22. [Makefile]
  23. indent_style = tab
  24. # Indentation override for all JS under lib directory
  25. [lib/**.js]
  26. indent_style = space
  27. indent_size = 2
  28. # Matches the exact files either package.json or .travis.yml
  29. [{package.json,.travis.yml},*.jade,*.js,*.xml,*.html,*.el]
  30. indent_style = space
  31. indent_size = 2
  32. # LaTeX Style
  33. [*.{tex,bib,lyx,lua}]
  34. indent_style = space
  35. indent_size = 2