diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 85e5d50..f85a6d3 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -2,17 +2,19 @@ "version": 1, "isRoot": true, "tools": { - "fable": { - "version": "3.7.0", - "commands": [ - "fable" - ] - }, - "fantomas-tool": { - "version": "4.6.4", + "fantomas": { + "version": "7.0.1", "commands": [ "fantomas" - ] + ], + "rollForward": false + }, + "dotnet-outdated-tool": { + "version": "4.6.7", + "commands": [ + "dotnet-outdated" + ], + "rollForward": false } } -} +} \ No newline at end of file diff --git a/.editorconfig b/.editorconfig index fb9de72..7e9b8b8 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,29 +7,25 @@ charset = utf-8 trim_trailing_whitespace = true insert_final_newline = false +[*.js] +indent_size = 2 +max_line_length= 80 + [*.fs] max_line_length= 120 -# Feliz style -fsharp_single_argument_web_mode = true -fsharp_space_before_colon = false -fsharp_space_before_parameter = true + fsharp_max_if_then_else_short_width = 60 -fsharp_max_infix_operator_expression = 50 -fsharp_max_record_width = 70 -fsharp_max_record_number_of_items = 1 -fsharp_max_array_or_list_width = 70 -fsharp_max_array_or_list_number_of_items = 1 -fsharp_max_value_binding_width = 70 -fsharp_max_function_binding_width = 40 -fsharp_max_dot_get_expression_width = 50 -fsharp_multiline_block_brackets_on_same_column = true -fsharp_newline_between_type_definition_and_members = false -fsharp_max_elmish_width = 40 -fsharp_align_function_signature_to_indentation = false -fsharp_alternative_long_member_definitions = false -fsharp_multi_line_lambda_closing_newline = false -fsharp_disable_elmish_syntax = false -fsharp_keep_indent_in_branch = false +fsharp_max_infix_operator_expression = 80 + +fsharp_space_before_uppercase_invocation = true fsharp_blank_lines_around_nested_multiline_expressions = false +fsharp_newline_between_type_definition_and_members = false fsharp_multiline_bracket_style = stroustrup -fsharp_newline_before_multiline_computation_expression = true + +fsharp_array_or_list_multiline_formatter = character_width +fsharp_max_array_or_list_width = 70 +fsharp_max_array_or_list_number_of_items = 3 + +fsharp_record_multiline_formatter = number_of_items +fsharp_max_record_number_of_items = 3 +fsharp_max_record_width = 70 \ No newline at end of file diff --git a/Build.fsproj b/Build.fsproj index a770a7b..42534f0 100644 --- a/Build.fsproj +++ b/Build.fsproj @@ -11,7 +11,7 @@ - - + + \ No newline at end of file diff --git a/test/Tests.fsproj b/test/Tests.fsproj index 8a252dc..935c5f6 100644 --- a/test/Tests.fsproj +++ b/test/Tests.fsproj @@ -11,7 +11,7 @@ - - + + \ No newline at end of file