forked from swiftlang/swift-aoc-starter-example
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.editorconfig
More file actions
35 lines (28 loc) · 658 Bytes
/
.editorconfig
File metadata and controls
35 lines (28 loc) · 658 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
32
33
34
35
# EditorConfig is awesome: https://editorconfig.org
# Top-level configuration file
root = true
# Default: spaces, 2-space indentation
[*]
charset = utf-8
indent_style = space
indent_size = 2
tab_width = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# Swift
[*.swift]
indent_size = 2
# Makefiles require tabs
[Makefile]
indent_style = tab
# Text-like files — don't trim trailing whitespace
[*.{md,markdown,org}]
trim_trailing_whitespace = false
# Org-mode needs strict tab width
[*.org]
indent_style = space
tab_width = 8
# Input files shouldn't have final newlines
[Sources/Data/**.txt]
insert_final_newline = false