generated from luismayta/base-learn-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
53 lines (40 loc) · 973 Bytes
/
.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
# 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
[*.{el}]
insert_final_newline = false
[*.{el,md,mdx,yml,yaml,js,json,toml,ts,tsx,hcl,tf,graphql,hbs,sh}]
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