.editorconfig 624 B

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