-
Notifications
You must be signed in to change notification settings - Fork 59
/
.editorconfig
69 lines (56 loc) · 1.38 KB
/
.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# EditorConfig is awesome:
http://EditorConfig.org
# top-most EditorConfig file
root = true
# Default settings:
# A newline ending every file
# Use 4 spaces as indentation
[*]
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
end_of_line = lf
[*.{fs,fsi,fsx,config}]
# https://fsprojects.github.io/fantomas/docs/end-users/Configuration.html
charset = utf-8
trim_trailing_whitespace = true
max_line_length=100
fsharp_multiline_bracket_style = stroustrup
fsharp_keep_max_number_of_blank_lines=2
fsharp_max_array_or_list_number_of_items=1
fsharp_array_or_list_multiline_formatter=number_of_items
fsharp_max_infix_operator_expression=10
fsharp_multi_line_lambda_closing_newline=true
# Visual Studio Solution Files
[*.sln]
indent_style = tab
# XML project files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj,sfproj}]
indent_size = 2
# XML config files
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
indent_size = 2
# Markdown Files
[*.{md,mdx}]
trim_trailing_whitespace = false
# Bash Files
[*.{sh}]
end_of_line = lf
# Batch Files
[*.{cmd,bat}]
end_of_line = crlf
# Powershell Files
[*.{ps1, psm1}]
end_of_line = crlf
# Paket files
[paket.*]
trim_trailing_whitespace = true
indent_size = 2
[*.paket.references]
trim_trailing_whitespace = true
indent_size = 2
# YAML Files
[*.{yml,yaml}]
indent_size = 2
indent_style = space