-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy path.editorconfig
32 lines (27 loc) · 872 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
# Universal EditorConfig config file, see https://editorconfig.org for the spec
# top-most EditorConfig file
root = true
# General settings for all files:
# - UTF-8 charset
# - Unix-style newlines with a newline ending every file
# - Indent with 4 spaces
# - Set the maximum line length to 120 characters (not supported by all editors)
# - Trim trailing whitespace
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
max_line_length = 120
trim_trailing_whitespace = true
# Tab indentation for Makefiles
[Makefile]
indent_style = tab
# 2 space indentation for YAML files
[*.{yml,yaml}]
indent_size = 2
# Only allow 72 character line length for commit messages
# See <https://www.git-scm.com/book/en/v2/Distributed-Git-Contributing-to-a-Project#_commit_guidelines> for a reference
[COMMIT_EDITMSG]
max_line_length = 72