.editorconfig 726 B

12345678910111213141516171819202122232425262728293031323334353637
  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. end_of_line = lf
  7. insert_final_newline = true
  8. indent_size = 2
  9. # Matches multiple files with brace expansion notation
  10. # Set default charset
  11. [*.{js,py}]
  12. charset = utf-8
  13. indent_style = space
  14. indent_size = 2
  15. # 4 space indentation
  16. [*.py]
  17. indent_style = space
  18. indent_size = 2
  19. # Tab indentation (no size specified)
  20. [Makefile]
  21. indent_style = tab
  22. # Indentation override for all JS under lib directory
  23. [lib/**.js]
  24. indent_style = space
  25. indent_size = 2
  26. # Matches the exact files either package.json or .travis.yml
  27. [{package.json,.travis.yml}]
  28. indent_style = space
  29. indent_size = 2