]>
Commit | Line | Data |
---|---|---|
11fdf7f2 TL |
1 | # EditorConfig helps developers define and maintain consistent coding styles |
2 | # between different editors and IDEs.: http://EditorConfig.org | |
3 | ||
4 | # top-most EditorConfig file | |
5 | root = true | |
6 | ||
7 | # Unix-style newlines with a newline ending every file | |
8 | [*] | |
9 | end_of_line = lf | |
10 | insert_final_newline = true | |
11 | ||
12 | # Set default charset | |
13 | [*.{js,py}] | |
14 | charset = utf-8 | |
15 | ||
16 | # 4 space indentation for Python files | |
17 | [*.py] | |
18 | indent_style = space | |
19 | indent_size = 4 | |
20 | ||
21 | # Indentation override for all JS under frontend directory | |
22 | [frontend/**.js] | |
23 | indent_style = space | |
24 | indent_size = 2 | |
25 | ||
26 | # Indentation override for all HTML under frontend directory | |
27 | [frontend/**.html] | |
28 | indent_style = space | |
29 | indent_size = 2 |