-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
72 lines (54 loc) · 1.33 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
64
65
66
67
68
69
70
71
72
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = false
indent_style = space
# Set default charset
charset = utf-8
trim_trailing_whitespace = true
indent_size = 2
# Custom Coding Styles for Java files
[*.java]
# The other allowed value you can use is space
indent_style = tab
# You can play with this value and set it to how
# many characters you want your indentation to be
indent_size = 2
# Character set to be used in java files.
charset = utf-8
trim_trailing_whitespace = true
[*.{el}]
insert_final_newline = false
[*.{el,md,mdx,yml,yaml,js,json,toml,ts,tsx,hcl,tf,graphql,hbs,sh,lua}]
indent_style = space
indent_size = 2
[*.{lua}]
indent_style = space
indent_size = 2
# 4 space indentation
[*.{py}]
indent_style = space
indent_size = 4
[*.go]
indent_size = 2
indent_style = tab
# Minified JavaScript files shouldn't be changed
[**.min.js]
indent_style = ignore
insert_final_newline = ignore
# Tab indentation (no size specified)
[Makefile]
indent_style = tab
# Indentation override for all JS under lib directory
[*.{el,js,json,md,yml,yaml,tf}]
indent_style = space
indent_size = 2
[*.{make,mk}]
indent_style = tab
indent_size = 4
# Batch files use tabs for indentation
[*.bat]
indent_style = tab