generated from ianlewis/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.editorconfig
More file actions
31 lines (25 loc) · 688 Bytes
/
.editorconfig
File metadata and controls
31 lines (25 loc) · 688 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
# EditorConfig is awesome: 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
# Files should be formatted in utf-8 by default.
charset = utf-8
# set to true to remove any whitespace characters preceding newline characters
# and false to ensure it doesn't.
trim_trailing_whitespace = true
# tab-width of 4 is recommended for Markdown files.
[*.md]
indent_style = space
indent_size = 4
[Makefile]
indent_style = tab
# Matches config files like package.json.
[{*.json,*.yml,*.yaml}]
indent_style = space
indent_size = 2
# Matches Go files.
[*.go]
indent_style = tab