-
-
Notifications
You must be signed in to change notification settings - Fork 37
/
.editorconfig
61 lines (49 loc) · 1.3 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
# 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=240
fsharp_max_infix_operator_expression = 120
fsharp_max_value_binding_width = 120
fsharp_max_if_then_else_short_width = 20
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,fsproj,vcxproj,vcxproj.filters,proj,projitems,shproj,sfproj}]
indent_size = 2
max_line_length=240
# 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
# YAML Files
[*.{yml,yaml}]
indent_size = 2
indent_style = space