1# EditorConfig is awesome: https://editorconfig.org
2
3# top-most EditorConfig file
4root = true
5
6# For all files
7[*]
8end_of_line = lf                  # Unix-style line ending
9insert_final_newline = true       # Unix-style newline ending every file
10trim_trailing_whitespace = true   # Automatically removes trailing whitespace
11charset = utf-8                   # Set default charset
12indent_style = space              # soft tabs
13indent_size = 4                   # 4 space indentation
14
15[*.{md,tex}]
16trim_trailing_whitespace = false  # Don't removes trailing whitespace
17
18# Matches multiple files with brace expansion notation
19[*.{json,yml,yaml,js,ts,jsx,tsx}]
20indent_size = 2
21
22# Python files
23[*.py]
24max_line_length = 88
25