-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.editorconfig
More file actions
25 lines (23 loc) · 1002 Bytes
/
.editorconfig
File metadata and controls
25 lines (23 loc) · 1002 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
root = true
[*]
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
# Final newlines are necessary for a lot of unix tools to work as expected. See
# https://stackoverflow.com/questions/729692/why-should-text-files-end-with-a-newline for more info.
insert_final_newline = true
max_line_length=120
# Settings to get close to the style described in ./.github/instructions/fsharp-code-formatting.md
# Known Fantomas limitations (not configurable):
# - if/then/else: cannot keep simple `then` on same line with complex `else` on next line
# - pipeline: cannot force `|>` to start-of-line positioning
[*.fs]
fsharp_multiline_bracket_style = aligned
fsharp_align_function_signature_to_indentation = true
fsharp_keep_max_number_of_blank_lines = 2
fsharp_multi_line_lambda_closing_newline=true
fsharp_max_value_binding_width=80
fsharp_record_multiline_formatter = number_of_items
fsharp_array_or_list_multiline_formatter = character_width
fsharp_max_array_or_list_width = 60