-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.editorconfig
More file actions
36 lines (29 loc) · 836 Bytes
/
Copy path.editorconfig
File metadata and controls
36 lines (29 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# EditorConfig is awesome: http://EditorConfig.org
# Visual Studio extension: https://visualstudiogallery.msdn.microsoft.com/c8bccfe2-650c-4b42-bc5c-845e21f96328
# Windows-style newlines with a newline ending every file
[*]
end_of_line = crlf
insert_final_newline = true
# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,py,cs}]
charset = utf-8
# Tab indentation (no size specified)
[*.{cs,tt,ttinclude}]
indent_style = tab
# 1 space indentation
[*.config]
indent_style = space
indent_size = 1
# 2 space indentation
[*.resx]
indent_style = space
indent_size = 2
# Indentation override for all JS under lib directory
[lib/**.js]
indent_style = space
indent_size = 2
# Matches the exact files either package.json or .travis.yml
[{package.json,.travis.yml}]
indent_style = space
indent_size = 2