-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
63 lines (53 loc) · 1.22 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
56
57
58
59
60
61
62
63
# 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,cob,emacs,el,lisp,lsp,scm,setup,meta,clj,rkt,ecl,sbcl,abcl,eclrc,sbclrc,asd,snusp}]
indent_size = none
# Fix cmake
[CMakeLists.txt]
indent_size = 4 # bash8
# Align keys
[*.{yaml,yml,reek,.yamllint}]
indent_size = 2
# Placeholder files
[*.{gitkeep,__init__.py}]
insert_final_newline = none
#
# Windows junk
#
[*.{cmd,bat,reg,ps1,vbs,cs,fs,fsx,ahk,psenvrc}]
end_of_line = crlf
insert_final_newline = false
[settings.json]
end_of_line = crlf
insert_final_newline = false
# Lexer restrictions
[{makefile,Makefile,GNUmakefile,BSDmakefile}]
indent_style = tab
[*.{makefile,Makefile,mk,GNUmakefile,BSDmakefile,go,gitmodules}]
indent_style = tab
# Natural HTML nesting
[*.js]
quote_type = single
# Compressed artifacts
[*.min.*]
insert_final_newline = false
[*-min.*]
insert_final_newline = false
# Potential mixed indentations
[*.patch]
trim_trailing_whitespace = false
indent_style = none
indent_size = none