forked from cake-contrib/Cake.Npm.Module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
38 lines (30 loc) · 804 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
root = true
[*]
charset = utf-8
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[.cs]
# This may not be needed, but kept for compatibility with VS
[*.{sln,csproj}]
end_of_line = crlf
# Markdown files allows the use of trailing spaces to denote
# a line break
[*.md]
trim_trailing_whitespace = false
# Batch and powershell files requires crlf to be
# used as the line ending.
# Powershell also requires UTF-8 with BOM encoding
# to function if utf8 characters is used (maibe batch files as well)
[*.{bat,ps1}]
charset = utf-8-bom
end_of_line = crlf
# Shell scripts requires the use of lf line endings
# to be able to run.
[*.sh]
end_of_line = lf
# The visual studio code file
# requires the use of crlf line endings
[tasks.json]
end_of_line = crlf