-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
25 lines (20 loc) · 786 Bytes
/
.editorconfig
File metadata and controls
25 lines (20 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# EditorConfig is awesome: https://editorconfig.org
# top-most EditorConfig file
root = true
# For all files
[*]
end_of_line = lf # Unix-style line ending
insert_final_newline = true # Unix-style newline ending every file
trim_trailing_whitespace = true # Automatically removes trailing whitespace
charset = utf-8 # Set default charset
indent_style = space # soft tabs
indent_size = 4 # 4 space indentation
max_line_length = 100 # Specifies the maximum line length
[*.{md,tex}]
trim_trailing_whitespace = false # Don't remove trailing whitespace
# Matches multiple files with brace expansion notation
[*.{json,yml,yaml,js,ts,jsx,tsx}]
indent_size = 2
# Python files
[*.py]
max_line_length = 88