UNPKG

885 BPlain TextView Raw
1# EditorConfig is awesome: http://EditorConfig.org
2
3# top-most EditorConfig file
4root = true
5
6# Unix-style newlines with a newline ending every file
7[*]
8# Change these settings to your own preference
9indent_style = space
10indent_size = 2
11
12# We recommend you to keep these unchanged
13end_of_line = lf
14charset = utf-8
15trim_trailing_whitespace = true
16insert_final_newline = true
17
18# Matches multiple files with brace expansion notation
19# Set default charset
20[*.{js,py}]
21charset = utf-8
22indent_style = space
23indent_size = 2
24
25# 4 space indentation
26[*.py]
27indent_style = space
28indent_size = 2
29
30# Tab indentation (no size specified)
31[Makefile]
32indent_style = tab
33
34# Indentation override for all JS under lib directory
35[lib/**.js]
36indent_style = space
37indent_size = 2
38
39# Matches the exact files either package.json or .travis.yml
40[{package.json,.travis.yml}]
41indent_style = space
42indent_size = 2