.editorconfig 751 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. # 4 space indentation
  13. [*.py]
  14. indent_style = space
  15. indent_size = 4
  16. # 2 space indentation
  17. [*.{vue,scss,ts}]
  18. indent_style = space
  19. indent_size = 2
  20. # Tab indentation (no size specified)
  21. [Makefile]
  22. indent_style = tab
  23. # Indentation override for all JS under lib directory
  24. [lib/**.js]
  25. indent_style = space
  26. indent_size = 2
  27. # Matches the exact files either package.json or .travis.yml
  28. [{package.json,.travis.yml}]
  29. indent_style = space
  30. indent_size = 2