File tree Expand file tree Collapse file tree 2 files changed +1012
-642
lines changed
src/FSharp.Formatting.ApiDocs Expand file tree Collapse file tree 2 files changed +1012
-642
lines changed Original file line number Diff line number Diff line change @@ -17,4 +17,20 @@ fsharp_max_infix_operator_expression=80
1717fsharp_max_value_binding_width =120
1818
1919[GenerateHtml.fs ]
20- fsharp_experimental_elmish = true
20+ # Specific settings for "View/HTML" related files
21+ # It makes the code more consistent in term of spacing and indentation
22+ fsharp_experimental_elmish = true
23+ fsharp_array_or_list_multiline_formatter = number_of_items
24+ fsharp_max_array_or_list_number_of_items = 0
25+
26+ # In general, the following settings are what I use for any F# project.
27+ # I didn't apply them globally yet because it will affect all the projects and I want to
28+ # have confirmation from the team before doing so.
29+ fsharp_alternative_long_member_definitions = true
30+ fsharp_multi_line_lambda_closing_newline = true
31+ fsharp_multiline_bracket_style = aligned
32+ fsharp_keep_max_number_of_blank_lines = 1
33+ fsharp_align_function_signature_to_indentation = true
34+ fsharp_max_if_then_else_short_width = 0
35+ fsharp_max_record_number_of_items = 2
36+ fsharp_record_multiline_formatter = number_of_items
You can’t perform that action at this time.
0 commit comments