-
Notifications
You must be signed in to change notification settings - Fork 6
/
.editorconfig
33 lines (27 loc) · 787 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
# Configures developers' editors to project coding standards.
# Requires users to have an editorconfig extension installed on their editor.
# Adapted largely from https://EditorConfig.org.
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# Matches multiple files with brace expansion notation
# Set default charset and tab width
[*.{js,py}]
charset = utf-8
indent_style = space
indent_size = 2
# cpp and hpp file indentation
[*.{cpp,hpp}]
indent_style = space
indent_size = 2
# Makefile indentation
[Makefile]
indent_style = tab
# Matches the exact files
[{package.json,.travis.yml, CI.yml}]
indent_style = space
indent_size = 2