|
| 1 | +# To learn more about .editorconfig see https://aka.ms/editorconfigdocs |
| 2 | +############################### |
| 3 | +# Core EditorConfig Options # |
| 4 | +############################### |
| 5 | +# All files |
| 6 | +[*] |
| 7 | +end_of_line = crlf |
| 8 | +indent_style = space |
| 9 | +insert_final_newline = true |
| 10 | +trim_trailing_whitespace = true |
| 11 | +# Code files |
| 12 | +[*.{cs,csx,fs,fsx,vb,vbx}] |
| 13 | +indent_size = 4 |
| 14 | +charset = utf-8-bom |
| 15 | +# Project files |
| 16 | +[*.{csproj,fsproj,vbproj,shproj,projitems}] |
| 17 | +indent_size = 2 |
| 18 | +charset = utf-8-bom |
| 19 | +############################### |
| 20 | +# F# Coding Conventions # |
| 21 | +############################### |
| 22 | +[*.{fs,fsx}] |
| 23 | +max_line_length = 120 |
| 24 | +fsharp_semicolon_at_end_of_line = false |
| 25 | +fsharp_space_before_parameter = true |
| 26 | +fsharp_space_before_lowercase_invocation = true |
| 27 | +fsharp_space_before_uppercase_invocation = true |
| 28 | +fsharp_space_before_class_constructor = true |
| 29 | +fsharp_space_before_member = true |
| 30 | +fsharp_space_before_colon = true |
| 31 | +fsharp_space_after_comma = true |
| 32 | +fsharp_space_before_semicolon = false |
| 33 | +fsharp_space_after_semicolon = true |
| 34 | +fsharp_indent_on_try_with = false |
| 35 | +fsharp_space_around_delimiter = true |
| 36 | +fsharp_max_if_then_else_short_width = 80 |
| 37 | +fsharp_max_infix_operator_expression = 80 |
| 38 | +fsharp_max_record_width = 80 |
| 39 | +fsharp_max_record_number_of_items = 1 |
| 40 | +fsharp_record_multiline_formatter = character_width |
| 41 | +fsharp_max_array_or_list_width = 80 |
| 42 | +fsharp_max_array_or_list_number_of_items = 10 |
| 43 | +fsharp_array_or_list_multiline_formatter = character_width |
| 44 | +fsharp_max_value_binding_width = 80 |
| 45 | +fsharp_max_function_binding_width = 80 |
| 46 | +fsharp_max_dot_get_expression_width = 40 |
| 47 | +fsharp_multiline_block_brackets_on_same_column = false |
| 48 | +fsharp_newline_between_type_definition_and_members = false |
| 49 | +fsharp_keep_if_then_in_same_line = false |
| 50 | +fsharp_max_elmish_width = 80 |
| 51 | +fsharp_single_argument_web_mode = false |
| 52 | +fsharp_align_function_signature_to_indentation = false |
| 53 | +fsharp_alternative_long_member_definitions = false |
| 54 | +fsharp_multi_line_lambda_closing_newline = false |
| 55 | +fsharp_disable_elmish_syntax = false |
| 56 | +fsharp_strict_mode = false |
0 commit comments