1 | # http://editorconfig.org
|
2 | root = true
|
3 |
|
4 | [*]
|
5 | indent_style = space
|
6 | indent_size = 2
|
7 | end_of_line = lf
|
8 | charset = utf-8
|
9 | trim_trailing_whitespace = true
|
10 | insert_final_newline = true
|
11 |
|
12 | # The JSON files contain newlines inconsistently
|
13 | [*.json]
|
14 | insert_final_newline = ignore
|
15 |
|
16 | # Minified JavaScript files shouldn't be changed
|
17 | [**.min.js]
|
18 | indent_style = ignore
|
19 | insert_final_newline = ignore
|
20 |
|
21 | [*.md]
|
22 | trim_trailing_whitespace = false
|
23 |
|
24 | [*.{ts,tsx,js,jsx}]
|
25 | end_of_line = lf
|
26 | charset = utf-8
|
27 | trim_trailing_whitespace = true
|
28 | indent_style = space
|
29 | indent_size = 2
|