Skip to content

Commit

Permalink
Add fantomas configuration file
Browse files Browse the repository at this point in the history
Source will be formatted using this command:
fantomas --config fantomas-config.json --recurse src/GWallet.Backend/

This version of fantomas doesn't crash anymore when formatting it:
dotnet tool install -g fantomas-tool --add-source https://www.myget.org/F/fantomas/api/v3/index.json --framework netcoreapp3.1 --version 4.0.0-alpha-008-alpha-190

Last issues left to fix (by order of priority, top is more important):

- fsprojects/fantomas#898 (comment)

- fsprojects/fantomas#907

- fsprojects/fantomas#905

- fsprojects/fantomas#908

- fsprojects/fantomas#712

- fsprojects/fantomas#904
  • Loading branch information
knocte committed Jun 11, 2020
1 parent 0085bc0 commit 04c48d5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions fantomas-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"IndentSpaceNum":4,
"PageWidth":80,
"SemicolonAtEndOfLine":false,
"SpaceBeforeParameter":true,
"SpaceBeforeLowercaseInvocation":true,
"SpaceBeforeUppercaseInvocation":true,
"SpaceBeforeClassConstructor":true,
"SpaceBeforeMember":true,
"SpaceBeforeColon":false,
"SpaceAfterComma":true,
"SpaceBeforeSemicolon":false,
"SpaceAfterSemicolon":true,
"IndentOnTryWith":true,
"SpaceAroundDelimiter":true,
"MaxIfThenElseShortWidth":0,
"MaxRecordWidth":0,
"MaxFunctionBindingWidth":0,
"MaxValueBindingWidth":80,
"MultilineBlockBracketsOnSameColumn":true,
"NewlineBetweenTypeDefinitionAndMembers":true,
"KeepIfThenInSameLine":true,
"StrictMode":false
}

0 comments on commit 04c48d5

Please sign in to comment.