-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
51 lines (38 loc) · 1.02 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
; ==============================================================================
; This file helps to enforce a consistent coding style across different editors.
;
; Single-line comments, rather than end-of-line comments, are used for
; compatibility with Neovim!
;
; https://editorconfig.org/
; ==============================================================================
# This is the project's root directory.
root = true
# Defaults for all files.
[*]
# Files are UTF-8 encoded.
charset = utf-8
# Files use Unix line endings.
end_of_line = lf
# Use spaces for indentation.
indent_style = space
# Each indent should contain two spaces.
indent_size = 2
# For VCS, end files with an empty line.
insert_final_newline = true
# Lines should not exceed this length.
max_line_length = 120
# No whitespace on the end of lines.
trim_trailing_whitespace = true
# Go overrides.
[*.go]
indent_style = tab
# Makefile overrides.
[Makefile]
indent_style = tab
# PHP overrides.
[*.php]
indent_size = 4
# Python overrides.
[*.py]
indent_size = 4