Skip to content

Commit f9059d3

Browse files
Butt4cak3leios
authored andcommitted
Created .editorconfig file (#59)
1 parent 53337bb commit f9059d3

File tree

1 file changed

+80
-0
lines changed

1 file changed

+80
-0
lines changed

.editorconfig

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
root = true
2+
3+
# This file
4+
[.editorconfig]
5+
trim_trailing_whitespace = true
6+
insert_final_newline = true
7+
8+
# Pretty much everything should trim whitespace and have a final EOL
9+
[*.{c,clj,cpp,cs,css,elm,go,hs,html,jl,js,md,py,rs}]
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true
12+
13+
# C
14+
[*.c]
15+
indent_style = space
16+
indent_size = 4
17+
18+
# Clojure
19+
[*.clj]
20+
indent_style = space
21+
indent_size = 2
22+
23+
# C++
24+
[*.cpp]
25+
indent_style = space
26+
indent_size = 2
27+
28+
# C#
29+
[*.cs]
30+
indent_style = space
31+
indent_size = 4
32+
33+
# CSS
34+
[*.css]
35+
indent_style = space
36+
indent_size = 2
37+
38+
# Elm
39+
[*.elm]
40+
indent_style = space
41+
indent_size = 2
42+
43+
# Go
44+
[*.go]
45+
indent_style = tab
46+
47+
# Haskell
48+
[*.hs]
49+
indent_style = space
50+
indent_size = 2
51+
52+
# HTML
53+
[*.html]
54+
indent_style = space
55+
indent_size = 2
56+
57+
# Julia
58+
[*.jl]
59+
indent_style = space
60+
indent_size = 4
61+
62+
# JavaScript
63+
[*.js]
64+
indent_style = space
65+
indent_size = 2
66+
67+
# Markdown
68+
[*.md]
69+
indent_style = space
70+
indent_size = 2
71+
72+
# Python
73+
[*.py]
74+
indent_style = space
75+
indent_size = 4
76+
77+
# Rust
78+
[*.rs]
79+
indent_style = space
80+
indent_size = 4

0 commit comments

Comments
 (0)