File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ # EditorConfig is awesome: http://EditorConfig.org
2
+
3
+ # top-most EditorConfig file
4
+ root = true
5
+
6
+ [* ]
7
+ # Unix-style newlines at the bottom of every file
8
+ end_of_line = lf
9
+ charset = utf-8
10
+
11
+ # indentation style and size
12
+ indent_style = space
13
+ indent_size = 2
14
+
15
+ # Make sure every file has a blank line at the end
16
+ insert_final_newline = true
17
+
18
+ # Remove any whitespace characters preceding newline characters
19
+ trim_trailing_whitespace = true
20
+
21
+ # Give operators breathing room, but not brackets
22
+ spaces_around_operators = true
23
+ spaces_around_brackets = false
24
+
25
+ # 4 space indentation
26
+ [* .{py,java} ]
27
+ indent_size = 4
28
+
29
+ [* .json ]
30
+ indent_size = 4
31
+
32
+ # 2 space indentation
33
+ [* .{js,html} ]
34
+ indent_size = 2
35
+
36
+ [* .{tf} ]
37
+ indent_size = 2
38
+
39
+ [* .rb ]
40
+ indent_size = 2
41
+
42
+ [* .yml ]
43
+ indent_size = 2
44
+
45
+ [* .yaml ]
46
+ indent_size = 2
47
+
48
+ [* .{md} ]
49
+ indent_size = unset
50
+ trim_trailing_whitespace = false
You can’t perform that action at this time.
0 commit comments