-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
55 lines (48 loc) · 1.32 KB
/
.editorconfig
File metadata and controls
55 lines (48 loc) · 1.32 KB
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
# EditorConfig file: http://EditorConfig.org
#
# Used to control editor configuration.
#
# * BBEdit handles it natively.
# * Notepad++ needs a plugin. https://github.com/editorconfig/editorconfig-notepad-plus-plus#readme
# * Sublime Text needs a plugin: https://github.com/sindresorhus/editorconfig-sublime#readme
# * Atom needs a plugin. https://github.com/sindresorhus/atom-editorconfig#readme
# * Others (including XCode and Visual Studio). http://editorconfig.org/#download
#
# Extensions
#
# py Python source code
# md Markdown source code, compatible with GFM and MMD
# sh Bash shell script; Bourne shell script
# src Bash or Bournse shell script designed to be 'sourced'
# go GoLang source code
#
# top-most EditorConfig file
#
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
# Plain text files
#
[*.txt]
# tab handling should default, but ideally it woudl be 4 spaces
trim_trailing_whitespace = true
# Files with 4 space indentation
#
[*.{py, md}]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
# Files with 2 space indentation
#
[*.{sh, src}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
# Files with 4 column indentation
#
[*.{go}]
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true