Browse Source

Add .editorconfig file

Bastien Sevajol 6 years ago
parent
commit
5efbb4f0fc
1 changed files with 20 additions and 0 deletions
  1. 20 0
      .editorconfig

+ 20 - 0
.editorconfig View File

@@ -0,0 +1,20 @@
1
+# EditorConfig: http://EditorConfig.org
2
+
3
+# top-most EditorConfig file
4
+root = true
5
+
6
+# Unix-style newlines with a newline ending every file
7
+[*]
8
+end_of_line = lf
9
+insert_final_newline = true
10
+
11
+[*.py]
12
+charset = utf-8
13
+indent_style = space
14
+indent_size = 4
15
+max_line_length = 79
16
+
17
+# Matches the exact files either package.json or .travis.yml
18
+[.travis.yml]
19
+indent_style = space
20
+indent_size = 2