1 | # EditorConfig is awesome: 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 | # Matches multiple files with brace expansion notation
|
12 | # Set default charset
|
13 | [*.{js,py}]
|
14 | charset = utf-8
|
15 |
|
16 | # 4 space indentation
|
17 | [*.py]
|
18 | indent_style = space
|
19 | indent_size = 4
|
20 |
|
21 | # Tab indentation (no size specified)
|
22 | [Makefile]
|
23 | indent_style = tab
|
24 |
|
25 | # Indentation override for all JS under lib directory
|
26 | [*.js]
|
27 | indent_style = space
|
28 | indent_size = 4
|
29 |
|
30 | # Indentation override for all Less file
|
31 | [*.less]
|
32 | indent_style = space
|
33 | indent_size = 4
|
34 |
|
35 | # Indentation override for all Jade file
|
36 | [*.jade]
|
37 | indent_style = space
|
38 | indent_size = 2
|
39 |
|
40 | # Matches the exact files either package.json or .travis.yml
|
41 | [{package.json,.travis.yml}]
|
42 | indent_style = space
|
43 | indent_size = 2
|