Skip to content

Commit

Permalink
Added .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
xperiandri committed May 18, 2021
1 parent 422192f commit fdb5ff4
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# To learn more about .editorconfig see https://aka.ms/editorconfigdocs
###############################
# Core EditorConfig Options #
###############################
# All files
[*]
end_of_line = crlf
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
# Code files
[*.{cs,csx,fs,fsx,vb,vbx}]
indent_size = 4
charset = utf-8-bom
# Project files
[*.{csproj,fsproj,vbproj,shproj,projitems}]
indent_size = 2
charset = utf-8-bom
###############################
# F# Coding Conventions #
###############################
[*.{fs,fsx}]
max_line_length = 120
fsharp_semicolon_at_end_of_line = false
fsharp_space_before_parameter = true
fsharp_space_before_lowercase_invocation = true
fsharp_space_before_uppercase_invocation = true
fsharp_space_before_class_constructor = true
fsharp_space_before_member = true
fsharp_space_before_colon = true
fsharp_space_after_comma = true
fsharp_space_before_semicolon = false
fsharp_space_after_semicolon = true
fsharp_indent_on_try_with = false
fsharp_space_around_delimiter = true
fsharp_max_if_then_else_short_width = 80
fsharp_max_infix_operator_expression = 80
fsharp_max_record_width = 80
fsharp_max_record_number_of_items = 1
fsharp_record_multiline_formatter = character_width
fsharp_max_array_or_list_width = 80
fsharp_max_array_or_list_number_of_items = 10
fsharp_array_or_list_multiline_formatter = character_width
fsharp_max_value_binding_width = 80
fsharp_max_function_binding_width = 80
fsharp_max_dot_get_expression_width = 40
fsharp_multiline_block_brackets_on_same_column = false
fsharp_newline_between_type_definition_and_members = false
fsharp_keep_if_then_in_same_line = false
fsharp_max_elmish_width = 80
fsharp_single_argument_web_mode = false
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_strict_mode = false

0 comments on commit fdb5ff4

Please sign in to comment.