forked from mathiasbynens/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy patheditorconfig
More file actions
32 lines (27 loc) · 698 Bytes
/
editorconfig
File metadata and controls
32 lines (27 loc) · 698 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
; EditorConfig is awesome: http://EditorConfig.org
root = true
; Ruby/JS style
; UTF-8 charset
; Unix-style newlines with a newline ending every file
; 2 space indent
; Trim trailing whitespace
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
; Markdown
; 4 space indent
; Trailing whitespace is potentially meaningful, leave it
[*.md]
indent_size = 4
trim_trailing_whitespace = false
; Shell scripts & Python
; 4 space indent
[*.{sh,py}]
indent_size = 4
; Sublime configs
[*.{sublime-project,sublime-settings,sublime-theme,sublime-keymap,sublime-macro,sublime-color-scheme,sublime-menu}]
indent_style = tab