-
Notifications
You must be signed in to change notification settings - Fork 17
/
.editorconfig
executable file
·58 lines (41 loc) · 1.1 KB
/
.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
##############################################################################
# Helps Coding Styles
# References:
# https://editorconfig.org/
# https://github.com/editorconfig/editorconfig/wiki/Projects-Using-EditorConfig
##############################################################################
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
# Always indent by 4 characters
indent_size = 4
# Docstrings and comments use max_line_length = 79
max_line_length = 79
# Enforce Unix style line endings (\n only)
end_of_line = lf
# Set default charset
charset = utf-8
# Always end files with a blank line
insert_final_newline = true
# Force space characters for indentation
indent_style = space
# Remove whitespace characters at the end of line
trim_trailing_whitespace = true
# HTML files
[*.html]
indent_size = 2
# JSON files
[*.json]
indent_size = 2
insert_final_newline = ignore
# JavaScript files
[**.min.js]
indent_style = ignore
insert_final_newline = ignore
# Makefiles
[Makefile]
indent_style = tab
# Batch files
[*.bat]
indent_style = tab