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 | # Change these settings to your own preference
|
9 | indent_style = space
|
10 | indent_size = 2
|
11 |
|
12 | # We recommend you to keep these unchanged
|
13 | end_of_line = lf
|
14 | charset = utf-8
|
15 | trim_trailing_whitespace = true
|
16 | insert_final_newline = true
|
17 |
|
18 | # Matches multiple files with brace expansion notation
|
19 | # Set default charset
|
20 | [*.{js,py}]
|
21 | charset = utf-8
|
22 | indent_style = space
|
23 | indent_size = 2
|
24 |
|
25 | # 4 space indentation
|
26 | [*.py]
|
27 | indent_style = space
|
28 | indent_size = 2
|
29 |
|
30 | # Tab indentation (no size specified)
|
31 | [Makefile]
|
32 | indent_style = tab
|
33 |
|
34 | # Indentation override for all JS under lib directory
|
35 | [lib/**.js]
|
36 | indent_style = space
|
37 | indent_size = 2
|
38 |
|
39 | # Matches the exact files either package.json or .travis.yml
|
40 | [{package.json,.travis.yml}]
|
41 | indent_style = space
|
42 | indent_size = 2
|