-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
37 lines (29 loc) · 864 Bytes
/
.editorconfig
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
26
27
28
29
30
31
32
33
34
35
36
37
# EditorConfig is awesome: https://EditorConfig.org
# Top-most EditorConfig file
root = true
# Global settings (applicable to all files unless overridden)
[*]
charset = utf-8 # Default character encoding
end_of_line = lf # Use LF for line endings (Unix-style)
indent_style = space # Use spaces for indentation
indent_size = 4 # Default indentation size
insert_final_newline = true # Make sure files end with a newline
trim_trailing_whitespace = true # Remove trailing whitespace
# Python specific settings, complying with PEP 8 style guide, except for the line length
[*.py]
max_line_length = 100
# Markdown files
[*.md]
trim_trailing_whitespace = false # Don't remove trailing whitespace in Markdown files
# Bash scripts
[*.sh]
indent_size = 4
# SQL files
[*.sql]
indent_size = 4
# YAML files
[*.yml]
indent_size = 4
# JSON files
[*.json]
indent_size = 4