# To learn more about .editorconfig see https://aka.ms/editorconfigdocs

# All files
[*]
indent_style = space
trim_trailing_whitespace = true
insert_final_newline = true
indent_size = 4

# TS files
[*.ts]
indent_size = 2

[*.yml]
indent_size = 2

# Fantomas (see https://fsprojects.github.io/fantomas/docs/end-users/Configuration.html)
[*.{fs,fsx,fsi}]
end_of_line = lf
fsharp_alternative_long_member_definitions = true
fsharp_multi_line_lambda_closing_newline = true
fsharp_bar_before_discriminated_union_declaration = true
fsharp_multiline_bracket_style = aligned
fsharp_keep_max_number_of_blank_lines = 2
fsharp_record_multiline_formatter = number_of_items
fsharp_align_function_signature_to_indentation = true
fsharp_multi_line_lambda_closing_newline = true
fsharp_max_if_then_else_short_width = 0
