-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
54 lines (42 loc) · 952 Bytes
/
.editorconfig
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# http://editorconfig.org
root = true
# Don't use tabs for indentation.
[*]
charset = utf-8
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
# Typescript, javascript and client-side files
[*.{ts,tsx,js,jsx,html,css,scss,less}]
indent_size = 4
# JSON, XML and YML files
[*.{json,xml,yml}]
indent_size = 2
# Markdown file
[*.md]
trim_trailing_whitespace = false
# Server-side code files
[*.{cs,csx,vb,vbx}]
indent_size = 4
# charset = utf-8-bom
# ASP.Net Core server-side file
[*.cshtml]
indent_size = 4
# charset = utf-8-bom
# Solution file
[*.sln]
indent_style = tab
# charset = utf-8-bom
# VS project configuration files
[*.{config,*proj,projitems,nuspec,props,resx,targets,tasks,ruleset,vsixmanifest,vsct,stylecop}]
indent_size = 2
# Powershell files
[*.{ps1,psm1}]
indent_size = 4
# Windows command script files
[*.{cmd,bat}]
end_of_line = crlf
# Shell script file
[*.sh]
indent_size = 4
end_of_line = lf