-
Notifications
You must be signed in to change notification settings - Fork 2
/
.editorconfig
50 lines (38 loc) · 1000 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# see http://editorconfig.org
# Current standards are inspired by a combination
# of /tg/station and goonstation configurations refined over the years
root = true
[*]
indent_style = tab
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{dm,dme,dmm}]
end_of_line = lf
[*.sh]
end_of_line = lf
[*.{js,html,css,yml,yaml,json,toml}]
indent_style = space
indent_size = 2
# Based on the common pattern throughout the existing files and other codebases
[*.{tmpl}]
indent_style = tab
indent_size = 4
[*.txt]
insert_final_newline = false
[Dockerfile]
indent_style = space
[*.py]
indent_style = space
# Trailing whitespace allows to make line breaks in Markdown
# See https://github.com/tgstation/tgstation/pull/55951
[*.md]
trim_trailing_whitespace = false
[.gitattributes]
indent_style = space
indent_size = 4
[.sql]
indent_style = space
indent_size = 2