.editorconfig 608 B

12345678910111213141516171819202122232425262728
  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 = crlf
  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. # Tab indentation (no size specified)
  13. [Makefile]
  14. indent_style = tab
  15. # Indentation override for all JS under lib directory
  16. [lib/**.js]
  17. indent_style = space
  18. indent_size = 2
  19. # Matches the exact files either package.json or .travis.yml
  20. [{package.json,.travis.yml}]
  21. indent_style = space
  22. indent_size = 2