Skip to content

Commit 7ff8aed

Browse files
committed
EditorConfig file
1 parent ab44ba3 commit 7ff8aed

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

.editorconfig

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# download the plugin for your IDE from http://editorconfig.org/#download
2+
root = true
3+
4+
## default style
5+
[*]
6+
indent_style = space
7+
indent_size = 4
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
end_of_line = lf
11+
charset = utf-8
12+
13+
# Docstrings and comments use max_line_length = 79
14+
# Use 2 spaces for ruby/cucumber
15+
[*.rb]
16+
indent_size = 2
17+
18+
[*.go]
19+
indent_size = tab
20+
indent_style = tab
21+
tab_width = 2
22+
23+
[*.js]
24+
indent_size = 2
25+
26+
# gherkins
27+
[*.feature]
28+
indent_size = 2
29+
30+
[*.py]
31+
max_line_length = 119
32+
indent_size = 4
33+
34+
# Use 2 spaces for the HTML files
35+
[*.html]
36+
indent_size = 2
37+
38+
# The JSON files contain newlines inconsistently
39+
[*.json]
40+
indent_size = 2
41+
insert_final_newline = ignore
42+
43+
[*.xyaml]
44+
indent_size = 2
45+
46+
[*.yaml]
47+
indent_size = 2
48+
49+
# Tab indentation (no size specified)
50+
[Makefile]
51+
indent_style = tab

0 commit comments

Comments
 (0)