1 | # EditorConfig is awesome: http://EditorConfig.org
|
2 |
|
3 | # https://github.com/jokeyrhyme/standard-editorconfig
|
4 |
|
5 | # top-most EditorConfig file
|
6 | root = true
|
7 |
|
8 | # Unix-style newlines with a newline ending every file
|
9 | [*]
|
10 | end_of_line = lf
|
11 | insert_final_newline = true
|
12 |
|
13 | # Set default charset
|
14 | [*]
|
15 | charset = utf-8
|
16 |
|
17 | # Other good defaults
|
18 | [*]
|
19 | indent_size = 2
|
20 | indent_style = space
|
21 | trim_trailing_whitespace = true
|
22 |
|
23 | # HTML
|
24 | [*.{htm,html}]
|
25 | indent_size = 4
|
26 | indent_style = space
|
27 | trim_trailing_whitespace = true
|
28 |
|
29 | # JavaScript, JSX
|
30 | [*.{js,jsx}]
|
31 | indent_size = 4
|
32 | indent_style = space
|
33 |
|
34 | # JSON
|
35 | [*.json]
|
36 | indent_size = 2
|
37 | indent_style = space
|
38 |
|
39 | # YAML
|
40 | # http://yaml.org/spec/1.2/2009-07-21/spec.html#id2576668
|
41 | [*.{yaml,yml}]
|
42 | indent_size = 2
|
43 | indent_style = space
|