Skip to content

Commit

Permalink
update fantomas
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAngryByrd committed Sep 15, 2023
1 parent cdb90c2 commit b08ad3b
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
]
},
"fantomas": {
"version": "5.2.2",
"version": "6.2.0",
"commands": [
"fantomas"
]
Expand All @@ -33,4 +33,4 @@
]
}
}
}
}
42 changes: 37 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,61 @@ root = true
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
end_of_line = lf

[*.yml]
indent_size = 2

[*.{fs,fsi,fsx,config}]
# https://fsprojects.github.io/fantomas/docs/end-users/Configuration.html
charset = utf-8
trim_trailing_whitespace = true
max_line_length=100
fsharp_multiline_block_brackets_on_same_column=true
fsharp_experimental_stroustrup_style=true
fsharp_multiline_bracket_style = stroustrup
fsharp_keep_max_number_of_blank_lines=2
fsharp_max_array_or_list_number_of_items=1
fsharp_array_or_list_multiline_formatter=number_of_items
fsharp_max_infix_operator_expression=10
fsharp_multi_line_lambda_closing_newline=true


# Visual Studio Solution Files
[*.sln]
indent_style = tab

# XML project files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj,sfproj}]
indent_size = 2

# XML config files
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
indent_size = 2

# Markdown Files
[*.{md,mdx}]
trim_trailing_whitespace = false

# Bash Files
[*.{sh}]
end_of_line = lf

# Batch Files
[*.{cmd,bat}]
end_of_line = crlf

# Powershell Files
[*.{ps1, psm1}]
end_of_line = crlf

# Paket files
[paket.*]
trim_trailing_whitespace = true
indent_size = 2

[*.paket.references]
trim_trailing_whitespace = true
indent_size = 2


# YAML Files
[*.{yml,yaml}]
indent_size = 2
indent_style = space

0 comments on commit b08ad3b

Please sign in to comment.