forked from mcandre/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
55 lines (44 loc) · 1.13 KB
/
.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
51
52
53
54
55
# ln -s .../.editorconfig ~/.editorconfig
root = true
# Default to Google Style
# https://code.google.com/p/google-styleguide/
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
max_line_length = 120
spaces_around_operators = true
spaces_around_brackets = false
indent_style = space
indent_size = 2
indent_brace_style = K&R
curly_bracket_next_line = false
continuation_indent_size = 4
# Make, Go
[{Makefile*,*.mf,*.go}]
indent_style = tab
# F#
[{*.fs,*.fsx}]
indent_style = space
# Markdown
[{*.md,*.markdown}]
indent_size = none
# PEP8, Docker
[{*.py,Dockerfile*}]
indent_size = 4
# JavaScript
[*.js]
quote_type = single
# Lisp
[{*.lisp,*.scm,*.rkt,*.lsp,*.clj,*.el,*.emacs}]
indent_size = none
# Pagragraph-oriented text
[{*.txt,*.text,*.xml,*.*htm*,*.erb,*.tex,*.md,*.markdown,*.textile,*.ps,Makefile*,Rakefile*,*.mf,*.plist,*.bat,*.*sh,.*profile*,.editorconfig,.gitignore*,.*rc*,*.profile,*.epf,*.cfg,Dockerfile*}]
max_line_length = none
# Bashate
[{*.sh,*.profile*,*.bash*}]
indent_size = 4
# Windows files
[{*.cmd,*.bat,*reg,*.ps1,*.vbs,*.cs,*.csproj,*.fs,*.sln,*.xaml*,*.ahk}]
end_of_line = crlf