Skip to content

Instantly share code, notes, and snippets.

@neon-sunset
Created May 3, 2025 21:26
Show Gist options
  • Save neon-sunset/61883f27ecf1cc8dd0b810fc6df9f03b to your computer and use it in GitHub Desktop.
Save neon-sunset/61883f27ecf1cc8dd0b810fc6df9f03b to your computer and use it in GitHub Desktop.
F# style #2
[*.{fs,fsi,fsx,config}]
# F#
charset = utf-8
end_of_line = lf
fsharp_align_function_signature_to_indentation = true
fsharp_experimental_keep_indent_in_branch = true
fsharp_keep_max_number_of_blank_lines = 1
fsharp_max_if_then_short_width = 20
fsharp_max_record_number_of_items = 4
fsharp_multi_line_lambda_closing_newline = true
fsharp_multiline_bracket_style = stroustrup
fsharp_newline_before_multiline_computation_expression = false
fsharp_newline_between_type_definition_and_members = false
fsharp_space_around_delimiter = false
fsharp_space_before_parameter = false
fsharp_space_before_uppercase_invocation = true
insert_final_newline = true
max_line_length = 90
trim_trailing_whitespace = true
# IDE0305: Simplify collection initialization
dotnet_diagnostic.IDE0305.severity = none
dotnet_diagnostic.FS0760.severity = none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment