.editorconfig 608 B

123456789101112131415161718192021222324252627282930
  1. # top-most EditorConfig file
  2. root = true
  3. # Unix-style newlines with a newline ending every file
  4. [*]
  5. indent_style = space
  6. indent_size = 4
  7. insert_final_newline = true
  8. trim_trailing_whitespace = true
  9. end_of_line = lf
  10. charset = utf-8
  11. [*.py]
  12. max_line_length = 119
  13. # The JSON files contain newlines inconsistently
  14. [*.json]
  15. indent_size = 2
  16. insert_final_newline = ignore
  17. # Minified JavaScript files shouldn't be changed
  18. [**.min.js]
  19. indent_style = ignore
  20. insert_final_newline = ignore
  21. # Matches the exact files either package.json or .travis.yml
  22. [{package.json,.travis.yml}]
  23. indent_style = space
  24. indent_size = 2