Skip to content

Commit 67bc84a

Browse files
committed
Add .editorconfig file
Trying this out. I like the idea of an editor agnostic, general config file.
1 parent 31f22b7 commit 67bc84a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.editorconfig

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# This file is for unifying the coding style for different editors and IDEs.
2+
# It is not reqired for a project, but can be very helpful.
3+
# More information at http://EditorConfig.org
4+
5+
root = true
6+
7+
[*]
8+
charset = utf-8
9+
end_of_line = lf
10+
insert_final_newline = true
11+
12+
[*.py]
13+
indent_size = 4
14+
indent_style = space
15+
trim_trailing_whitespace = true
16+
max_line_length = 100
17+
18+
[*.md]
19+
max_line_length = 79
20+
trim_trailing_whitespace = true
21+
22+
[*.rst]
23+
max_line_length = 79

0 commit comments

Comments
 (0)