-
Notifications
You must be signed in to change notification settings - Fork 8
/
.editorconfig
46 lines (38 loc) · 1.04 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
# Most text files
[*]
charset = utf-8
max_line_length = none
trim_trailing_whitespace = true
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4 # bash8
# Machine-generated files
[{*.scpt,*.plist,*.dot,*.db}]
trim_trailing_whitespace = false
insert_final_newline = none
indent_size = none
# Freeform text
[{*.txt,*.md,*.yaml,*.yml,*.cob,*.emacs,*.el,*.lisp,*.lsp,*.scm,*.setup,*.meta,*.clj,*.rkt,*.ecl,*.sbcl,*.abcl,*.eclrc,*.sbclrc,*.asd,*.snusp}]
indent_size = none
# Placeholder files
[{*.gitkeep,__init__.py}]
insert_final_newline = none
# Windows junk
[{*.cmd,*.bat,*.reg,*.ps1,*.vbs,*.cs,*.fs,*.fsx,*.ahk}]
end_of_line = crlf
insert_final_newline = false
# Lexer restrictions
[{makefile*,Makefile*,*.mk,*.makefile,*.Makefile,GNUmakefile*,BSDmakefile,*.go,*.gitmodules}]
indent_style = tab
# Natural HTML nesting
[*.js]
quote_type = single
# Compressed artifacts
[{*.min.*,*-min.*}]
insert_final_newline = false
# Potential mixed indentations
[*.patch]
trim_trailing_whitespace = false
indent_style = none
indent_size = none