forked from LF-Certification/bashp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
33 lines (27 loc) · 785 Bytes
/
.editorconfig
File metadata and controls
33 lines (27 loc) · 785 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
26
27
28
29
30
31
32
33
# "EditorConfig helps maintain consistent coding styles for multiple developers working on the same
# project across various editors and IDEs."
# https://editorconfig.org/#overview
root = false
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = 100
trim_trailing_whitespace = true
[*.diff]
# Trailing whitespace is a valid part of diff files
trim_trailing_whitespace = false
[*.md]
# Ensure indented text sections are valid
indent_size = 4
# Markdown newline can be expressed as two trailing spaces
trim_trailing_whitespace = false
[*.py]
indent_size = 4
# Match line length to Black autoformatting
max_line_length = 88
[{Makefile,**.mk}]
# Use tabs for indentation (Makefiles require tabs)
indent_style = tab