File tree 3 files changed +17
-14
lines changed
3 files changed +17
-14
lines changed Original file line number Diff line number Diff line change 1
1
root = true
2
2
3
- [* ]
3
+ [* .{fs,fsi,fsx} ]
4
4
end_of_line = lf
5
- insert_final_newline = true
6
- indent_style = space
7
- indent_size = 4
8
- trim_trailing_whitespace = true
9
-
10
- [* .{fs,fsx,fsi} ]
11
- max_line_length = 100
12
5
fsharp_alternative_long_member_definitions = true
13
6
fsharp_multi_line_lambda_closing_newline = true
14
7
fsharp_multiline_bracket_style = aligned
15
8
fsharp_keep_max_number_of_blank_lines = 1
16
9
fsharp_align_function_signature_to_indentation = true
17
- fsharp_max_if_then_else_short_width = 0
10
+ fsharp_experimental_keep_indent_in_branch = true
11
+ fsharp_bar_before_discriminated_union_declaration = true
18
12
19
- fsharp_experimental_elmish = true
20
- fsharp_record_multiline_formatter = number_of_items
21
- fsharp_array_or_list_multiline_formatter = number_of_items
22
- fsharp_max_record_number_of_items = 0
23
- fsharp_max_array_or_list_number_of_items = 0
13
+ # Expecto looks a bit nicer with stroustrup
14
+ [tests/** /* .fs ]
15
+ fsharp_multiline_bracket_style = stroustrup
Original file line number Diff line number Diff line change
1
+ # Automatically normalize line endings
2
+ * text =auto
3
+
4
+ # Always use lf for F# files
5
+ * .fs text eol =lf
6
+ * .fsx text eol =lf
7
+ * .fsi text eol =lf
Original file line number Diff line number Diff line change 12
12
- uses : actions/checkout@v2
13
13
- name : Setup .NET Core
14
14
uses : actions/setup-dotnet@v4
15
+ - name : Tool restore
16
+ run : dotnet tool restore
17
+ - name : Format Check
18
+ run : dotnet fantomas . --check || echo "The code was not formatted, run `dotnet fantomas .` to format all code."
15
19
- name : Restore
16
20
run : dotnet restore
17
21
- name : Run Build
You can’t perform that action at this time.
0 commit comments